From 2d810b45479469ff372a6116ee11a831b1fb282c Mon Sep 17 00:00:00 2001 From: Elina Akhmanova Date: Mon, 3 Apr 2023 13:54:27 +0200 Subject: [PATCH] Run a ingress-gce script It is tricky to run a list of commands inside config yamls. To do that it's better to run a script. The script builds & pushes the e2e-test image on multiarch. Signed-off-by: Elina Akhmanova --- .../kubernetes/sig-network/ingress-gce-e2e.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/config/jobs/kubernetes/sig-network/ingress-gce-e2e.yaml b/config/jobs/kubernetes/sig-network/ingress-gce-e2e.yaml index 5cfb1f185aa0..89307c7fb443 100644 --- a/config/jobs/kubernetes/sig-network/ingress-gce-e2e.yaml +++ b/config/jobs/kubernetes/sig-network/ingress-gce-e2e.yaml @@ -166,14 +166,17 @@ postsubmits: - --scenario=execute - -- - --env=VERSION=$(PULL_BASE_REF) - - --env=REGISTRY=gcr.io/k8s-ingress-image-push - - make - - all-push - - ALL_ARCH=amd64 arm64 - - CONTAINER_BINARIES=e2e-test + - hack/push-multiarch.sh # docker-in-docker needs privileged mode securityContext: privileged: true + env: + - name: ALL_ARCH + value: "amd64 arm64" + - name: BINARIES + value: "e2e-test" + - name: REGISTRY + value: "gcr.io/k8s-ingress-image-push" annotations: testgrid-dashboards: sig-network-ingress-gce-e2e testgrid-tab-name: ingress-gce-image-push