Skip to content

Commit

Permalink
Merge pull request #718 from liangyuanpeng/update_kind_version
Browse files Browse the repository at this point in the history
chore: update github actions
  • Loading branch information
k8s-ci-robot authored Feb 20, 2025
2 parents 65081eb + b789e9a commit ddc096c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ env:
# TODO: match BASEIMAGE with Makefile default (nonroot variant)
BASEIMAGE: "gcr.io/distroless/static-debian11"
KIND_CLUSTER_NAME: "kind"
KIND_VERSION: "v0.27.0"

jobs:
build:
name: build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
path: _output/konnectivity-agent.tar
kind-e2e:
name: kind-e2e
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 100
needs:
- build
Expand All @@ -67,7 +68,7 @@ jobs:
steps:
- name: Install kind
run: |
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.23.0/kind-linux-amd64
curl -Lo ./kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
- name: Check out code
Expand Down Expand Up @@ -97,7 +98,7 @@ jobs:
run: make test-e2e-ci
e2e:
name: e2e
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 100
needs:
- build
Expand Down Expand Up @@ -129,7 +130,7 @@ jobs:
# kubectl
curl -L https://dl.k8s.io/${{ matrix.k8s }}/bin/linux/amd64/kubectl -o ${TMP_DIR}/kubectl
# kind
curl -Lo ${TMP_DIR}/kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
curl -Lo ${TMP_DIR}/kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64
# Install
sudo cp ${TMP_DIR}/ginkgo /usr/local/bin/ginkgo
sudo cp ${TMP_DIR}/e2e.test /usr/local/bin/e2e.test
Expand Down Expand Up @@ -274,7 +275,7 @@ jobs:
- name: Export logs
if: always()
run: |
/usr/local/bin/kind export logs --name ${KIND_CLUSTER_NAME} --loglevel=debug ./_artifacts/logs
/usr/local/bin/kind export logs --name ${KIND_CLUSTER_NAME} -v 4 ./_artifacts/logs
- name: Upload logs
if: always()
Expand Down

0 comments on commit ddc096c

Please sign in to comment.