Skip to content

Commit

Permalink
ci.yml: add centos-9 to container matrix
Browse files Browse the repository at this point in the history
Create distro matrix for testing different containers
in the pipelines. Add centos-9 to the already
existing centos-8 distro to the distro matrix.

Fixes: #333
Signed-off-by: Albert Esteve <[email protected]>
  • Loading branch information
aesteve-rh committed Oct 3, 2022
1 parent fd103bb commit 1e19002
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ env:
jobs:
lint:
runs-on: ubuntu-latest
container: quay.io/ovirt/vdsm-test-centos-8
strategy:
matrix:
distro: [centos-8, centos-9]
container: quay.io/ovirt/vdsm-test-${{matrix.distro}}
steps:
- uses: ovirt/checkout-action@main
- name: Run linters
Expand All @@ -17,8 +20,11 @@ jobs:
env:
TRAVIS_CI: 1
runs-on: ubuntu-latest
strategy:
matrix:
distro: [centos-8, centos-9]
container:
image: quay.io/ovirt/vdsm-test-centos-8
image: quay.io/ovirt/vdsm-test-${{matrix.distro}}
# Required to create loop devices.
options: --privileged
steps:
Expand All @@ -29,8 +35,11 @@ jobs:
env:
TRAVIS_CI: 1
runs-on: ubuntu-latest
strategy:
matrix:
distro: [centos-8, centos-9]
container:
image: quay.io/ovirt/vdsm-test-centos-8
image: quay.io/ovirt/vdsm-test-${{matrix.distro}}
# Required to create loop devices.
options: --privileged
steps:
Expand All @@ -41,8 +50,11 @@ jobs:
env:
TRAVIS_CI: 1
runs-on: ubuntu-latest
strategy:
matrix:
distro: [centos-8, centos-9]
container:
image: quay.io/ovirt/vdsm-test-centos-8
image: quay.io/ovirt/vdsm-test-${{matrix.distro}}
# Needed for many operations, i.e. creating bridges
options: --privileged
steps:
Expand Down

0 comments on commit 1e19002

Please sign in to comment.