remove deployment for now
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
55
.drone.yml
55
.drone.yml
@@ -17,33 +17,7 @@ steps:
|
||||
dockerfile: ./Dockerfile
|
||||
tags: ["${DRONE_COMMIT_SHA:0:7}", "latest-testing"]
|
||||
<<: *docker_creds
|
||||
|
||||
- name: deploy-testing
|
||||
image: pelotech/drone-helm3
|
||||
settings:
|
||||
mode: upgrade
|
||||
chart: ./charts
|
||||
release: bellscheduler-testing
|
||||
namespace: bellscheduler
|
||||
debug: true
|
||||
kube_api_server: "https://172.16.244.150:6443"
|
||||
kube_service_account: drone
|
||||
kube_token:
|
||||
from_secret: kube_token
|
||||
kube_certificate:
|
||||
from_secret: kube_ca_certificate
|
||||
values:
|
||||
- "image.tag=${DRONE_COMMIT_SHA:0:7}"
|
||||
- "ingress.enabled=true"
|
||||
- "ingress.hosts[0].host=testing.bellscheduler.dubyatp.xyz"
|
||||
- "ingress.hosts[0].paths[0].path=/"
|
||||
- "ingress.hosts[0].paths[0].pathType=ImplementationSpecific"
|
||||
- "ingress.tls[0].secretName=tls-secret-replica"
|
||||
- "ingress.tls[0].hosts[0]=testing.bellscheduler.dubyatp.xyz"
|
||||
cleanup_failed_upgrade: true
|
||||
force_upgrade: true
|
||||
depends_on:
|
||||
- build-app-testing
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- testing
|
||||
@@ -69,32 +43,7 @@ steps:
|
||||
dockerfile: ./Dockerfile
|
||||
tags: ["${DRONE_COMMIT_SHA:0:7}", "latest-prod"]
|
||||
<<: *docker_creds
|
||||
- name: deploy-prod
|
||||
image: pelotech/drone-helm3
|
||||
settings:
|
||||
mode: upgrade
|
||||
chart: ./charts
|
||||
release: bellscheduler-prod
|
||||
namespace: bellscheduler
|
||||
debug: true
|
||||
kube_api_server: "https://172.16.244.150:6443"
|
||||
kube_service_account: drone
|
||||
kube_token:
|
||||
from_secret: kube_token
|
||||
kube_certificate:
|
||||
from_secret: kube_ca_certificate
|
||||
values:
|
||||
- "image.tag=${DRONE_COMMIT_SHA:0:7}"
|
||||
- "ingress.enabled=true"
|
||||
- "ingress.hosts[0].host=bellscheduler.dubyatp.xyz"
|
||||
- "ingress.hosts[0].paths[0].path=/"
|
||||
- "ingress.hosts[0].paths[0].pathType=ImplementationSpecific"
|
||||
- "ingress.tls[0].secretName=tls-secret-replica"
|
||||
- "ingress.tls[0].hosts[0]=bellscheduler.dubyatp.xyz"
|
||||
cleanup_failed_upgrade: true
|
||||
force_upgrade: true
|
||||
depends_on:
|
||||
- build-app-prod
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
Reference in New Issue
Block a user