Skip to content

Commit

Permalink
Merge pull request #4138 from boegel/fix_container_tests
Browse files Browse the repository at this point in the history
fix container tests by using EPEL archive URL for downloading Singularity RPM
  • Loading branch information
branfosj committed Dec 9, 2022
2 parents 0d89c85 + 346af26 commit f33c74e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/container_tests.yml
Expand Up @@ -57,8 +57,8 @@ jobs:
sudo apt install alien
alien --version
# determine latest version of Singularity available in EPEL, and download RPM
singularity_rpm=$(curl -sL https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/s/ | grep singularity | sed 's/.*singularity/singularity/g' | sed 's/rpm.*/rpm/g')
curl -OL https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/s/${singularity_rpm}
singularity_rpm=$(curl -sL https://dl.fedoraproject.org/pub/archive/epel/8.5/Everything/x86_64/Packages/s/ | grep singularity | sed 's/.*singularity/singularity/g' | sed 's/rpm.*/rpm/g')
curl -OL https://dl.fedoraproject.org/pub/archive/epel/8.5/Everything/x86_64/Packages/s/${singularity_rpm}
# convert Singularity RPM to Debian package, and install it
sudo alien -d ${singularity_rpm}
sudo apt install ./singularity*.deb
Expand Down

0 comments on commit f33c74e

Please sign in to comment.