Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 20a3946

Browse files
author
David Chung
authored
More fixup of circle.yml
Do not push to S3 for PR branches.
1 parent 5544973 commit 20a3946

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

circle.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ deployment:
5656
branch: /pull\/.*/
5757
commands:
5858
- DOCKER_BUILD_FLAGS="--rm=false" make build-docker
59-
- tar cvfz ./$S3_BUILD_PR -C build .
60-
- mc cp ./$S3_BUILD_PR $S3_BUCKET/
6159

6260
release:
6361
branch: /release-.*/
@@ -72,6 +70,6 @@ deployment:
7270
commands:
7371
- docker login -e $DOCKER_HUB_EMAIL -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWD
7472
- DOCKER_PUSH=true DOCKER_TAG_LATEST=true DOCKER_TAG="master-$CIRCLE_BUILD_NUM" DOCKER_BUILD_FLAGS="--rm=false" make build-docker
75-
- tar cvfz ./$CIRCLE_BUILD_MASTER -C build .
73+
- tar cvfz ./$S3_BUILD_MASTER -C build .
7674
- mc cp ./$S3_BUILD_MASTER $S3_BUCKET/
7775
- mc cp ./$S3_BUILD_MASTER $S3_BUCKET/infrakit-latest.gz

0 commit comments

Comments
 (0)