Skip to content

remove scripts & co that have been relocated to EESSI/software-layer-scripts repository #1121

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

Merged
merged 4 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 0 additions & 3 deletions .github/workflows/modules/fake_module.lua

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/scripts/test_init_scripts.sh

This file was deleted.

37 changes: 8 additions & 29 deletions .github/workflows/test-software.eessi.io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
with:
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Clone EESSI/software-layer-scripts repository
run: |
git clone https://github.com/EESSI/software-layer-scripts

- name: Show host system info
run: |
echo "/proc/cpuinfo:"
Expand All @@ -70,7 +74,7 @@ jobs:
cvmfs_http_proxy: DIRECT
cvmfs_repositories: software.eessi.io

- name: Test check_missing_installations.sh script
- name: Check for missing installlations
run: |
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
source /cvmfs/software.eessi.io/versions/${EESSI_VERSION}/init/bash
Expand All @@ -90,7 +94,7 @@ jobs:
module load EasyBuild/${eb_version}
which eb
eb --version
./check_missing_installations.sh ${easystack_file}
software-layer-scripts/check_missing_installations.sh ${easystack_file}
ec=$?
if [[ ${ec} -ne 0 ]]; then echo "missing installations found for ${easystack_file}!" >&2; exit ${ec}; fi
done
Expand All @@ -110,7 +114,7 @@ jobs:
module load EasyBuild/${eb_version}
which eb
eb --version
./check_missing_installations.sh ${easystack_file}
software-layer-scripts/check_missing_installations.sh ${easystack_file}
ec=$?
if [[ ${ec} -ne 0 ]]; then echo "missing installations found for ${easystack_file}!" >&2; exit ${ec}; fi
done
Expand Down Expand Up @@ -145,35 +149,10 @@ jobs:
# boolean logic), hence when the script exits 0 if no package was
# missing it is interpreted as true, thus the test did not capture
# the missing package
if ./check_missing_installations.sh ${easystack_file}; then
if software-layer-scripts/check_missing_installations.sh ${easystack_file}; then
echo "did NOT capture missing package; test FAILED"
exit 1
else
echo "captured missing package; test PASSED"
exit 0
fi

- name: Check that EasyBuild hook is up to date
if: ${{ github.event_name == 'pull_request' }}
run: |
FILE="eb_hooks.py"
TEMP_FILE="$(mktemp)"

# Fetch base branch
git fetch origin ${{ github.base_ref }}

# Check if the hooks has changed in the PR
if git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q "^$FILE$"; then
echo "Hooks changed in PR. Using PR version."
cp "$FILE" "$TEMP_FILE"
else
echo "File not changed in PR. Using default branch version."
git show origin/${{ github.base_ref }}:$FILE > "$TEMP_FILE"
fi

# Compare the hooks to what is shipped in the repository
# (it is overkill, but harmless, to do this for every architecture)
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
source /cvmfs/software.eessi.io/versions/${EESSI_VERSION}/init/bash
module load EESSI-extend
diff "$TEMP_FILE" "$EASYBUILD_HOOKS"
2 changes: 1 addition & 1 deletion .github/workflows/test_compare_stacks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Check for discrepencies between software stacks in software.eessi.io
name: Check for discrepancies between software stacks in software.eessi.io
on:
push:
branches: [ "*-software.eessi.io" ]
Expand Down
141 changes: 0 additions & 141 deletions .github/workflows/test_eessi_container_script.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/test_licenses.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/tests.yml

This file was deleted.

Loading