Skip to content

Commit 394e156

Browse files
authored
Merge pull request #4712 from Flamefire/gha
Fix GitHub Actions for CentOS 7.9 container
2 parents 9adcc1a + 57a3e4e commit 394e156

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.github/workflows/end2end.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,17 @@ jobs:
1818
fail-fast: false
1919
container:
2020
image: ghcr.io/easybuilders/${{ matrix.container }}-amd64
21-
env: {ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true} # Allow using Node16 actions
21+
volumes:
22+
- /node20217:/node20217:rw,rshared
23+
- ${{ matrix.container == 'centos-7.9' && '/node20217:/__e/node20:ro,rshared' || ' ' }}
2224
steps:
25+
- name: install nodejs20glibc2.17
26+
if: ${{ matrix.container == 'centos-7.9' }}
27+
run: |
28+
curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
29+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
2330
- name: Check out the repo
24-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
2532

2633
- name: download and unpack easyblocks and easyconfigs repositories
2734
run: |

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ jobs:
195195
IGNORE_PATTERNS+="|skipping SvnRepository test"
196196
IGNORE_PATTERNS+="|requires Lmod as modules tool"
197197
IGNORE_PATTERNS+="|stty: 'standard input': Inappropriate ioctl for device"
198-
IGNORE_PATTERNS+="|CryptographyDeprecationWarning: Python 3.[56]"
198+
IGNORE_PATTERNS+="|CryptographyDeprecationWarning: Python 3.[567]"
199199
IGNORE_PATTERNS+="|from cryptography.* import "
200200
IGNORE_PATTERNS+="|CryptographyDeprecationWarning: Python 2"
201201
IGNORE_PATTERNS+="|Blowfish"

.github/workflows/unit_tests_python2.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,16 @@ jobs:
1616
# CentOS 7.9 container that already includes Lmod & co,
1717
# see https://github.com/easybuilders/easybuild-containers
1818
image: ghcr.io/easybuilders/centos-7.9-amd64
19-
env: {ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true} # Allow using Node16 actions
19+
volumes:
20+
- '/node20217:/node20217:rw,rshared'
21+
- '/node20217:/__e/node20:ro,rshared'
2022
steps:
21-
- uses: actions/checkout@v3
23+
- name: install nodejs20glibc2.17
24+
run: |
25+
curl -LO https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
26+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
27+
28+
- uses: actions/checkout@v4
2229

2330
- name: install Python packages
2431
run: |

0 commit comments

Comments
 (0)