ci: update ubuntu image to 22.04

updating ubuntu image to 22.04 from 20.04 which is used in ci test

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 11ce20feaf)
Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
subhamkrai committed 2024-05-08 11:23:19 +05:30
1 parent f181a95412
commit ea553c45dd
21 files changed
+54 -54

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ jobs:
run: tests/scripts/validate_modified_files.sh gen-rbac
linux-build-all:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
fail-fast: false
+21 -21
View File
@@ -15,7 +15,7 @@ defaults:
jobs:
canary:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -298,7 +298,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
raw-disk-with-object:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -375,7 +375,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
two-osds-in-device:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -424,7 +424,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
osd-with-metadata-partition-device:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -472,7 +472,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
osd-with-metadata-device:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -528,7 +528,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
encryption:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -578,7 +578,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
lvm:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -633,7 +633,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
pvc:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -709,7 +709,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
pvc-db:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -761,7 +761,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
pvc-db-wal:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -816,7 +816,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
encryption-pvc:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -884,7 +884,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
encryption-pvc-db:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -938,7 +938,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
encryption-pvc-db-wal:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -1002,7 +1002,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
encryption-pvc-kms-vault-token-auth:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -1088,7 +1088,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
encryption-pvc-kms-vault-k8s-auth:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -1154,7 +1154,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
lvm-pvc:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -1211,7 +1211,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
multi-cluster-mirroring:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -1470,7 +1470,7 @@ jobs:
additional-namespace: rook-ceph-secondary
rgw-multisite-testing:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -1499,7 +1499,7 @@ jobs:
name: ${{ github.job }}-${{ matrix.ceph-image }}
encryption-pvc-kms-ibm-kp:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -1527,7 +1527,7 @@ jobs:
artifact-name: ${{ github.job }}-${{ matrix.ceph-image }}
multus-cluster-network:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
@@ -1615,7 +1615,7 @@ jobs:
additional-namespace: kube-system
csi-hostnetwork-disabled:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
matrix:
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
codegen:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
+2 -2
View File
@@ -22,7 +22,7 @@ permissions:
jobs:
codespell:
name: codespell
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
@@ -50,7 +50,7 @@ jobs:
check_hidden: true
misspell:
name: misspell
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for wagoid/commitlint-github-action to get commits in PR
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
crds-gen:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
+1 -1
View File
@@ -13,7 +13,7 @@ defaults:
jobs:
Create-Tag:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'rook/rook' && contains('travisn,leseb,BlaineEXE,jbw976,galexrt,satoru-takeuchi', github.actor)
steps:
- name: checkout
+7 -7
View File
@@ -117,7 +117,7 @@ jobs:
smoke-suite-quincy-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
@@ -157,7 +157,7 @@ jobs:
smoke-suite-reef-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
@@ -197,7 +197,7 @@ jobs:
smoke-suite-ceph-main:
if: github.repository == 'rook/rook'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
@@ -237,7 +237,7 @@ jobs:
object-suite-quincy-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
@@ -277,7 +277,7 @@ jobs:
object-suite-ceph-main:
if: github.repository == 'rook/rook'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
@@ -317,7 +317,7 @@ jobs:
upgrade-from-reef-stable-to-reef-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
@@ -357,7 +357,7 @@ jobs:
upgrade-from-quincy-stable-to-quincy-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
+1 -1
View File
@@ -22,7 +22,7 @@ permissions:
jobs:
docs-check:
name: docs-check
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
@@ -21,7 +21,7 @@ concurrency:
jobs:
TestCephHelmSuite:
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -19,7 +19,7 @@ concurrency:
jobs:
TestCephMgrSuite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "contains(github.event.pull_request.labels.*.name, 'run-mgr-suite')"
strategy:
fail-fast: false
@@ -21,7 +21,7 @@ concurrency:
jobs:
TestCephMultiClusterDeploySuite:
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -21,7 +21,7 @@ concurrency:
jobs:
TestCephObjectSuite:
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -21,7 +21,7 @@ concurrency:
jobs:
TestCephSmokeSuite:
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -21,7 +21,7 @@ concurrency:
jobs:
TestCephUpgradeSuite:
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -65,7 +65,7 @@ jobs:
TestHelmUpgradeSuite:
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/master' && !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -14,7 +14,7 @@ defaults:
jobs:
TestCephHelmSuite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -54,7 +54,7 @@ jobs:
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
TestCephMultiClusterDeploySuite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -95,7 +95,7 @@ jobs:
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
TestCephSmokeSuite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -133,7 +133,7 @@ jobs:
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
TestCephUpgradeSuite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -171,7 +171,7 @@ jobs:
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
TestHelmUpgradeSuite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@@ -212,7 +212,7 @@ jobs:
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
TestCephObjectSuite:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
modcheck:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
+1 -1
View File
@@ -17,7 +17,7 @@ permissions:
jobs:
push-image-to-container-registry:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'rook/rook'
steps:
- name: checkout
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
gen-rbac:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.repository == 'rook/rook'
steps:
- uses: actions/stale@v9
+1 -1
View File
@@ -33,7 +33,7 @@ permissions:
jobs:
unittests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout