Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
9766267
also install SciPy-bundle-2021.05-foss-2021a.eb into 2021.12 pilot
boegel Dec 16, 2021
596ab7a
update hooks to add --disable-psm3 when building libfabric on x86_64 …
boegel Dec 16, 2021
7adc076
reorder software alphabetically in easystack file for 2021.12
boegel Jan 6, 2022
1e3d482
add SciPy-bundle with foss/2021a to easystack file for 2021.12 EESSI …
boegel Jan 6, 2022
e5d67b2
use enhanced Perl easyblock to fix problem with excessive long sheban…
boegel Jan 7, 2022
f531873
Merge branch 'main' into 2021.12_2021a
boegel Jan 16, 2022
5662829
Merge branch 'main' into 2021.12_2021a
boegel Mar 9, 2022
1659ca9
Adjustments to scripts necessary for bot PR24
truib Sep 9, 2022
9d06a89
alternative to detect cpu arch for path
hmeiland Sep 15, 2022
898b4d5
adding support for amd detection
hmeiland Sep 15, 2022
46e0c07
document example lscpu outputs which is input to archdetect
hmeiland Sep 15, 2022
eb9f891
add arm ampere altra lscpu example
hmeiland Sep 15, 2022
2c561a4
allow overrides for unittesting and make cpu_vendor more readable
hmeiland Sep 15, 2022
0dd9a2a
adding ref files for lscpu for unit tests
hmeiland Sep 15, 2022
c51613d
correct variable for positive check
hmeiland Sep 15, 2022
d318874
add testcases for intel cpuinfo
hmeiland Sep 15, 2022
978e16a
add testcases for intel and amd cpuinfo
hmeiland Sep 15, 2022
4a9fc68
add power9 detection
hmeiland Sep 15, 2022
a7fc80a
add power9 test
hmeiland Sep 15, 2022
636ef94
update matrix
hmeiland Sep 15, 2022
78f76ff
remove matrix
hmeiland Sep 15, 2022
09d822d
remove matrix
hmeiland Sep 15, 2022
e821c4e
code cleanup
hmeiland Sep 15, 2022
c7d3e2b
code cleanup
hmeiland Sep 15, 2022
36e8fa4
code cleanup
hmeiland Sep 15, 2022
e796e4f
code cleanup
hmeiland Sep 15, 2022
572143e
code cleanup
hmeiland Sep 15, 2022
b3c9b13
add aarch64 cpuinfo test data
hmeiland Sep 15, 2022
e8341a6
add unset for feature vars
hmeiland Sep 15, 2022
4914394
add CI workflow to test cpu_archdetect.yml
boegel Sep 15, 2022
0aab86f
ignore case in cpuinfo to allow CentOS & Ubuntu
hmeiland Sep 15, 2022
3ce8a01
re-order power and add aarch64 detection
hmeiland Sep 16, 2022
30925e6
add aarch64 tests
hmeiland Sep 16, 2022
e42e0a6
move to features for aarch64
hmeiland Sep 16, 2022
51ddaa7
add support for aarch64 neoverse-n1
hmeiland Sep 16, 2022
38194b8
add support for aarch64 neoverse-n1
hmeiland Sep 16, 2022
d891813
add support for aarch64 neoverse-n1
hmeiland Sep 16, 2022
0cd0af4
add architecture-cpu comments
hmeiland Sep 16, 2022
28c7b23
re-order aarch64 output and remove graviton
hmeiland Sep 16, 2022
ed42876
re-order aarch64 output and remove graviton
hmeiland Sep 16, 2022
d0fdf4b
remove graviton from test
hmeiland Sep 16, 2022
2899960
move from /bin/bash to /usr/bin/env bash
hmeiland Sep 16, 2022
bbac252
synch output for archdetect / archspec
hmeiland Sep 16, 2022
a5b4e8e
rewrite by Alex Domingo (lexming)
hmeiland Sep 19, 2022
0d1daf4
move test to new code
hmeiland Sep 19, 2022
ce2daca
redirecting output to err, keeping final echo
hmeiland Sep 19, 2022
1d71095
adding power to arch_detect
hmeiland Sep 19, 2022
70be449
prep arch_detect for other functions, now: cpupath
hmeiland Sep 19, 2022
a797d6d
renew tests schema
hmeiland Sep 20, 2022
8726b40
allow multiple tests scenarios
hmeiland Sep 20, 2022
037abce
allow multiple tests scenarios
hmeiland Sep 20, 2022
a31ce0e
allow multiple tests scenarios
hmeiland Sep 20, 2022
95ae920
renewing tests
hmeiland Sep 20, 2022
c3329d5
renew tests
hmeiland Sep 20, 2022
4e2033e
roll-over to new code for eessi_archdetect.sh
hmeiland Sep 20, 2022
3eddc78
change hardcoded bash
hmeiland Sep 20, 2022
818ecad
move CPU arch specifications to separate spec files
lexming Sep 21, 2022
6726288
fix execution from any location in the file system
lexming Sep 21, 2022
d4d9681
fix log messages ibeing printed in standard output
lexming Sep 21, 2022
24767eb
Merge pull request #2 from lexming/feature-archdetect
hmeiland Sep 21, 2022
50b46ca
standarize log formatting by adding logging function
lexming Sep 26, 2022
c74bb8e
add version tag and option to print it
lexming Sep 26, 2022
025da07
Merge pull request #3 from lexming/feature-archdetect
hmeiland Sep 30, 2022
806e1fb
be more specific on skylake_avx512 to avoid KNL confusion
hmeiland Oct 2, 2022
e4c4f17
Merge pull request #184 from trz42/modifications-for-eessi-bot-sw-lay…
boegel Oct 7, 2022
f265eea
remove check for support for extended attributes from script for usin…
boegel Oct 7, 2022
441ff01
Merge pull request #189 from boegel/drop_attr_check
trz42 Oct 7, 2022
5fa6b53
enhance install script to check exit code when installing EasyBuild
boegel Oct 15, 2022
08fa548
Merge pull request #190 from boegel/install_easybuild_check_exit_code
trz42 Oct 17, 2022
6baa8e4
add Nextflow
jpecar Nov 7, 2022
071067e
actually add .eb
jpecar Nov 7, 2022
b80be7a
use merged PRs to fix installation of GCCcore/10.3.0 with recent kern…
boegel Nov 7, 2022
4226f45
Merge branch 'main' into 2021.12_2021a
boegel Nov 7, 2022
65812ef
use updated EasyBuildMeta easyblock to install EasyBuild 4.5.1
boegel Nov 7, 2022
2d77d74
Update init/eessi_environment_variables
hmeiland Nov 8, 2022
f4f2fb4
Merge pull request #194 from jpecar/nextflow
boegel Nov 8, 2022
e1c42b4
Merge branch 'main' into 2021.12_2021a
boegel Nov 8, 2022
83b283c
fix alphabetical sorting in eessi-2021.12.yml
boegel Nov 8, 2022
92233a9
Merge pull request #187 from hmeiland/feature-archdetect
boegel Nov 8, 2022
79a5804
take out nameref of update_arch_specs function to add/keep support fo…
hmeiland Nov 9, 2022
15b4077
adding test for override variable
hmeiland Nov 9, 2022
deb34a7
add OSU-Micro-Benchmarks/5.7.1-gompi-2021a to EESSI pilot 2021.12
boegel Nov 9, 2022
85e2ed6
enhance EasyBuild hooks to fix installation of MetaBAT in EESSI
boegel Nov 12, 2022
64e553b
Merge pull request #200 from hmeiland/feature-archdetect
boegel Nov 12, 2022
0f83623
Update actions to avoid deprecation errors
ocaisa Dec 2, 2022
a7c8f16
Update tests.yml
ocaisa Dec 2, 2022
948121a
Merge pull request #205 from EESSI/ocaisa-patch-2
bedroge Dec 2, 2022
9b553fa
Update tests.yml
ocaisa Dec 2, 2022
d6eeda6
Update tests_archdetect.yml
ocaisa Dec 2, 2022
a6072f8
Update tests_init.yml
ocaisa Dec 2, 2022
d10b2bf
Update tests_scripts.yml
ocaisa Dec 2, 2022
9faaf9b
Merge pull request #206 from EESSI/ocaisa-patch-2
bedroge Dec 2, 2022
94147e3
Add CI security action
ocaisa Dec 8, 2022
d48fbdf
remove debug print statements in eb_hooks.py
boegel Dec 14, 2022
6b4afb5
Merge pull request #203 from boegel/MetaBAT
ocaisa Dec 14, 2022
e2fe07e
Merge branch 'main' into 2021.12_2021a
ocaisa Dec 14, 2022
edaae9d
Whoops
ocaisa Dec 14, 2022
3df4423
Merge pull request #160 from boegel/2021.12_2021a
ocaisa Dec 14, 2022
cec7938
use correct OpenBLAS easyblock to install OpenBLAS/0.3.15-GCC-10.3.0 …
boegel Dec 15, 2022
e942320
Merge pull request #211 from boegel/SciPy-bundle_ppc64le_generic
ocaisa Dec 17, 2022
50c851a
Merge branch 'main' into OMB_gompi-2021a
boegel Jan 5, 2023
dbdad85
Merge pull request #209 from ocaisa/harden_ci
bedroge Jan 6, 2023
814d149
Merge pull request #201 from boegel/OMB_gompi-2021a
bedroge Jan 6, 2023
d3ceed5
flesh out script for checking on missing installations + test it in CI
boegel Jan 13, 2023
cc15fd5
fix issues in CI workflow raised by OSSF scorecard
boegel Jan 13, 2023
a7909ee
add license header + reuse $TMPDIR if set + make sure that $EESSI_PIL…
boegel Jan 14, 2023
5c94074
rename $TMPDIR to $LOCAL_TMPDIR in check_missing_installations.sh, si…
boegel Jan 14, 2023
19276ad
Merge pull request #218 from boegel/check_missing_installations_script
trz42 Jan 14, 2023
61d8e8f
use newer build container (Debian 11 w/ fuse-overlayfs 1.9)
boegel Jan 14, 2023
f66397e
install Apptainer in CI workflow used to test build_container.sh script
boegel Jan 14, 2023
cce3f2f
Merge pull request #219 from boegel/debian11_build_container
trz42 Jan 14, 2023
8fbae4a
don't blindly overwrite $EESSI_SOFTWARE_SUBDIR_OVERRIDE in EESSI-pilo…
boegel Jan 14, 2023
9778c10
pass down $EESSI_SOFTWARE_SUBDIR_OVERRIDE into build container and Pr…
boegel Jan 14, 2023
d67e55c
Merge pull request #220 from boegel/EESSI_SOFTWARE_SUBDIR_OVERRIDE
trz42 Jan 14, 2023
511f16f
Merge branch 'main' into pull_from_EESSI_main_15jan2023
trz42 Jan 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.

name: Scorecards supply-chain security
on:
# For Branch-Protection check. Only the default branch is supported. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
branch_protection_rule:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: '25 15 * * 3'
push:
branches: [ "main" ]
pull_request:
branches:
- main

# Declare default permissions as read only.
permissions: read-all

jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Needed to publish results and get a badge (see publish_results below).
id-token: write
# Uncomment the permissions below if installing in a private repository.
# contents: read
# actions: read

steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6
with:
results_file: results.sarif
results_format: sarif
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
# - you want to enable the Branch-Protection check on a *public* repository, or
# - you are installing Scorecards on a *private* repository
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
# repo_token: ${{ secrets.SCORECARD_TOKEN }}

# Public repositories:
# - Publish results to OpenSSF REST API for easy access by consumers
# - Allows the repository to include the Scorecard badge.
# - See https://github.com/ossf/scorecard-action#publishing-results.
# For private repositories:
# - `publish_results` will always be set to `false`, regardless
# of the value entered here.
publish_results: true

# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@807578363a7869ca324a79039e6db9c843e0e100 # v2.1.27
with:
sarif_file: results.sarif
43 changes: 43 additions & 0 deletions .github/workflows/test_eessi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Tests relying on having EESSI pilot repo mounted
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
eessi_pilot_repo:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
EESSI_VERSION:
- 2021.12
EESSI_SOFTWARE_SUBDIR:
- aarch64/generic
- aarch64/graviton2
- aarch64/graviton3
- x86_64/amd/zen2
- x86_64/amd/zen3
- x86_64/intel/haswell
- x86_64/intel/skylake_avx512
- x86_64/generic
steps:
- name: Check out software-layer repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

- name: Mount EESSI CernVM-FS pilot repository
uses: cvmfs-contrib/github-action-cvmfs@d4641d0d591c9a5c3be23835ced2fb648b44c04b # v3.1
with:
cvmfs_config_package: https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
cvmfs_http_proxy: DIRECT
cvmfs_repositories: pilot.eessi-hpc.org

- name: Test check_missing_installations.sh script
run: |
source /cvmfs/pilot.eessi-hpc.org/versions/${{matrix.EESSI_VERSION}}/init/bash
module load EasyBuild
eb --version
export EESSI_PREFIX=/cvmfs/pilot.eessi-hpc.org/versions/${{matrix.EESSI_VERSION}}
export EESSI_OS_TYPE=linux
export EESSI_SOFTWARE_SUBDIR=${{matrix.EESSI_SOFTWARE_SUBDIR}}
env | grep ^EESSI | sort
./check_missing_installations.sh
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Tests
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9, '3.10']
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

- name: set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: ${{matrix.python}}
architecture: x64
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/tests_archdetect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Tests for eessi_archdetect.sh
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
proc_cpuinfo:
- x86_64/intel/haswell/archspec-linux-E5-2680-v3
- x86_64/intel/skylake_avx512/archspec-linux-6132
- x86_64/amd/zen2/Azure-CentOS7-7V12
- x86_64/amd/zen3/Azure-CentOS7-7V73X
- ppc64le/power9le/unknown-power9le
- aarch64/arm/neoverse-n1/Azure-Ubuntu20-Altra
- aarch64/arm/neoverse-n1/AWS-awslinux-graviton2
- aarch64/arm/neoverse-v1/AWS-awslinux-graviton3
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

- name: test eessi_archdetect.sh
run: |
export EESSI_MACHINE_TYPE=${{matrix.proc_cpuinfo}}
export EESSI_MACHINE_TYPE=${EESSI_MACHINE_TYPE%%/*}
export EESSI_PROC_CPUINFO=./tests/archdetect/${{matrix.proc_cpuinfo}}.cpuinfo
CPU_ARCH=$(./init/eessi_archdetect.sh cpupath)
if [[ $CPU_ARCH == "$( cat ./tests/archdetect/${{matrix.proc_cpuinfo}}.output )" ]]; then
echo "Test for ${{matrix.proc_cpuinfo}} PASSED: $CPU_ARCH" >&2
else
echo "Test for ${{matrix.proc_cpuinfo}} FAILED: $CPU_ARCH" >&2
exit 1
fi
9 changes: 6 additions & 3 deletions .github/workflows/tests_init.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Tests for init scripts
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9, '3.10']
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

- name: set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: ${{matrix.python}}
architecture: x64
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/tests_scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,26 @@ on:
- run_in_compat_layer_env.sh
- utils.sh
- update_lmod_cache.sh
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

# see https://github.com/apptainer/singularity/issues/5390#issuecomment-899111181
- name: install Singularity
- name: install Apptainer
run: |
sudo apt-get install alien
alien --version
singularity_rpm=$(curl --silent -L https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/s/ | grep singularity | sed 's/.*\(singularity[0-9._a-z-]*.rpm\).*/\1/g')
curl -OL https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/s/$singularity_rpm
sudo alien -d $singularity_rpm
sudo apt install ./singularity*.deb
apptainer_rpm=$(curl --silent -L https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/a/ | grep 'apptainer-[0-9]' | sed 's/.*\(apptainer[0-9._a-z-]*.rpm\).*/\1/g')
curl -OL https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/a/$apptainer_rpm
sudo alien -d $apptainer_rpm
sudo apt install ./apptainer*.deb
apptainer --version
# also check whether 'singularity' command is still provided by Apptainer installation
singularity --version

- name: test install_software_layer.sh script
Expand Down
Loading