From 697ec2bb81531dfeec57c1f2b9442e5f34ee603e Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Mon, 4 Dec 2023 15:17:12 -0500 Subject: [PATCH] Adding pipeline for dev promotion --- .drone.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5ac2f68..92a2a1e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,3 +47,29 @@ steps: - master event: - push +--- +kind: pipeline +name: Deploy Dev + +steps: +- name: Deploy Development + image: pelotech/drone-helm3 + settings: + kube_service_account: automate + namespace: speech-collect-dev + helm_command: upgrade + values_files: ./.environments/dev-values.yaml + chart: ./charts/speech-collect + release: sc-dev + api_server: + from_secret: dev_api_server + kubernetes_token: + from_secret: dev_kubernetes_token + values: + - "image.tag=${DRONE_COMMIT_SHA}" + +trigger: + event: + - promote + target: + - development