Testing more
This commit is contained in:
parent
5876377930
commit
80794e720d
12
.drone.yml
12
.drone.yml
@ -21,17 +21,13 @@ steps:
|
||||
from_secret: gitea_password
|
||||
ARGO_TOKEN:
|
||||
from_secret: argo_token
|
||||
- name: "Check for env variables indicating running in pod"
|
||||
image: alpine
|
||||
commands:
|
||||
- echo $KUBERNETES_SERVICE_HOST
|
||||
- echo $KUBERNETES_SERVICE_PORT
|
||||
- cat /var/run/secrets/kubernetes.io/serviceaccount/token
|
||||
- name: "Install kubectl"
|
||||
image: bitnami/kubectl
|
||||
environment:
|
||||
KUBE_TOKEN:
|
||||
from_secret: kube_token
|
||||
commands:
|
||||
- kubectl apply -s https://rassigma.avril:6443 -f application-manifests.yaml
|
||||
# TODO - step to apply manifests
|
||||
- kubectl apply -s https://rassigma.avril:6443 --token $KUBE_TOKEN -f application-manifests.yaml
|
||||
|
||||
image_pull_secrets:
|
||||
- dockerconfigjson
|
||||
|
Loading…
x
Reference in New Issue
Block a user