Skip to content
Snippets Groups Projects
Commit ee7ed09e authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add stage that wait for pod to be ready and load data

parent fec4521b
No related branches found
No related tags found
1 merge request!167Download server data
Pipeline #119074 failed
This commit is part of merge request !167. Comments created here will be created in the context of that merge request.
......@@ -41,6 +41,7 @@ stages:
- build
- build-wiki
- deploy
- load-website
.docker-login: &docker-login
......@@ -464,3 +465,13 @@ delete-helm-release:prod:
script:
- echo "Removing $CI_PROJECT_NAME-$CI_ENVIRONMENT_NAME"
- helm delete -n ${NAMESPACE} $CI_PROJECT_NAME-$CI_ENVIRONMENT_NAME
load-website:
image: harbor.pasteur.fr/kube-system/helm-kubectl:$HELM_VERSION
stage: load-website
needs:
- "deploy:prod"
script:
- kubectl wait pods -l app.kubernetes.io/name=df-wiki --for condition=Ready --timeout=90s
- echo "Le pod est ready"
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment