Skip to content

Commit

Permalink
Save/restore generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Jul 29, 2018
1 parent 2e7196d commit 5af7aea
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ jobs:
docker tag ${tagged_image} ${repo_tmp_image}
docker push $repo_tmp_image
done
- persist_to_workspace:
root: .
paths:
- users/mock_users/mock_usersclient.go
- users/client/mock_client.go
- billing-api/db/mock_db/mock_db.go
- common/billing/grpc/mock_grpc.go
- common/gcp/partner/mock_partner/mock_access.go
- common/gcp/partner/mock_partner/mock_client.go

test:
<<: *defaults
steps:
Expand Down Expand Up @@ -88,6 +98,8 @@ jobs:
# FIXME: we probably don't need to copy the code and change the working dir
- run: echo -e "export GOPATH=$HOME\nexport SRCDIR=$HOME/src/github.com/weaveworks/service\nexport PATH=/usr/local/go/bin:$HOME/bin:$PATH" >> $BASH_ENV
- run: mkdir -p $(dirname $SRCDIR) && cp -r $(pwd)/ $SRCDIR
- attach_workspace:
at: .
- run: go get github.com/nats-io/gnatsd
- run:
command: gnatsd
Expand Down

0 comments on commit 5af7aea

Please sign in to comment.