-
Notifications
You must be signed in to change notification settings - Fork 61
[WIP] Scripts for generating easystacks based on an existing stack #1035
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
[WIP] Scripts for generating easystacks based on an existing stack #1035
Conversation
Instance
|
Instance
|
Instance
|
Instance
|
Instance
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a general comment: the script should get some proper option parsing and --help. E.g. something like https://github.com/casparvl/convenience_scripts/blob/30e9be6d89cf74c6118152b180552a551f163fbe/git_cleanup#L10
…port spliting by duration
…l e.g. 4.8.2 with 4.8.2. Let's just see if that works
From what I've seen in #1037 (comment) all the bootstrapping done by It means that even regardless of what you'd set as I think your |
scripts/generate_easystacks_for_existing_stack/stack_to_json_parallel.sh
Outdated
Show resolved
Hide resolved
scripts/generate_easystacks_for_existing_stack/stack_to_json.sh
Outdated
Show resolved
Hide resolved
I'm now in the stage where I have to play catch-up with the rest of the architectures after we've ingested all the initially generated EasyStacks. My main issue is that I essentially have to regenerate the easystacks, figure out from the last few what is still missing, then separate those out. It's not a big deal, but it could be nice if we can improve the script to also look at e.g. the |
@bedroge Can you retarget this pr to the https://github.com/EESSI/software-layer-scripts repo? |
See https://gitlab.com/eessi/support/-/issues/145.
The first script,
stack_to_json.sh
, allows you to generate a json file with all the build details of an existing stack (paths to easyconfigs, easyblocks, EB version used for the builds, etc), ordered by build time. It will output a list with items that look like:You can adjust the json as required, e.g. in order to move rebuilt apps up in the list (to match the original build time of the application, which we cannot determine automatically at the moment).
The second script,
json_to_easystacks.sh
, can then be used to generate a sequence of easystack files based on the json file, named like001-eb-X.Y.Z.yml
.