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.
This commit is contained in:
Mike Lang
2017-02-21 20:33:02 -08:00
parent ed19e7a34b
commit cdfd5a9375

View File

@@ -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}" || (