mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2024-12-22 19:16:06 +00:00
Merge pull request #3 from zalando-incubator/cdp-build
Add delivery.yaml
This commit is contained in:
commit
d6959cfa1e
20
delivery.yaml
Normal file
20
delivery.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
version: "2017-09-20"
|
||||
pipeline:
|
||||
- id: build
|
||||
overlay: ci/golang
|
||||
type: script
|
||||
commands:
|
||||
- desc: test
|
||||
cmd: |
|
||||
make test
|
||||
- desc: build
|
||||
cmd: |
|
||||
make build.docker
|
||||
- desc: push
|
||||
cmd: |
|
||||
if [[ $CDP_TARGET_BRANCH == master && ! $CDP_PULL_REQUEST_NUMBER ]]; then
|
||||
IMAGE=registry-write.opensource.zalan.do/teapot/kube-metrics-adapter
|
||||
else
|
||||
IMAGE=registry-write.opensource.zalan.do/teapot/kube-metrics-adapter-test
|
||||
fi
|
||||
IMAGE=$IMAGE VERSION=$CDP_BUILD_VERSION make build.push
|
Loading…
x
Reference in New Issue
Block a user