Skip to content
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

Streamline the checks for missing installations #795

Merged

Conversation

ocaisa
Copy link
Member

@ocaisa ocaisa commented Oct 18, 2024

This only checks the easystack files that are using the latest releases of EasyBuild (since this is our policy and there is little point in checking older easystacks over and over)

Copy link

eessi-bot bot commented Oct 18, 2024

Instance eessi-bot-mc-aws is configured to build for:

  • architectures: x86_64/generic, x86_64/intel/haswell, x86_64/intel/skylake_avx512, x86_64/amd/zen2, x86_64/amd/zen3, aarch64/generic, aarch64/neoverse_n1, aarch64/neoverse_v1
  • repositories: eessi.io-2023.06-compat, eessi-hpc.org-2023.06-software, eessi-hpc.org-2023.06-compat, eessi.io-2023.06-software

Instance boegel-bot-deucalion is configured to build for:

  • architectures: aarch64/a64fx
  • repositories: eessi.io-2023.06-software

Copy link

eessi-bot bot commented Oct 18, 2024

Instance eessi-bot-mc-azure is configured to build for:

  • architectures: x86_64/amd/zen4
  • repositories: eessi-hpc.org-2023.06-software, eessi-hpc.org-2023.06-compat, eessi.io-2023.06-software, eessi.io-2023.06-compat

Copy link
Collaborator

@trz42 trz42 left a comment

Choose a reason for hiding this comment

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

Looks fine mostly. A few suggestions for the script only_latest_easystacks.sh. Might also be worthwhile to put curly brackets around all variable names.

The one rebuild easystack file that was moved, it was not necessary for this PR, just something you noted?

@@ -0,0 +1,42 @@
#!/bin/bash
EESSI_VERSION=${EESSI_VERSION:-"2023.06"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

If you source init/eessi_defaults you don't have to change the version here later.

Copy link
Member Author

@ocaisa ocaisa Oct 25, 2024

Choose a reason for hiding this comment

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

I wanted this to be configurable in CI via setting the envvar

Copy link
Member Author

Choose a reason for hiding this comment

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

The value here is actually set in the CI configuration, this is only here as a fall back in case someone explicitly calls this script for some reason

Copy link
Collaborator

Choose a reason for hiding this comment

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

Benefit of sourcing init/eessi_defaults is that one has to change the default in a single place only. In CI, one can set EESSI_VERSION_OVERRIDE before sourcing the defaults script.

Anyhow, I'll approve the PR.

.github/workflows/scripts/only_latest_easystacks.sh Outdated Show resolved Hide resolved
.github/workflows/scripts/only_latest_easystacks.sh Outdated Show resolved Hide resolved
@ocaisa
Copy link
Member Author

ocaisa commented Oct 31, 2024

@trz42 One rebuild easystack was moved because it was in the wrong location, it should have been under the accel subdirectory, the other had an inconsistent date stamp (just happened to see it)

Copy link
Collaborator

@trz42 trz42 left a comment

Choose a reason for hiding this comment

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

Looks good.

@trz42 trz42 merged commit 81d0746 into EESSI:2023.06-software.eessi.io Nov 11, 2024
50 checks passed
@riscv-eessi-io-bot
Copy link

PR merged! Moved [] to /home/eessibot/shared/trash_bin/EESSI/software-layer/2024.11.11

Copy link

eessi-bot bot commented Nov 11, 2024

PR merged! Moved [] to /project/def-users/SHARED/trash_bin/EESSI/software-layer/2024.11.11

1 similar comment
Copy link

eessi-bot bot commented Nov 11, 2024

PR merged! Moved [] to /project/def-users/SHARED/trash_bin/EESSI/software-layer/2024.11.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants