From e7df533102c84996f22e5456cef787f55db1a8d3 Mon Sep 17 00:00:00 2001 From: Mengdie Song Date: Sat, 30 Mar 2024 13:21:38 +0800 Subject: [PATCH] Fix test-secondary-network workflow image and script (#6171) Fix test-secondary-network workflow image by adding the correct tag, so that we can use the image we built instead of pulling the one from the registry. Signed-off-by: Mengdie Song --- .github/workflows/kind.yml | 2 ++ test/e2e-secondary-network/infra/prepare_cluster.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kind.yml b/.github/workflows/kind.yml index ccb79c94008..b6873ea2ae2 100644 --- a/.github/workflows/kind.yml +++ b/.github/workflows/kind.yml @@ -534,6 +534,8 @@ jobs: - name: Load Antrea image run: | docker load -i antrea-ubuntu.tar + docker tag antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-agent-ubuntu:latest + docker tag antrea/antrea-controller-ubuntu-coverage:latest antrea/antrea-controller-ubuntu:latest - name: Install Kind run: | KIND_VERSION=$(head -n1 ./ci/kind/version) diff --git a/test/e2e-secondary-network/infra/prepare_cluster.sh b/test/e2e-secondary-network/infra/prepare_cluster.sh index a5bc82dc8e3..06fd294cce0 100755 --- a/test/e2e-secondary-network/infra/prepare_cluster.sh +++ b/test/e2e-secondary-network/infra/prepare_cluster.sh @@ -78,7 +78,7 @@ function generateAntreaConfig() { if [ "$1" == "sriov" ]; then $genManifest --sriov --extra-helm-values "featureGates.SecondaryNetwork=true" > $YAML_ANTREA elif [ "$1" == "vlan" ]; then - $genManifest --extra-helm-values "featureGates.SecondaryNetwork=true" > $YAML_ANTREAc + $genManifest --extra-helm-values "featureGates.SecondaryNetwork=true" > $YAML_ANTREA else echoerr "Incorrect network option $1. Failed to generate antrea.yml" exit 1