diff --git a/.github/workflows/ci-schedule-compatibility.yaml b/.github/workflows/ci-schedule-compatibility.yaml index 4f7e11be5..d9f19fdd8 100644 --- a/.github/workflows/ci-schedule-compatibility.yaml +++ b/.github/workflows/ci-schedule-compatibility.yaml @@ -9,7 +9,7 @@ jobs: name: e2e test # prevent job running from forked repository if: ${{ github.repository == 'karmada-io/karmada' }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: kubeapiserver-version: [ v1.21.10, v1.22.7, v1.23.4, v1.24.2, v1.25.0, v1.26.0 ] diff --git a/.github/workflows/ci-schedule.yml b/.github/workflows/ci-schedule.yml index c9b123805..dd820d0a2 100644 --- a/.github/workflows/ci-schedule.yml +++ b/.github/workflows/ci-schedule.yml @@ -8,7 +8,7 @@ jobs: name: e2e test # prevent job running from forked repository if: ${{ github.repository == 'karmada-io/karmada' }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: k8s: [ v1.21.10, v1.22.7, v1.23.4, v1.24.2, v1.25.0, v1.26.0 ] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fec3298e9..79ed2141f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ concurrency: jobs: golangci: name: lint - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 @@ -27,7 +27,7 @@ jobs: run: hack/verify-import-aliases.sh codegen: name: codegen - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: GOPATH: ${{ github.workspace }} defaults: @@ -62,7 +62,7 @@ jobs: build: name: compile needs: codegen # rely on codegen successful completion - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 @@ -79,7 +79,7 @@ jobs: test: name: unit test needs: build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 @@ -106,7 +106,7 @@ jobs: e2e: name: e2e test needs: build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: # Here support the latest three minor releases of Kubernetes, this can be considered to be roughly diff --git a/.github/workflows/cli.yaml b/.github/workflows/cli.yaml index 42836c13b..67e4f89ef 100644 --- a/.github/workflows/cli.yaml +++ b/.github/workflows/cli.yaml @@ -11,7 +11,7 @@ concurrency: jobs: init: name: init - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: # Here support the latest three minor releases of Kubernetes, this can be considered to be roughly diff --git a/.github/workflows/dockerhub-latest-chart.yml b/.github/workflows/dockerhub-latest-chart.yml index 1603e4e5e..1f2b922a0 100644 --- a/.github/workflows/dockerhub-latest-chart.yml +++ b/.github/workflows/dockerhub-latest-chart.yml @@ -10,7 +10,7 @@ jobs: # 1. running on the forked repository would fail as missing necessary secret. # 2. running on the forked repository would use unnecessary GitHub Action time. if: ${{ github.repository == 'karmada-io/karmada' && github.ref == 'refs/heads/master' }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/dockerhub-latest-image.yml b/.github/workflows/dockerhub-latest-image.yml index 82848dbe2..0d24fe165 100644 --- a/.github/workflows/dockerhub-latest-image.yml +++ b/.github/workflows/dockerhub-latest-image.yml @@ -26,7 +26,7 @@ jobs: - karmada-search - karmada-operator - karmada-metrics-adapter - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/dockerhub-released-chart.yml b/.github/workflows/dockerhub-released-chart.yml index 9d3a4a62f..60f9bc94a 100644 --- a/.github/workflows/dockerhub-released-chart.yml +++ b/.github/workflows/dockerhub-released-chart.yml @@ -6,7 +6,7 @@ on: jobs: publish-chart-to-dockerhub: name: publish to DockerHub - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/dockerhub-released-image.yml b/.github/workflows/dockerhub-released-image.yml index 9be944de5..0d251b431 100644 --- a/.github/workflows/dockerhub-released-image.yml +++ b/.github/workflows/dockerhub-released-image.yml @@ -22,7 +22,7 @@ jobs: - karmada-search - karmada-operator - karmada-metrics-adapter - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 4af5c1f8c..05165eeb3 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -8,7 +8,7 @@ jobs: # 1. running on the forked repository would fail as missing necessary secret. # 2. running on the forked repository would use unnecessary GitHub Action time. if: ${{ github.repository == 'karmada-io/karmada' }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/lint-chart.yaml b/.github/workflows/lint-chart.yaml index d8121f4bf..684de5d05 100644 --- a/.github/workflows/lint-chart.yaml +++ b/.github/workflows/lint-chart.yaml @@ -15,7 +15,7 @@ on: jobs: chart-lint-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc538bba6..1d2612dba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ name: Build Release jobs: release-assests: name: release kubectl-karmada - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: target: @@ -44,7 +44,7 @@ jobs: _output/charts/karmada-chart-${{ github.ref_name }}.tgz.sha256 release-crds-assests: name: release crds - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Rename the crds directory @@ -65,7 +65,7 @@ jobs: update-krew-index: needs: release-assests name: Update krew-index - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - name: Update new version in krew-index diff --git a/.github/workflows/swr-latest-image.yml b/.github/workflows/swr-latest-image.yml index 7ff01e629..5666f56b7 100644 --- a/.github/workflows/swr-latest-image.yml +++ b/.github/workflows/swr-latest-image.yml @@ -10,7 +10,7 @@ jobs: # 1. running on the forked repository would fail as missing necessary secret. # 2. running on the forked repository would use unnecessary GitHub Action time. if: ${{ github.repository == 'karmada-io/karmada' && github.ref == 'refs/heads/master' }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/swr-released-image.yml b/.github/workflows/swr-released-image.yml index 338576b2a..3be03dede 100644 --- a/.github/workflows/swr-released-image.yml +++ b/.github/workflows/swr-released-image.yml @@ -10,7 +10,7 @@ jobs: # 1. running on the forked repository would fail as missing necessary secret. # 2. running on the forked repository would use unnecessary GitHub Action time. if: ${{ github.repository == 'karmada-io/karmada' }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: checkout code uses: actions/checkout@v3