From cdfd5a9375383e3ff34b55cb8740704b4718447d Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Tue, 21 Feb 2017 20:33:02 -0800 Subject: [PATCH] circle.yml: Fix ui upload step so it doesn't build twice There are two source checkouts in circle, and we were building in the wrong one (ie. not the one where the earlier build happened). This was wasteful at best and buggy at worst due to build differences. --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 83ffb4307..192b350da 100644 --- a/circle.yml +++ b/circle.yml @@ -77,7 +77,7 @@ deployment: )) && docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/scope && docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/scope:$(./tools/image-tag) && - (test -z "${UI_BUCKET_KEY_ID}" || make ui-upload) + (test -z "${UI_BUCKET_KEY_ID}" || (cd $SRCDIR && make ui-upload)) ) - | test -z "${QUAY_USER}" || (