Skip to content

Move supported CPU/accelerator targets per EESSI version into a TOML file for easier reuse - #1745

Merged
ocaisa merged 6 commits into
EESSI:mainfrom
casparvl:separate_eessi_targets_list
Oct 6, 2026
Merged

ocaisa merged 6 commits into
EESSI:mainfrom
casparvl:separate_eessi_targets_list

Conversation

@casparvl

@casparvl casparvl commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

The list of supported CPU and accelerator targets per EESSI version was embedded as env variables in test-software.eessi.io.yml. Move it to .github/workflows/eessi_targets.toml so it can be reused by other workflows and scripts (e.g. a check on the bot's build status), without duplicating it.

Marked as Draft since we should probably first add something in an easystack file, and see if the workflows still run correctly, before reviewing / merging is even an option.

…file

The list of supported CPU and accelerator targets per EESSI version was embedded
as env variables in test-software.eessi.io.yml. Move it to
.github/workflows/eessi_targets.json so it can be reused by other workflows and
scripts (e.g. a check on the bot's build status), without duplicating it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@eessi-bot-sigma2-nris

Copy link
Copy Markdown

Instance eessi-bot-sigma2 is configured to build on:

  • Node type cpu_zen5:

    • OS: linux
    • CPU architecture: x86_64/amd/zen5
    • Repositories: ['eessi.io-2025.06-compat', 'eessi.io-2025.06-software', 'eessi.io-2026.06-compat', 'eessi.io-2026.06-software']
  • Node type gpu_gh200:

    • OS: linux
    • CPU architecture: aarch64/nvidia/grace
    • Repositories: ['eessi.io-2023.06-compat', 'eessi.io-2023.06-software', 'eessi.io-2025.06-compat', 'eessi.io-2025.06-software', 'eessi.io-2026.06-compat', 'eessi.io-2026.06-software']

Caspar van Leeuwen and others added 2 commits October 5, 2026 16:06
yq infers its output format from the input file extension, so reading a .json
file produced quoted JSON strings (e.g. "x86_64/amd/zen2"), which broke the
CPU target detection. jq -r prints raw strings.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…facts

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@casparvl

casparvl commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator Author

Seems to work ok with fb6d757 , but it's hard to check since the output is redirected to a log file - so I can't actually verify which accelerators it loops over. 9d1c1ce will upload those logs for temporary (14-day) retention, so I can at least have a look at them.

@casparvl

casparvl commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator Author

Logs can now be found in https://github.com/EESSI/software-layer/actions/runs/37325488600?pr=1745 (for the next 14 days). Seems to work completely as intended: I see all of the expected CPU targets for the missing-installation-logs-2025.06, and if I check e.g. the zen2 log, I see all the accelerator targets being checked as well.

@casparvl
casparvl marked this pull request as ready for review October 5, 2026 15:32

@ocaisa ocaisa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I lean towards yaml just because then we can add comments.

I don't see much point in keeping all the output as artefacts

Comment thread .github/workflows/eessi_targets.json Outdated
Comment thread .github/workflows/eessi_targets.json Outdated
Comment thread .github/workflows/eessi_targets.json Outdated
Comment thread .github/workflows/test-software.eessi.io.yml
Caspar van Leeuwen and others added 2 commits October 6, 2026 14:27
TOML is parseable from Python's standard library (tomllib, 3.11+) and from the
shell with yq, and unlike JSON it allows comments. yq is called with explicit
input/output formats (-p toml -o yaml) so the output is raw strings, rather
than relying on yq inferring the output format from the file extension.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@casparvl casparvl changed the title Move supported CPU/accelerator targets per EESSI version into a JSON file for easier reuse Move supported CPU/accelerator targets per EESSI version into a TOML file for easier reuse Oct 6, 2026
Comment thread .github/workflows/test-software.eessi.io.yml Outdated

@ocaisa ocaisa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM will just check the CI run and merge

@ocaisa

ocaisa commented Oct 6, 2026

Copy link
Copy Markdown
Member

Ah, indeed it is still working, it is catching problems caused by other ingestions happening! https://github.com/EESSI/software-layer/actions/runs/37466497312/job/112278793441

@ocaisa
ocaisa enabled auto-merge October 6, 2026 16:03
@ocaisa
ocaisa merged commit 2105761 into EESSI:main Oct 6, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

force-ci-checks Force missing software CI checks for a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants