Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cppinttest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cppinttest
Commits
7c9cbf7e
Verified
Commit
7c9cbf7e
authored
2 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
PIPELINE: fix pipeline
parent
f0d37a8e
No related branches found
No related tags found
1 merge request
!23
Add tests for user creation/deletion/retrieval
Pipeline
#25187
failed
2 years ago
Stage: info
Stage: setup
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-3
6 additions, 3 deletions
.gitlab-ci.yml
with
6 additions
and
3 deletions
.gitlab-ci.yml
+
6
−
3
View file @
7c9cbf7e
...
...
@@ -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}" ;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment