Skip to content
Snippets Groups Projects
Commit 2f5a3494 authored by Oleksii Kliukin's avatar Oleksii Kliukin Committed by GitHub
Browse files

CDP integration (#51)

Build docker images from the master branch via CDP and push them to the registry.opensource.zalan.do
parent fe6c162e
No related branches found
No related tags found
No related merge requests found
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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment