Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Octave library
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Octave library
Commits
222ccbee
Verified
Commit
222ccbee
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: pipeline
parent
e7f2d6e3
No related branches found
No related tags found
1 merge request
!4
Documentation
Pipeline
#13777
passed
3 years ago
Stage: setup
Stage: test
Stage: deploy
Pipeline: caosdb-octaveinttest
#13778
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-1
6 additions, 1 deletion
.gitlab-ci.yml
with
6 additions
and
1 deletion
.gitlab-ci.yml
+
6
−
1
View file @
222ccbee
...
@@ -27,6 +27,7 @@ variables:
...
@@ -27,6 +27,7 @@ variables:
CPPLIB_BRANCH
:
f-cpp-to-string
CPPLIB_BRANCH
:
f-cpp-to-string
OCTAVEINTTEST_PIPELINE
:
https://gitlab.indiscale.com/api/v4/projects/121/trigger/pipeline
OCTAVEINTTEST_PIPELINE
:
https://gitlab.indiscale.com/api/v4/projects/121/trigger/pipeline
OCTAVEINTTEST_BRANCHES
:
https://gitlab.indiscale.com/api/v4/projects/121/repository/branches
image
:
$OCTAVE_REGISTRY_IMAGE
image
:
$OCTAVE_REGISTRY_IMAGE
...
@@ -104,7 +105,11 @@ trigger_inttest:
...
@@ -104,7 +105,11 @@ trigger_inttest:
## Determine the octaveinttest branch...
## Determine the octaveinttest branch...
# ... sync'ed f-branch (f-bar on octavelib requires f-bar on octaveinttest)...
# ... sync'ed f-branch (f-bar on octavelib requires f-bar on octaveinttest)...
-
if echo "$CI_COMMIT_REF_NAME" | grep -c "^f-" ; then
-
if echo "$CI_COMMIT_REF_NAME" | grep -c "^f-" ; then
if curl -o /dev/null -s -w "%{http_code}" $OCTAVEINTTEST_BRANCHES/$CI_COMMIT_REF_NAME | grep "404"; then
OCTAVEINT_REF=dev ;
else
OCTAVEINT_REF=$CI_COMMIT_REF_NAME ;
OCTAVEINT_REF=$CI_COMMIT_REF_NAME ;
fi
fi;
fi;
# ... or use main if possible...
# ... or use main if possible...
-
if [[ "$CI_COMMIT_REF_NAME" == "main" ]] ; then
-
if [[ "$CI_COMMIT_REF_NAME" == "main" ]] ; then
...
...
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