ci: ubuntu 18.04 is deprecated upgrade to ubuntu 22.04

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit aec9ac3060)
This commit is contained in:
subhamkrai authored and Mergify committed 2022-08-29 16:09:15 +00:00
1 parent aa1f9e5cbd
commit 278a2d4623
23 files changed
+48 -46

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ jobs:
timeout-minutes: 60
linux-build-all:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
strategy:
fail-fast: false
+10 -10
View File
@@ -23,7 +23,7 @@ concurrency:
jobs:
canary:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
@@ -216,7 +216,7 @@ jobs:
timeout-minutes: 60
raw-disk:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
@@ -489,7 +489,7 @@ jobs:
timeout-minutes: 60
pvc:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
@@ -562,7 +562,7 @@ jobs:
timeout-minutes: 60
pvc-db:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
@@ -618,7 +618,7 @@ jobs:
timeout-minutes: 60
pvc-db-wal:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
@@ -1086,7 +1086,7 @@ jobs:
timeout-minutes: 60
multi-cluster-mirroring:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
@@ -1285,7 +1285,7 @@ jobs:
timeout-minutes: 60
rgw-multisite-testing:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
@@ -1320,7 +1320,7 @@ jobs:
timeout-minutes: 60
encryption-pvc-kms-ibm-kp:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
@@ -1358,7 +1358,7 @@ jobs:
timeout-minutes: 60
multus-cluster-network:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
@@ -1420,7 +1420,7 @@ jobs:
timeout-minutes: 60
csi-hostnetwork-disabled:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
codegen:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- uses: actions/setup-go@v2
+1 -1
View File
@@ -22,7 +22,7 @@ permissions:
jobs:
codespell:
name: codespell
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
+1 -1
View File
@@ -18,7 +18,7 @@ concurrency:
jobs:
lint:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
crds-gen:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-go@v2
with:
+1 -1
View File
@@ -13,7 +13,7 @@ defaults:
jobs:
Create-Tag:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: github.repository == 'rook/rook' && contains('travisn,leseb,BlaineEXE,jbw976,galexrt,satoru-takeuchi', github.actor)
steps:
- name: checkout
+9 -9
View File
@@ -91,7 +91,7 @@ jobs:
smoke-suite-pacific-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
@@ -126,7 +126,7 @@ jobs:
smoke-suite-quincy-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
@@ -161,7 +161,7 @@ jobs:
smoke-suite-ceph-master:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
@@ -196,7 +196,7 @@ jobs:
object-suite-pacific-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
@@ -231,7 +231,7 @@ jobs:
object-suite-master:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
@@ -266,7 +266,7 @@ jobs:
upgrade-from-pacific-stable-to-pacific-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
@@ -301,7 +301,7 @@ jobs:
upgrade-from-quincy-stable-to-quincy-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
@@ -336,7 +336,7 @@ jobs:
rgw-multisite-test-with-ceph-devel:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
matrix:
ceph-image-tag:
@@ -362,7 +362,7 @@ jobs:
encryption-pvc-kms-ibm-kp:
if: github.repository == 'rook/rook'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
+1 -1
View File
@@ -19,7 +19,7 @@ concurrency:
jobs:
docs-check:
name: docs-check
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
+1 -1
View File
@@ -22,7 +22,7 @@ permissions:
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-go@v2
with:
@@ -18,7 +18,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-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -16,7 +16,7 @@ concurrency:
jobs:
TestCephMgrSuite:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "contains(github.event.pull_request.labels.*.name, 'run-mgr-suite')"
strategy:
fail-fast: false
@@ -18,7 +18,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-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -18,7 +18,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-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -18,7 +18,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-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -18,7 +18,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-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -63,7 +63,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-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -14,7 +14,7 @@ defaults:
jobs:
TestCephHelmSuite:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -55,7 +55,7 @@ jobs:
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
TestCephMultiClusterDeploySuite:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.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-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -134,7 +134,7 @@ jobs:
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
TestCephUpgradeSuite:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -173,7 +173,7 @@ jobs:
path: /home/runner/work/rook/rook/tests/integration/_output/tests/
TestHelmUpgradeSuite:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
@@ -216,7 +216,7 @@ 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-18.04
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
modcheck:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2
+1 -1
View File
@@ -17,7 +17,7 @@ permissions:
jobs:
push-image-to-container-registry:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: github.repository == 'rook/rook'
steps:
- name: checkout
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
gen-rbac:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-go@v2
with:
+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-18.04
runs-on: ubuntu-20.04
if: github.repository == 'rook/rook'
steps:
- uses: actions/stale@v4
+1 -1
View File
@@ -26,7 +26,7 @@ permissions:
jobs:
unittests:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
steps:
- name: checkout