Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Loading