From 37afe82fbd10ddcccac714a9b8802857cb96f138 Mon Sep 17 00:00:00 2001 From: Marko Mikulicic Date: Mon, 22 Jul 2019 10:52:28 +0200 Subject: [PATCH] Ensure image pull policy is not Never In #181 we made sure the CI was always testing the rigth code during integration tests, but that involved materializing yaml deployment templates that are not suitable for distribution. This PR rebuilds the yaml files from jsonnet, without the image policy = Never override. --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7da34f40a..d44156275 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,6 +96,13 @@ script: kubectl rollout status deployment/sealed-secrets-controller -n kube-system -w make integrationtest CONTROLLER_IMAGE=$CONTROLLER_IMAGE GINKGO="ginkgo -v --randomizeSuites --failOnPending --trace --progress --compilers=2 --nodes=4" fi + # integration tests required Never pull policy, but release artifacts can't have that + # TODO(mkm): cleanup this. + - | + if [ "$TRAVIS_OS_NAME" = linux ]; then + rm -f controller.yaml controller-norbac.yaml + make controller.yaml controller-norbac.yaml CONTROLLER_IMAGE=$CONTROLLER_IMAGE + fi after_script: set +e