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

WIP: pipeline

parent 259ec349
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -24,7 +24,7 @@ variables:
CPPLIB_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-cpplib/testenv:$CI_COMMIT_REF_NAME
CPPINTTEST_PIPELINE: https://gitlab.indiscale.com/api/v4/projects/111/trigger/pipeline
CPPINTTEST_BRANCHES: https://gitlab.indiscale.com/api/v4/projects/111/branches
CPPINTTEST_BRANCHES: https://gitlab.indiscale.com/api/v4/projects/111/repository/branches
GIT_SUBMODULE_STRATEGY: normal
## FOR DEBUGGING
......@@ -95,13 +95,9 @@ trigger_inttest:
script:
## Determine the cppinttest branch...
- command -v wget
# ... use an f-branch if posible...
- if echo "$CI_COMMIT_REF_NAME" | grep -c "^f-" ; then
echo "Check if caosdb_cppinttest has branch $CI_COMMIT_REF_NAME" ;
if wget ${CPPINTTEST_BRANCHES}/${CI_COMMIT_REF_NAME} ; then
CPPINT_REF=$CI_COMMIT_REF_NAME ;
fi;
CPPINT_REF=$CI_COMMIT_REF_NAME ;
fi;
# ... or use main if possible...
- if [[ "$CI_COMMIT_REF_NAME" == "main" ]] ; then
......
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