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

Add bot/test.sh script and a generic test_compatibility_layer.sh script #213

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

bedroge
Copy link
Collaborator

@bedroge bedroge commented Feb 4, 2025

This adds a bot/test.sh script that lets the bot run the ReFrame tests on top of a compatibility layer that was just built, and also a bot/check-test.sh script that makes it report the test results back to the PR. The latter is just a copy of the one that we already use for the software layer.

To make the testing a bit easier and also allow others to easily run the tests, I've also added a test_compatibility_layer.sh script: this script is similar to the existing install_compatibility_layer.sh and runs the ReFrame tests with an existing or (temporary) pip-installed ReFrame on top of any compatibility layer that is available.

Finally, it makes a small change to the bot/build.sh script as well to fix an issue with the version number being used, in the same way as I'm doing it for the test step: the job_version variable is currently always set to 2023.06 by the bot, even though the Ansible settings may contain another value. That doesn't really make sense to me, and this PR basically just ignores the job_version and uses the value set in the Ansible settings. That allows you to open a PR and easily test things for a new EESSI version by just adjusting Ansible's default/main.yml file, instead of having to change the bot configuration.

All of this has been tested in #209, more specifically in #209 (comment).

Copy link

eessi-bot bot commented Feb 4, 2025

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

  • architectures: x86_64/generic, x86_64/intel/haswell, x86_64/intel/sapphire_rapids, 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-software, eessi.io-2023.06-compat

Copy link

eessi-bot bot commented Feb 4, 2025

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

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

@bedroge bedroge added the enhancement New feature or request label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant