This commit is contained in:
parent
279086c56a
commit
e4bc2ea31b
16
.drone.yml
16
.drone.yml
@ -27,4 +27,20 @@ steps:
|
||||
from_secret: DOCKER_REGISTRY
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
# when:
|
||||
# event: tag
|
||||
|
||||
- name: k8s rollout
|
||||
image: bitnami/kubectl
|
||||
commands:
|
||||
- cd deploy && bash -c 'for f in *.yaml; do envsubst < $f | kubectl apply -f -; done'
|
||||
environment:
|
||||
NODED_DOMAIN:
|
||||
from_secret: NODED_DOMAIN
|
||||
NODED_DATABASE_HOST:
|
||||
from_secret: NODED_DATABASE_HOST
|
||||
NODED_REDIS_HOST:
|
||||
from_secret: NODED_REDIS_HOST
|
||||
NODED_DATABASE_NAME:
|
||||
from_secret: NODED_DATABASE_NAME
|
||||
# when:
|
||||
# event: tag
|
||||
|
Loading…
Reference in New Issue
Block a user