Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
df7e6043
Commit
df7e6043
authored
Feb 17, 2021
by
Markus Scheidgen
Browse files
Added prod test deploy and fixed beta deploy.
parent
130a3556
Pipeline
#93725
passed with stages
in 22 minutes and 26 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
df7e6043
...
...
@@ -176,13 +176,27 @@ deploy prod beta:
-
echo ${CI_K8S_PROD_CONFIG} | base64 -d > ${KUBECONFIG}
script
:
-
helm dependency update ops/helm/nomad
-
helm upgrade --install nomad-
prod-test
ops/helm/nomad -f ops/helm/nomad/deployments/prod-beta-values.yaml --set image.tag=$CI_COMMIT_REF_NAME,roll=true --wait
-
helm upgrade --install nomad-
beta
ops/helm/nomad -f ops/helm/nomad/deployments/prod-beta-values.yaml --set image.tag=$CI_COMMIT_REF_NAME,roll=true --wait
-
docker pull $TEST_IMAGE
-
docker run -t -e NOMAD_KEYCLOAK_REALM_NAME=fairdi_nomad_prod $TEST_IMAGE python -m nomad.cli client -n https://nomad-lab.eu/prod/rae/beta/api -u test -w $CI_NOMAD_TEST_PASSWORD integrationtests --skip-publish --skip-doi
except
:
-
/^dev-.*$/
when
:
manual
deploy prod test
:
stage
:
release
before_script
:
-
mkdir -p /etc/deploy
-
echo ${CI_K8S_PROD_CONFIG} | base64 -d > ${KUBECONFIG}
script
:
-
helm dependency update ops/helm/nomad
-
helm upgrade --install nomad-test ops/helm/nomad -f ops/helm/nomad/deployments/prod-test-values.yaml --set image.tag=$CI_COMMIT_REF_NAME,roll=true --wait
-
docker pull $TEST_IMAGE
-
docker run -t -e NOMAD_KEYCLOAK_REALM_NAME=fairdi_nomad_prod $TEST_IMAGE python -m nomad.cli client -n https://nomad-lab.eu/prod/rae/test/api -u test -w $CI_NOMAD_TEST_PASSWORD integrationtests --skip-publish --skip-doi
except
:
-
/^dev-.*$/
when
:
manual
release latest image
:
stage
:
release
script
:
...
...
ops/helm/nomad/deployments/prod-beta-values.yaml
View file @
df7e6043
...
...
@@ -22,6 +22,9 @@ gui:
encyclopediaEnabled
:
true
aitoolkitEnabled
:
true
app
:
replicas
:
2
worker
:
replicas
:
1
routing
:
"
queue"
...
...
ops/helm/nomad/deployments/prod-test-values.yaml
0 → 100644
View file @
df7e6043
version
:
label
:
"
v0.9.8"
isBeta
:
true
usesBetaData
:
false
officialUrl
:
"
https://nomad-lab.eu/prod/rae/gui"
image
:
tag
:
"
latest"
pullPolicy
:
"
Always"
proxy
:
nodePort
:
30014
nodeIP
:
'
130.183.207.81'
external
:
host
:
"
nomad-lab.eu"
path
:
"
/prod/rae/test"
gui
:
debug
:
true
matomoEnabled
:
false
matomoSiteId
:
2
encyclopediaEnabled
:
true
aitoolkitEnabled
:
true
app
:
replicas
:
1
worker
:
replicas
:
1
routing
:
"
queue"
processes
:
10
nomadNodeType
:
"
prod-worker"
elastic
:
host
:
elasticsearch.elasticsearch.svc.cluster.local
port
:
9200
mongo
:
host
:
rs0/mongodb-0.mongo.mongodb.svc.cluster.local,mongodb-1.mongo.mongodb.svc.cluster.local,mongodb-2.mongo.mongodb.svc.cluster.local
logstash
:
host
:
logstash.elk.svc.cluster.local
dbname
:
fairdi_nomad_test_v0_8
uploadurl
:
'
http://nomad-lab.eu/prod/rae/test/api/uploads'
client
:
passwordSecret
:
'
nomad-keycloak-password'
keycloak
:
serverUrl
:
"
https://nomad-lab.eu/fairdi/keycloak/auth/"
passwordSecret
:
'
nomad-keycloak-password'
realmName
:
'
fairdi_nomad_prod'
clientId
:
'
nomad_public'
admin_user_id
:
'
82efac55-6187-408c-8027-b98580c0e1c5'
volumes
:
prefixSize
:
1
public
:
/nomad/fairdi/test/fs/public
staging
:
/nomad/fairdi/test/fs/staging
tmp
:
/nomad/fairdi/test/fs/tmp
nomad
:
/nomad
mail
:
enabled
:
true
host
:
'
mailrelay.mpcdf.mpg.de'
port
:
25
from
:
'
webmaster@nomad-coe.eu'
ops/helm/nomad/values.yaml
View file @
df7e6043
...
...
@@ -140,7 +140,7 @@ kibana:
host
:
nomad-flink-01.esc
mail
:
enabled
:
"
false
"
enabled
:
false
host
:
'
localhost'
port
:
25
from
:
'
support@nomad-lab.eu'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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