Skip to content

Commit

Permalink
CDP integration (#51)
Browse files Browse the repository at this point in the history
Build docker images from the master branch via CDP and push them to the registry.opensource.zalan.do
  • Loading branch information
alexeyklyukin committed Jun 13, 2017
1 parent fe6c162 commit 2f5a349
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions delivery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
build_steps:
- desc: 'Install required build software'
cmd: |
apt-get install -y make git apt-transport-https ca-certificates curl
- desc: 'Install go'
cmd: |
add-apt-repository ppa:longsleep/golang-backports
apt-get update
apt-get install -y golang-go
- desc: 'Install Docker'
cmd: |
curl -sSL https://get.docker.com/ | sh
- desc: 'Symlink sources into the GOPATH'
cmd: |
export GOPATH=$HOME/go
export OPERATOR_TOP_DIR=$GOPATH/src/github.com/zalando-incubator
mkdir -p $OPERATOR_TOP_DIR
ln -s $(pwd) $OPERATOR_TOP_DIR/postgres-operator
- desc: 'Build & push'
cmd: |
export PATH=$PATH:$HOME/go/bin
export IMAGE=registry-write.opensource.zalan.do/acid/postgres-operator
make tools deps docker push

0 comments on commit 2f5a349

Please sign in to comment.