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

initial version of bot/check-result.sh script #179

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

trz42
Copy link
Contributor

@trz42 trz42 commented Apr 10, 2023

More a proof-of-concept than a final/ready version. However, good enough to use it as a base for creating a new PR to let the bot build the compatibility layer and check the result of the building.

The script needs to be polished by removing stuff that isn't needed and also by running all the checks that are necessary to evaluate if a compatibility layer has been built successfully.

truib added 25 commits April 3, 2023 11:24
- scripts/utils.sh is borrowed from software-layer. it includes various functions
  to be used with other scripts in this repo.
- scripts/cfg_files.sh is borrowed from software-layer. it provides functions to
  read a file that contains information about a job.
- changes to bot/build.sh:
  - added header, author, license
  - added assumptions
  - added set -e
  - source the above helper scripts
  - read job.cfg file
  - set core settings if needed: HTTP_PROXY, HTTPS_PROXY, LOCAL_TMP, LOAD_MODULES
  - expand LOCAL_TMP into STORAGE
  - load modules
  - obtain cpu_target_arch from job.cfg setting
  - bump eessi_version to 2023.04
  - calling install_compatibility_layer.sh: remove fixed local container, add
    storage option
- add arguments for resuming, retaining tmp and more verbose output
- extended and reformatted usage information
- source helper script scripts/utils.sh
- add support to resume a previous run given its temporary directory
- determine container runtime (singularity or apptainer)
- define env vars for both singularity and apptainer
- unset PKG_CONFIG_PATH before running ansible script
- only tar temporary directory if --retain-tmp option is given
- add message for how to resume a previous run
- added some debugging
- remove any existing virtualenv
- make sure ReFrame is installed
- left some more example debugging (could be cleaned up)
added

```ansible
  vars:
   ansible_python_interpreter: "{{ gentoo_prefix_path }}/usr/bin/python3"
```

to all tasks using communit.general.portage
@eessi-bot
Copy link

eessi-bot bot commented Apr 10, 2023

Instance eessi-bot-citc-aws is configured to build:

  • arch x86_64/generic for repo EESSI-pilot
  • arch x86_64/intel/haswell for repo EESSI-pilot
  • arch x86_64/intel/skylake_avx512 for repo EESSI-pilot
  • arch x86_64/amd/zen2 for repo EESSI-pilot
  • arch x86_64/amd/zen3 for repo EESSI-pilot
  • arch aarch64/generic for repo EESSI-pilot
  • arch aarch64/graviton2 for repo EESSI-pilot
  • arch aarch64/graviton3 for repo EESSI-pilot

@bedroge
Copy link
Collaborator

bedroge commented Nov 20, 2023

@trz42 Since #191 contains a bot/check.sh, I guess this PR can be closed?

@boegel boegel added the 2023.06-software.eessi.io 2023.06 version of software.eessi.io label Jan 20, 2024
@boegel
Copy link
Contributor

boegel commented Jan 20, 2024

@trz42 ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2023.06-software.eessi.io 2023.06 version of software.eessi.io
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants