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

update CI workflows (except container tests) to use Ubuntu 20.04, since Ubuntu 18.04 is deprecated #4064

Merged
merged 8 commits into from
Sep 8, 2022
4 changes: 2 additions & 2 deletions .github/workflows/bootstrap_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: test EasyBuild bootstrap script
on: [push, pull_request]
jobs:
setup:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
lmod7: Lmod-7.8.22
lmod8: Lmod-8.7.6
Expand All @@ -14,7 +14,7 @@ jobs:
- run: "true"
build:
needs: setup
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
# Don't run for Python 3.8, 3.9 , people should just use `pip install easybuild`
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/container_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ name: Tests for container support
on: [push, pull_request]
jobs:
build:
# stick to Ubuntu 18.04, where we can still easily install yum via 'apt-get install'
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python: [2.7, 3.6]
python: [3.7, 3.8, 3.9, '3.10']
fail-fast: false
steps:
- uses: actions/checkout@v2
Expand All @@ -24,7 +23,7 @@ jobs:
sudo apt-get update -yqq
# for building Singularity images
sudo apt-get install rpm
sudo apt-get install yum
sudo apt-get install dnf
boegel marked this conversation as resolved.
Show resolved Hide resolved
# for modules tool
sudo apt-get install lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev
# fix for lua-posix packaging issue, see https://bugs.launchpad.net/ubuntu/+source/lua-posix/+bug/1752082
Expand Down Expand Up @@ -85,6 +84,11 @@ jobs:
# create $HOME/.rpmmacros, see also https://github.com/apptainer/singularity/issues/241
echo '%_var /var' > $HOME/.rpmmacros
echo '%_dbpath %{_var}/lib/rpm' >> $HOME/.rpmmacros
ls -ld $HOME/.rpmmacros
echo "contents of $HOME/.rpmmacros:"
cat $HOME/.rpmmacros
sudo echo '%_var /var' > /root/.rpmmacros
sudo echo '%_dbpath %{_var}/lib/rpm' >> /root/.rpmmacros
# build CentOS 7 container image for bzip2 1.0.8 using EasyBuild;
# see https://docs.easybuild.io/en/latest/Containers.html
curl -OL https://raw.githubusercontent.com/easybuilders/easybuild-easyconfigs/develop/easybuild/easyconfigs/b/bzip2/bzip2-1.0.8.eb
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eb_command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tests for the 'eb' command
on: [push, pull_request]
jobs:
test-eb:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Static Analysis
on: [push, pull_request]
jobs:
python-linting:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: EasyBuild framework unit tests
on: [push, pull_request]
jobs:
setup:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
lmod7: Lmod-7.8.22
lmod8: Lmod-8.7.6
Expand All @@ -14,7 +14,7 @@ jobs:
- run: "true"
build:
needs: setup
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
python: [2.7, 3.6]
Expand Down