-
Notifications
You must be signed in to change notification settings - Fork 26
Add functionality for updating an existing compatibility layer #229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
519d591
Update trusted directories for glibc to leverage variable symlinks
ocaisa 86f27d5
Update `upload-artifact` action
ocaisa 561194d
only sync when the overlay config is changed
bedroge ba11c63
add sync handler
bedroge 63f0dd4
rename sync handler
bedroge 4f95707
call sync handler
bedroge d38d6dd
flush handlers
bedroge 7cf15ef
remove blank line
bedroge 3d15aa0
use ansible.builtin.meta
bedroge 2eb4c2a
add community.general dependency
bedroge 5647d51
galaxy requirements file
bedroge 0d18772
point to requirements file
bedroge 5e1db9b
correct path to requirements file
bedroge 5b415fa
move requirements file
bedroge bf193be
move requirements file
bedroge 419e3ce
move requirements file
bedroge 6151463
Merge branch 'main' of github.com:EESSI/compatibility-layer into upda…
bedroge f6e57eb
adjust trusted dirs test
bedroge 8f6d626
Merge branch 'main' of github.com:EESSI/compatibility-layer into upda…
bedroge c4d424f
handle new compat layers and updates
bedroge f493340
file that controls whether this is a new or updated compat layer
bedroge e97e3c5
use eessi_container.sh, allow for both new and updated compat layers
bedroge 9ac6650
reuse container image for tarball step
bedroge 62926fe
only do reprod step for new builds
bedroge fbffc5a
fix variable name
bedroge 6ced9cb
run reprod for updates as well, use timestamped dir, don't copy boots…
bedroge a82e84c
use reprod_dir everywhere
bedroge 46594b6
do an explicit sync of the overlays
bedroge 55ef3ea
Merge branch 'main' of github.com:EESSI/compatibility-layer into upda…
bedroge d617941
update portage files
bedroge b8e83b5
tarball step needs access rw, otherwise the overlay-upper is not used
bedroge 14040a3
add comments about handlers
bedroge d62e7b1
add comment about syncing overlays
bedroge 0e26085
add todo about code duplication
bedroge e38a2e4
comment about reprod dirs
bedroge 14c2e1b
comment about bootstrap script
bedroge 4f315d5
add comment about access rw in tarball step
bedroge 0c9a914
add comment about determining the EESSI version
bedroge d687287
modify comment about prefix/reframe env vars
bedroge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # | ||
| # Install roles and collections from the default Ansible Galaxy server. | ||
| # | ||
| --- | ||
| collections: | ||
| - name: community.general | ||
| version: '>=10.7.3' | ||
| ... |
6 changes: 3 additions & 3 deletions
6
ansible/playbooks/roles/compatibility_layer/defaults/main.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
ansible/playbooks/roles/compatibility_layer/handlers/main.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,15 @@ | ||
| # Handlers for this role | ||
| --- | ||
|
|
||
| # Handler for (re)generating locales | ||
| - name: Generate locales | ||
| ansible.builtin.command: locale-gen | ||
| changed_when: true | ||
|
|
||
| # Handler for syncing the Gentoo overlays; | ||
| # note that it's currently not used, as we do an explicit sync anyway in the playbook, | ||
| # but it could still be useful | ||
| - name: Sync overlays | ||
| community.general.portage: | ||
| sync: 'yes' | ||
| verbose: true | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.