Skip to content

Commit

Permalink
ci: pin ubuntu to 22.04 (#604)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinandan Purkait <[email protected]>
  • Loading branch information
Abhinandan-Purkait authored Dec 17, 2024
1 parent 51972c4 commit 66dd83c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/branch_preparation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
update_release_branch_after_release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.ref_type == 'tag' }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

update_develop_branch_on_release_branch_creation:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.ref_type == 'branch' }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

prepare_release_branch_on_creation:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.ref_type == 'branch' }}
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
ct lint --config ct.yaml
unit-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["lint"]
steps:
- name: Checkout
Expand All @@ -60,7 +60,7 @@ jobs:
flags: unittests

bdd-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["unit-tests"]
strategy:
fail-fast: true
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
flags: bddtests

csi-driver:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["bdd-tests"]
steps:
- name: Checkout
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
BRANCH=${{ env.BRANCH }}
release-chart:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["csi-driver"]
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
ct lint --config ct.yaml
validate_codegen:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
GOPATH: ${{ github.workspace }}/go
GOBIN: ${{ github.workspace }}/go/bin
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
make verify-manifests
unit-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["lint", "validate_codegen"]
steps:
- name: Checkout
Expand All @@ -99,7 +99,7 @@ jobs:
flags: unittests

bdd-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["unit-tests"]
strategy:
fail-fast: true
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
flags: bddtests

csi-driver:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["bdd-tests"]
steps:
- name: Checkout
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -29,7 +29,7 @@ jobs:
ct lint --config ct.yaml
unit-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["lint"]
steps:
- name: Checkout
Expand All @@ -53,7 +53,7 @@ jobs:
flags: unittests

bdd-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["unit-tests"]
strategy:
fail-fast: true
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
flags: bddtests

csi-driver:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["bdd-tests"]
steps:
- name: Checkout
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
BRANCH=${{ env.BRANCH }}
release-chart:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: ["csi-driver"]
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 66dd83c

Please sign in to comment.