Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Medizinische Informatik - Öffentliche Projekte
UMG MeDIC
MeDIC Technik
AW Agents
Annotation Agent
Commits
363277c7
Commit
363277c7
authored
May 26, 2021
by
msuhr1
Browse files
Switch to using a generic CDSTAR service in CI Pipeline
parent
5da4632a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
363277c7
...
...
@@ -9,13 +9,23 @@ stages:
services
:
-
couchdb
-
name
:
docker.gitlab.gwdg.de/cdstar/cdstar:v3.0.4
alias
:
cdstar
command
:
[
"
run"
]
variables
:
CDSTAR_URI
:
"
http://
vm18212.virt.gwdg.de
:8080/v3"
CDSTAR_URI
:
"
http://
cdstar
:8080/v3"
CDSTAR_VAULT
:
"
medic"
# variables for CouchDB service; refer to Gitlab project CI variables
COUCHDB_USER
:
$COUCH_USER
COUCHDB_PASSWORD
:
$COUCH_PASS
# variables for CDSTAR service
CDSTAR_HTTP_HOST
:
0.0.0.0
CDSTAR_VAULT_MEDIC_CREATE
:
"
True"
CDSTAR_REALM_STATIC_CLASS
:
StaticRealm
CDSTAR_REALM_STATIC_ROLE_ADMIN
:
"
vault:medic:*:*"
CDSTAR_REALM_STATIC_USER_MEDIC_PASSWORD
:
"
$CDSTAR_PASS_HASHED"
CDSTAR_REALM_STATIC_USER_MEDIC_ROLES
:
"
admin"
build_image
:
stage
:
build
...
...
@@ -43,6 +53,7 @@ run_tests:
COUCH_DB
:
"
annotation_agent_test"
before_script
:
-
curl --connect-timeout 5 $CDSTAR_URI
-
curl http://$CDSTAR_USER:$CDSTAR_PASS@cdstar:8080/v3/$CDSTAR_VAULT
-
curl --connect-timeout 5 $COUCH_URI
-
curl -X PUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@couchdb:5984/_users
-
curl -X PUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@couchdb:5984/_replicator
...
...
Write
Preview
Markdown
is supported
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