Skip to content

Commit

Permalink
upgrade github ci runner from ubuntu-18.04 to ubuntu-20.04 (openkruis…
Browse files Browse the repository at this point in the history
…e#1255)

Co-authored-by: mingzhou.swx <mingzhou.swx@alibaba-inc.com>
  • Loading branch information
veophi and mingzhou.swx authored Apr 12, 2023
1 parent 4efb604 commit 26dd7fb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
jobs:
typos-check:
name: Spell Check with Typos
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
Expand All @@ -33,7 +33,7 @@ jobs:
config: ./typos.toml

golangci-lint:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
sarif_file: 'trivy-results.sarif'

markdownlint-misspell-shellcheck:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
# this image is build from Dockerfile
# https://github.com/pouchcontainer/pouchlinter/blob/master/Dockerfile
container: pouchcontainer/pouchlinter:v0.1.2
Expand All @@ -100,7 +100,7 @@ jobs:
# bash -c "exit $code";

unit-tests:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/e2e-1.16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:

astatefulset:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
exit $retVal
pullimages-containerrecreate:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
exit $retVal
advanced-daemonset:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
exit $retVal
sidecarset:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
exit $retVal
podUnavailableBudget:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
./bin/ginkgo -timeout 60m -v --focus='\[policy\] PodUnavailableBudget' test/e2e
other:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-1.20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
ephemeraljob:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/e2e-1.24.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
jobs:

astatefulset:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
exit $retVal
pullimages-containerrecreate:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
exit $retVal
advanced-daemonset:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
exit $retVal
sidecarset:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:
exit $retVal
ephemeraljob:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -389,7 +389,7 @@ jobs:
./bin/ginkgo -timeout 60m -v --focus='\[apps\] EphemeralJob' test/e2e
podUnavailableBudget:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -447,7 +447,7 @@ jobs:
./bin/ginkgo -timeout 60m -v --focus='\[policy\] PodUnavailableBudget' test/e2e
other:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
license_check:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Check for unapproved licenses
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 26dd7fb

Please sign in to comment.