Skip to content
Snippets Groups Projects
Commit 3e5abd1d authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

FIX: Remove f-grpc branch names

parent d2c98216
Branches
Tags
No related merge requests found
Pipeline #25745 passed
...@@ -37,8 +37,8 @@ variables: ...@@ -37,8 +37,8 @@ variables:
# This is the caosdb-deploy branch which build the images for caosdb-server and caosdb-mysql # This is the caosdb-deploy branch which build the images for caosdb-server and caosdb-mysql
# TODO change to dev after merge of f-grpc to dev # TODO change to dev after merge of f-grpc to dev
DEPLOY_REF: f-grpc DEPLOY_REF: dev
DEFAULT_CAOSDB_TAG: f-grpc DEFAULT_CAOSDB_TAG: dev
# The defalt branch to use with caosdb-cpplib # The defalt branch to use with caosdb-cpplib
# TODO: Change back to dev once f-consolidate-c has been merged # TODO: Change back to dev once f-consolidate-c has been merged
...@@ -146,11 +146,13 @@ test: ...@@ -146,11 +146,13 @@ test:
- if [[ "$CAOSDB_TAG" == "" ]]; then - if [[ "$CAOSDB_TAG" == "" ]]; then
if echo "$F_BRANCH" | grep -c "^f-" ; then if echo "$F_BRANCH" | grep -c "^f-" ; then
CAOSDB_TAG=${DEPLOY_REF}_F_${F_BRANCH}; CAOSDB_TAG=${DEPLOY_REF}_F_${F_BRANCH};
docker pull $CI_REGISTRY/caosdb/src/caosdb-deploy:$CAOSDB_TAG || CAOSDB_TAG="${DEFAULT_CAOSDB_TAG}_F_dev" ; 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=${DEFAULT_CAOSDB_TAG}_F_main ; CAOSDB_TAG=main ;
elif [ "$F_BRANCH" == "dev" ] ; then
CAOSDB_TAG=dev ;
else else
CAOSDB_TAG="${DEFAULT_CAOSDB_TAG}_F_dev" ; CAOSDB_TAG="${DEFAULT_CAOSDB_TAG}" ;
fi; fi;
fi fi
# Set the F_BRANCH variable to the current branch name if it # Set the F_BRANCH variable to the current branch name if it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment