summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2022-01-21 20:28:52 +0100
committerJan Pazdziora <jpazdziora@redhat.com>2022-01-21 20:30:48 +0100
commitafc59eba4abb2f05bd935b585b60ee2aa4cf2115 (patch)
treee8539dc1149ac5a783be0e26fbef4b56d99530ca
parenteddd034a29d580da3f4edc6866580092160399e1 (diff)
downloadmod_authnz_pam-afc59eba4abb2f05bd935b585b60ee2aa4cf2115.tar.gz
mod_authnz_pam-afc59eba4abb2f05bd935b585b60ee2aa4cf2115.tar.xz
mod_authnz_pam-afc59eba4abb2f05bd935b585b60ee2aa4cf2115.zip
CentOS 8 got EOL on 2021-12-31, switch to testing on CentOS 8 Stream.
-rw-r--r--.cirrus.yml1
-rw-r--r--.github/workflows/build-test.yaml4
2 files changed, 3 insertions, 2 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 9e0ce48..89758a9 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -3,6 +3,7 @@ test_task:
matrix:
image: registry.fedoraproject.org/fedora:rawhide
image: registry.fedoraproject.org/fedora:latest
+ image: quay.io/centos/centos:stream8
image: centos:centos7
build_script: tests/build.sh
config_script: tests/config.sh
diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml
index 140bf00..ab6f1e1 100644
--- a/.github/workflows/build-test.yaml
+++ b/.github/workflows/build-test.yaml
@@ -14,11 +14,11 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ fedora-latest, centos-8, centos-7 ]
+ os: [ 'registry.fedoraproject.org/fedora:latest', 'quay.io/centos/centos:stream8', 'registry.centos.org/centos:7' ]
steps:
- uses: actions/checkout@v2
- name: Set the right OS in the Dockerfile
- run: sed -i "s#^FROM.*#FROM $( echo ${{ matrix.os }} | sed 's#^fedora-#registry.fedoraproject.org/fedora:#; s#^centos-#registry.centos.org/centos:#;' )#" tests/Dockerfile
+ run: sed -i "s#^FROM.*#FROM ${{ matrix.os }}#" tests/Dockerfile
- name: Build image
run: docker build -t mod_authnz_pam -f tests/Dockerfile .
- name: Run container