[WIP] Scripts for generating easystacks based on an existing stack#1035
[WIP] Scripts for generating easystacks based on an existing stack#1035bedroge wants to merge 9 commits intoEESSI:2023.06-software.eessi.iofrom
Conversation
|
Instance
|
|
Instance
|
|
Instance
|
|
Instance
|
|
Instance
|
casparvl
left a comment
There was a problem hiding this comment.
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 |
|
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.