Skip to content
Snippets Groups Projects
Verified Commit 7c9cbf7e authored by Timm Fitschen's avatar Timm Fitschen
Browse files

PIPELINE: fix pipeline

parent f0d37a8e
No related branches found
No related tags found
1 merge request!23Add tests for user creation/deletion/retrieval
Pipeline #25187 failed
......@@ -118,17 +118,20 @@ test:
- job: build-test
script:
- echo $PWD
- echo "F_BRANCH = $F_BRANCH"
- echo "CAOSDB_TAG = $CAOSDB_TAG"
- echo "DEPLOY_REF = $DEPLOY_REF"
- ls -la
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- if [[ "$CAOSDB_TAG" == "" ]]; then
- if [ -z "$CAOSDB_TAG" ]; then
if echo "$F_BRANCH" | grep -c "^f-" ; then
CAOSDB_TAG=${DEPLOY_REF}_F_${F_BRANCH};
docker pull $CI_REGISTRY/caosdb/src/caosdb-deploy:$CAOSDB_TAG || CAOSDB_TAG="${DEFAULT_CAOSDB_TAG}" ;
elif [ "$F_BRANCH" == "main" ] ; then
elif [ "$F_BRANCH" = "main" ] ; then
CAOSDB_TAG=main ;
elif [ "$F_BRANCH" == "dev" ] ; then
elif [ "$F_BRANCH" = "dev" ] ; then
CAOSDB_TAG=dev ;
else
CAOSDB_TAG="${DEFAULT_CAOSDB_TAG}" ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment