Skip to content

Commit

Permalink
Temporary hack to check deploy step works
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Aug 30, 2018
1 parent a7a26f4 commit a1c1469
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ workflows:
- unit-test
- build
- deploy:
filters:
branches:
only: master
#filters:
# branches:
# only: master
requires:
- client-test
- integration-tests
Expand Down Expand Up @@ -86,6 +86,7 @@ jobs:
<<: *defaults
steps:
- checkout
- run: circleci step halt
- run: GOARCH=arm make BUILD_IN_CONTAINER=false GO_BUILD_INSTALL_DEPS= prog/scope
- run: GOOS=darwin make BUILD_IN_CONTAINER=false GO_BUILD_INSTALL_DEPS= prog/scope

Expand Down Expand Up @@ -123,6 +124,7 @@ jobs:
- checkout
- attach_workspace:
at: .
- run: circleci step halt
- run: |
sudo apt-get update
sudo apt-get install python-pip jq pv
Expand Down Expand Up @@ -157,10 +159,6 @@ jobs:
- setup_remote_docker
- attach_workspace:
at: .
# PATH must be set here as circle currently does not support string interpolation
# for environment
# https://discuss.circleci.com/t/bin-sh-mkdir-command-not-found/8710
- run: export PATH="$PATH:$HOME/.local/bin"
- run: |
docker load -i scope.tar
docker load -i cloud-agent.tar
Expand All @@ -173,7 +171,7 @@ jobs:
done
)) &&
for IMAGE in $IMAGES; do
docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/$IMAGE &&
# docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/$IMAGE:latest &&
docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/$IMAGE:$(./tools/image-tag)
done
)
Expand Down

0 comments on commit a1c1469

Please sign in to comment.