chore: update delivery.yaml to new format

This commit is contained in:
Martin Linkhorst 2018-11-21 15:42:40 +01:00
parent cca3e724c7
commit 7bbde7c4d4
No known key found for this signature in database
GPG Key ID: CBE9EF3F75BAA5FD

View File

@ -1,13 +1,9 @@
build_steps: version: "2017-09-20"
- desc: Install docker pipeline:
cmd: | - id: build
apt-get update type: script
apt-get install -y apt-transport-https ca-certificates curl software-properties-common commands:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - desc: Build and push Docker image
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get update
apt-get install -y docker-ce
- desc: Build and push docker image
cmd: | cmd: |
if [[ $CDP_TARGET_BRANCH == master && ! $CDP_PULL_REQUEST_NUMBER ]]; then if [[ $CDP_TARGET_BRANCH == master && ! $CDP_PULL_REQUEST_NUMBER ]]; then
RELEASE_VERSION=$(git describe --tags --always --dirty) RELEASE_VERSION=$(git describe --tags --always --dirty)