This repository has been archived by the owner on May 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to docker 1.10.0, fix hyperledger/burrow as namespace
so CI will work on forks, clean up build tag image
- Loading branch information
Silas Davis
committed
Apr 13, 2017
1 parent
6656748
commit 0945236
Showing
2 changed files
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
machine: | ||
environment: | ||
GOPATH: $HOME/.go_workspace | ||
REPO: ${GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} | ||
DOCKER_VERSION: 1.9.1 | ||
DOCKER_MACHINE_VERSION: 0.6.0 | ||
REPO: ${GOPATH}/src/github.com/hyperledger/burrow | ||
GO15VENDOREXPERIMENT: 1 | ||
pre: | ||
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0 | ||
services: | ||
- docker | ||
post: | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Billings the Bot" | ||
- rm -rf ${GOPATH%%:*}/src/github.com/${CIRCLE_PROJECT_USERNAME} | ||
- mkdir -p ${GOPATH%%:*}/src/github.com/${CIRCLE_PROJECT_USERNAME} | ||
- cp -r ${HOME}/${CIRCLE_PROJECT_REPONAME} ${GOPATH%%:*}/src/github.com/${CIRCLE_PROJECT_USERNAME}/. | ||
- rm -rf ${GOPATH%%:*}/src/github.com/hyperledger | ||
- mkdir -p ${GOPATH%%:*}/src/github.com/hyperledger | ||
- cp -r ${HOME}/${CIRCLE_PROJECT_REPONAME} ${GOPATH%%:*}/src/github.com/hyperledger/. | ||
|
||
dependencies: | ||
override: | ||
- sudo curl -L -o /usr/bin/docker http://s3-external-1.amazonaws.com/circle-downloads/docker-$DOCKER_VERSION-circleci; sudo chmod 0775 /usr/bin/docker; sudo usermod -a -G docker $USER; true | ||
- sudo service docker start | ||
- sudo apt-get update && sudo apt-get install -y libgmp3-dev | ||
- sudo apt-get install jq curl && go get github.com/Masterminds/glide | ||
|
||
|
@@ -70,4 +71,4 @@ deployment: | |
# once the commit is tagged the docker image for this version tag is | ||
# considered immutable. | ||
- tests/build_tool.sh | ||
- docker push quay.io/monax/db | ||
- docker push quay.io/monax/db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters