From 9d66cab532fb836beeee15f58eccca676c600012 Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Fri, 5 Jul 2019 13:47:56 +0100 Subject: [PATCH] Set --stamp=true when exporting images in e2e tests Signed-off-by: James Munnelly --- hack/ci/lib/build_images.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hack/ci/lib/build_images.sh b/hack/ci/lib/build_images.sh index 614bec607..16d30ece2 100755 --- a/hack/ci/lib/build_images.sh +++ b/hack/ci/lib/build_images.sh @@ -27,10 +27,13 @@ source "${SCRIPT_ROOT}/lib.sh" build_images() { # Build cert-manager binaries & docker image + # Set --stamp=true when running a build to workaround issues introduced + # in bazelbuild/rules_go#2110. For more information, see: https://github.com/bazelbuild/rules_go/pull/2110#issuecomment-508713878 + # We should be able to remove the `--stamp=true` arg once this has been fixed! APP_VERSION="${DOCKER_TAG}" \ DOCKER_REPO="${DOCKER_REPO}" \ DOCKER_TAG="${DOCKER_TAG}" \ - bazel run --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //test/e2e:images + bazel run --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 --stamp=true //test/e2e:images echo "All images built"