Skip to content

Commit ddc096c

Browse files
authored
Merge pull request #718 from liangyuanpeng/update_kind_version
chore: update github actions
2 parents 65081eb + b789e9a commit ddc096c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/e2e.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ env:
1515
# TODO: match BASEIMAGE with Makefile default (nonroot variant)
1616
BASEIMAGE: "gcr.io/distroless/static-debian11"
1717
KIND_CLUSTER_NAME: "kind"
18+
KIND_VERSION: "v0.27.0"
1819

1920
jobs:
2021
build:
2122
name: build
22-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-22.04
2324
steps:
2425
- name: Check out code
2526
uses: actions/checkout@v4
@@ -50,7 +51,7 @@ jobs:
5051
path: _output/konnectivity-agent.tar
5152
kind-e2e:
5253
name: kind-e2e
53-
runs-on: ubuntu-20.04
54+
runs-on: ubuntu-22.04
5455
timeout-minutes: 100
5556
needs:
5657
- build
@@ -67,7 +68,7 @@ jobs:
6768
steps:
6869
- name: Install kind
6970
run: |
70-
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.23.0/kind-linux-amd64
71+
curl -Lo ./kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64
7172
chmod +x ./kind
7273
sudo mv ./kind /usr/local/bin/kind
7374
- name: Check out code
@@ -97,7 +98,7 @@ jobs:
9798
run: make test-e2e-ci
9899
e2e:
99100
name: e2e
100-
runs-on: ubuntu-20.04
101+
runs-on: ubuntu-22.04
101102
timeout-minutes: 100
102103
needs:
103104
- build
@@ -129,7 +130,7 @@ jobs:
129130
# kubectl
130131
curl -L https://dl.k8s.io/${{ matrix.k8s }}/bin/linux/amd64/kubectl -o ${TMP_DIR}/kubectl
131132
# kind
132-
curl -Lo ${TMP_DIR}/kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
133+
curl -Lo ${TMP_DIR}/kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64
133134
# Install
134135
sudo cp ${TMP_DIR}/ginkgo /usr/local/bin/ginkgo
135136
sudo cp ${TMP_DIR}/e2e.test /usr/local/bin/e2e.test
@@ -274,7 +275,7 @@ jobs:
274275
- name: Export logs
275276
if: always()
276277
run: |
277-
/usr/local/bin/kind export logs --name ${KIND_CLUSTER_NAME} --loglevel=debug ./_artifacts/logs
278+
/usr/local/bin/kind export logs --name ${KIND_CLUSTER_NAME} -v 4 ./_artifacts/logs
278279
279280
- name: Upload logs
280281
if: always()

0 commit comments

Comments
 (0)