1
0
Fork 0
mirror of https://github.com/honestbee/drone-kubernetes.git synced 2025-09-10 23:53:21 +00:00

Handle arrays in deployment

This commit is contained in:
Charles Martinot 2017-02-08 13:45:22 +08:00
parent f22ea1bb67
commit 4dd07c4a73
2 changed files with 16 additions and 1 deletions

View file

@ -14,6 +14,16 @@ This pipeline will update the `my-deployment` deployment with the image tagged `
container: my-container
tag: ${DRONE_COMMIT_SHA:8}
Deploying several new containers, eg in a scheduler-worker setup.
pipeline:
deploy:
image: quay.io/honestbee/drone-kubernetes
deployment: [server-deploy, worker-deploy]
repo: myorg/myrepo
container: my-container
tag: ${DRONE_COMMIT_SHA:8}
This more complex example demonstrates how to deploy to several environments based on the branch, in a `app` namespace
pipeline: