Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
Resin
Server
Commits
eb66c022
Commit
eb66c022
authored
10 months ago
by
Etienne LOUPIAS
Browse files
Options
Downloads
Patches
Plain Diff
chore(ci): rename file
parent
cd74e2a5
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!420
V3.2.0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
k8s/90-res-maintenance.yml
+10
-9
10 additions, 9 deletions
k8s/90-res-maintenance.yml
scripts/db/oc-mongodb-copy.sh
+0
-0
0 additions, 0 deletions
scripts/db/oc-mongodb-copy.sh
with
13 additions
and
11 deletions
.gitlab-ci.yml
+
3
−
2
View file @
eb66c022
...
...
@@ -127,7 +127,7 @@ sonarqube:
script
:
-
if [ "$CI_ENVIRONMENT_NAME" == "dev" ]; then export KUBECONFIG=$KUBECONFIG_DEV; fi
-
if [ "$CI_ENVIRONMENT_NAME" == "rec" ]; then export KUBECONFIG=$KUBECONFIG_REC; fi
-
./scripts/db/oc-mongodb-copy
-prod
.sh
-
./scripts/db/oc-mongodb-copy.sh
tags
:
-
ns-res-$NAMESPACE_ENV-syn
...
...
@@ -170,7 +170,8 @@ db-copy-20-rec:
-
ls k8s/env/
-
oc whoami
-
oc apply -f k8s/env/
-
oc delete pod -l app=res-server
# Delete the previous pod to avoid data changes while migration is run by the new pod
-
oc delete pod -l app=res-server; fi
tags
:
-
ns-res-$NAMESPACE_ENV-syn
...
...
This diff is collapsed.
Click to expand it.
k8s/90-res-maintenance.yml
+
10
−
9
View file @
eb66c022
...
...
@@ -16,15 +16,16 @@ spec:
-
name
:
res-pvc-files
persistentVolumeClaim
:
claimName
:
pvc-01-ns-res-$NAMESPACE_ENV-syn-claim
-
name
:
res-pvc-data
persistentVolumeClaim
:
claimName
:
pvc-02-ns-res-$NAMESPACE_ENV-syn-claim
-
name
:
res-pvc-data-ghost
persistentVolumeClaim
:
claimName
:
pvc-03-ns-res-$NAMESPACE_ENV-syn-claim
-
name
:
res-pvc-es
persistentVolumeClaim
:
claimName
:
pvc-04-ns-res-$NAMESPACE_ENV-syn-claim
# /!\ Only for debugging or panic purpose ! These block-typed PVC can not be mounted of more than one POD.
#- name: res-pvc-data
# persistentVolumeClaim:
# claimName: pvc-02-ns-res-$NAMESPACE_ENV-syn-claim
#- name: res-pvc-data-ghost
# persistentVolumeClaim:
# claimName: pvc-03-ns-res-$NAMESPACE_ENV-syn-claim
#- name: res-pvc-es
# persistentVolumeClaim:
# claimName: pvc-04-ns-res-$NAMESPACE_ENV-syn-claim
securityContext
:
seLinuxOptions
:
type
:
spc_t
...
...
This diff is collapsed.
Click to expand it.
scripts/db/oc-mongodb-copy
-prod
.sh
→
scripts/db/oc-mongodb-copy.sh
+
0
−
0
View file @
eb66c022
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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