Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Wiki
Commits
ee7ed09e
Commit
ee7ed09e
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
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
!167
Download server data
Pipeline
#119074
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
with
11 additions
and
0 deletions
.gitlab-ci.yml
+
11
−
0
View file @
ee7ed09e
...
@@ -41,6 +41,7 @@ stages:
...
@@ -41,6 +41,7 @@ stages:
-
build
-
build
-
build-wiki
-
build-wiki
-
deploy
-
deploy
-
load-website
.docker-login
:
&docker-login
.docker-login
:
&docker-login
...
@@ -464,3 +465,13 @@ delete-helm-release:prod:
...
@@ -464,3 +465,13 @@ delete-helm-release:prod:
script
:
script
:
-
echo "Removing $CI_PROJECT_NAME-$CI_ENVIRONMENT_NAME"
-
echo "Removing $CI_PROJECT_NAME-$CI_ENVIRONMENT_NAME"
-
helm delete -n ${NAMESPACE} $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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment