Skip to content

Commit ec71884

Browse files
committed
Merge branch 'main' into 2023.06-a64fx-2022b-eb482-apps-2
2 parents 5b83135 + 91c40fa commit ec71884

142 files changed

Lines changed: 117 additions & 10828 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/modules/fake_module.lua

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/scripts/test_init_scripts.sh

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/test-software.eessi.io.yml

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,26 @@ jobs:
5555
with:
5656
fetch-depth: 0 # Fetch all history for all branches and tags
5757

58+
- name: Clone EESSI/software-layer-scripts repository
59+
run: |
60+
git clone https://github.com/EESSI/software-layer-scripts
61+
62+
- name: Show host system info
63+
run: |
64+
echo "/proc/cpuinfo:"
65+
cat /proc/cpuinfo
66+
echo
67+
echo "lscpu:"
68+
lscpu
69+
5870
- name: Mount EESSI CernVM-FS pilot repository
5971
uses: cvmfs-contrib/github-action-cvmfs@55899ca74cf78ab874bdf47f5a804e47c198743c # v4.0
6072
with:
6173
cvmfs_config_package: https://github.com/EESSI/filesystem-layer/releases/download/latest/cvmfs-config-eessi_latest_all.deb
6274
cvmfs_http_proxy: DIRECT
6375
cvmfs_repositories: software.eessi.io
6476

65-
- name: Test check_missing_installations.sh script
77+
- name: Check for missing installlations
6678
run: |
6779
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
6880
source /cvmfs/software.eessi.io/versions/${EESSI_VERSION}/init/bash
@@ -82,7 +94,7 @@ jobs:
8294
module load EasyBuild/${eb_version}
8395
which eb
8496
eb --version
85-
./check_missing_installations.sh ${easystack_file}
97+
software-layer-scripts/check_missing_installations.sh ${easystack_file}
8698
ec=$?
8799
if [[ ${ec} -ne 0 ]]; then echo "missing installations found for ${easystack_file}!" >&2; exit ${ec}; fi
88100
done
@@ -102,14 +114,17 @@ jobs:
102114
module load EasyBuild/${eb_version}
103115
which eb
104116
eb --version
105-
./check_missing_installations.sh ${easystack_file}
117+
software-layer-scripts/check_missing_installations.sh ${easystack_file}
106118
ec=$?
107119
if [[ ${ec} -ne 0 ]]; then echo "missing installations found for ${easystack_file}!" >&2; exit ${ec}; fi
108120
done
109121
module unuse ${EESSI_SOFTWARE_PATH}/accel/${accel}/modules/all
110122
done
111123
fi
112124
125+
# make sure that Lmod cache file is present
126+
ls -l ${EESSI_SOFTWARE_PATH}/.lmod/cache/spiderT.lua
127+
113128
- name: Test check_missing_installations.sh with missing package (GCC/8.3.0)
114129
run: |
115130
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
@@ -134,35 +149,10 @@ jobs:
134149
# boolean logic), hence when the script exits 0 if no package was
135150
# missing it is interpreted as true, thus the test did not capture
136151
# the missing package
137-
if ./check_missing_installations.sh ${easystack_file}; then
152+
if software-layer-scripts/check_missing_installations.sh ${easystack_file}; then
138153
echo "did NOT capture missing package; test FAILED"
139154
exit 1
140155
else
141156
echo "captured missing package; test PASSED"
142157
exit 0
143158
fi
144-
145-
- name: Check that EasyBuild hook is up to date
146-
if: ${{ github.event_name == 'pull_request' }}
147-
run: |
148-
FILE="eb_hooks.py"
149-
TEMP_FILE="$(mktemp)"
150-
151-
# Fetch base branch
152-
git fetch origin ${{ github.base_ref }}
153-
154-
# Check if the hooks has changed in the PR
155-
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q "^$FILE$"; then
156-
echo "Hooks changed in PR. Using PR version."
157-
cp "$FILE" "$TEMP_FILE"
158-
else
159-
echo "File not changed in PR. Using default branch version."
160-
git show origin/${{ github.base_ref }}:$FILE > "$TEMP_FILE"
161-
fi
162-
163-
# Compare the hooks to what is shipped in the repository
164-
# (it is overkill, but harmless, to do this for every architecture)
165-
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
166-
source /cvmfs/software.eessi.io/versions/${EESSI_VERSION}/init/bash
167-
module load EESSI-extend
168-
diff "$TEMP_FILE" "$EASYBUILD_HOOKS"

.github/workflows/test_compare_stacks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
2-
name: Check for discrepencies between software stacks in software.eessi.io
2+
name: Check for discrepancies between software stacks in software.eessi.io
33
on:
44
push:
55
branches: [ "*-software.eessi.io" ]

.github/workflows/test_eessi_container_script.yml

Lines changed: 0 additions & 141 deletions
This file was deleted.

.github/workflows/test_licenses.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)