Skip to content

Instantly share code, notes, and snippets.

@Depado
Created July 19, 2018 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Depado/1b97aa9aa3ec138a6361151d570769e5 to your computer and use it in GitHub Desktop.
Save Depado/1b97aa9aa3ec138a6361151d570769e5 to your computer and use it in GitHub Desktop.
tagged_gcr:
image: plugins/gcr
repo: project-id/dummy
tags:
- "${DRONE_TAG##v}"
- "${DRONE_COMMIT_SHA}"
- latest
secrets: [google_credentials]
when:
event: tag
branch: master
helm_deploy_prod:
image: quay.io/ipedrazas/drone-helm
skip_tls_verify: true
chart: ./helm/dummy
release: "prod"
wait: true
recreate_pods: false
service_account: tiller
secrets: [api_server, kubernetes_token]
values_files: ["helm/prod.yml"]
values: image.tag=${DRONE_TAG##v}
namespace: prod
when:
event: tag
branch: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment