Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iPPIDB
ippidb-web
Commits
138409a0
Commit
138409a0
authored
Jun 15, 2022
by
Bryan BRANCOTTE
Browse files
deploy release branch into production k8s
parent
6e6e66dd
Pipeline
#83459
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
138409a0
...
...
@@ -180,6 +180,22 @@ deploy-dev:
on_stop
:
delete-dev-deployment
deploy-prod
:
stage
:
deploy
needs
:
-
"
test-pg"
extends
:
.deploy
only
:
-
release
variables
:
NAMESPACE
:
"
ippidb-prod"
PUBLIC_URL
:
"
ippidb-internal.pasteur.cloud"
INGRESS_CLASS
:
"
internal"
environment
:
name
:
"
k8sprod-02/ippidb-prod/${CI_COMMIT_REF_SLUG}"
url
:
"
https://ippidb-internal.pasteur.cloud"
delete-dev-deployment
:
stage
:
deploy
needs
:
[]
...
...
README.md
View file @
138409a0
...
...
@@ -16,7 +16,9 @@ ln -s ippisite/.flake8 .flake8
## Copy data to helm container
```
shell
# the first time, create a context, safer and easier than specifying the namespace a each command
kubectl config set-context ippidb-dev
--cluster
=
k8sdev-01
--user
=
$USER
@k8sdev-01
--namespace
ippidb-dev
export
K8S_USER
=
$USER
kubectl config set-context ippidb-dev
--cluster
=
k8sdev-01
--user
=
$K8S_USER
@k8sdev-01
--namespace
ippidb-dev
kubectl config set-context ippidb-prod
--cluster
=
k8sprod-02
--user
=
$K8S_USER
@k8sprod-02
--namespace
ippidb-prod
```
```
shell
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment