-
Notifications
You must be signed in to change notification settings - Fork 16
Make all Lmod-based shell initialisations more robust, add additional features to facilitate site integration #153
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
Open
ocaisa
wants to merge
29
commits into
EESSI:main
Choose a base branch
from
ocaisa:better_init
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
143341c
Make all shell initialisations more robust
ocaisa a428f68
Fix typo and tests
ocaisa 6b057e8
Merge branch 'main' into better_init
ocaisa c3d3159
See where the error is
ocaisa 1466e39
Merge branch 'better_init' of github.com:ocaisa/software-layer-script…
ocaisa 3692346
Add new capabilities and new tests
ocaisa 46c878f
Try to fix csg
ocaisa 3a6c117
csh has very short maximum length for envvar names, stick to <32 chars
ocaisa 785ae13
Some fancy new runners available!
ocaisa 61db941
Actually use the CPU override
ocaisa ec6f4e9
Merge branch 'main' into better_init
ocaisa dcce340
Use specific commit for assert.sh, also run tests on system with Lmod…
ocaisa 5e5ed24
Merge branch 'better_init' of github.com:ocaisa/software-layer-script…
ocaisa a97140a
Don't clobber an existing .cshrc
ocaisa d779b54
Add a sanity check to make sure module command works
ocaisa d91ded8
Set explicit MODULEPATH
ocaisa fc13853
No quotes on ~
ocaisa 7d621f1
Make test init script listen to EESSI_SOFTWARE_SUBDIR_OVERRIDE
ocaisa 78e286b
Remove copy/pasted comment
ocaisa 4d97256
Add licence and more extensive documentation
ocaisa 30a8f7c
Add some additional comments to the bash script
ocaisa 3b30931
Print some more details on first initialisation
ocaisa 43c372f
Add a module purge before doing the initialisation
ocaisa b86fdfa
Merge remote-tracking branch 'upstream/main' into better_init
ocaisa 4499459
Merge branch 'main' into better_init
bedroge 994a8a1
Merge branch 'better_init' of github.com:ocaisa/software-layer-script…
ocaisa f3f5aef
Make shells that use PS1 update it by default
ocaisa 47f2833
Also check that it doesn't update PS1 when it shouldn't
ocaisa 9f2ec3e
Allow the test to succeed even when run manually
ocaisa 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| setenv("INSIDE_GITHUB_ACTIONS", "true") | ||
| -- Interfere with PATH so Lmod keeps a record | ||
| prepend_path("PATH", "/snap/bin") |
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,3 @@ | ||
| setenv("INSIDE_GITHUB_ACTIONS", "true") | ||
| -- Interfere with PATH so Lmod keeps a record | ||
| prepend_path("PATH", "/snap/bin") |
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
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.