Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSCommon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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
VIPS
VIPSCommon
Commits
15814b59
Commit
15814b59
authored
1 year ago
by
Brita Linnestad
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
0b6d87e3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-11
12 additions, 11 deletions
.gitlab-ci.yml
with
12 additions
and
11 deletions
.gitlab-ci.yml
+
12
−
11
View file @
15814b59
...
@@ -45,17 +45,6 @@ deploy-snapshot:
...
@@ -45,17 +45,6 @@ deploy-snapshot:
# Runs after new SNAPSHOT is deployed to package registry. Triggers job on main branch in model repo,
# Runs after new SNAPSHOT is deployed to package registry. Triggers job on main branch in model repo,
# which builds model with the new version of VIPSCommon. This pipeline fails if model build fails.
# which builds model with the new version of VIPSCommon. This pipeline fails if model build fails.
#verify_model_ALTERNARIA:
# stage: verify
# image: registry.gitlab.com/finestructure/pipeline-trigger
# script:
# - apk add --no-cache openjdk11
# - export PROJECT_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
# - trigger -h gitlab.nibio.no -a "$CICD_API_TOKEN" -p "$ACCESS_TOKEN_ALTERNARIA" -t $MAIN_BRANCH $ALTERNARIA_PROJECT_ID -e VERSION=$PROJECT_VERSION
# tags:
# - vips-java
# rules:
# - if: '$CI_COMMIT_REF_NAME == $MAIN_BRANCH'
verify_model_APPLESCABM
:
verify_model_APPLESCABM
:
stage
:
verify
stage
:
verify
...
@@ -69,6 +58,18 @@ verify_model_APPLESCABM:
...
@@ -69,6 +58,18 @@ verify_model_APPLESCABM:
rules
:
rules
:
-
if
:
'
$CI_COMMIT_REF_NAME
==
$MAIN_BRANCH'
-
if
:
'
$CI_COMMIT_REF_NAME
==
$MAIN_BRANCH'
verify_model_ALTERNARIA
:
stage
:
verify
image
:
registry.gitlab.com/finestructure/pipeline-trigger
script
:
-
apk add --no-cache openjdk11
-
export PROJECT_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
-
trigger -h gitlab.nibio.no -a "$CICD_API_TOKEN" -p "$ACCESS_TOKEN_ALTERNARIA" -t $MAIN_BRANCH $ALTERNARIA_PROJECT_ID -e VERSION=$PROJECT_VERSION
tags
:
-
vips-java
rules
:
-
if
:
'
$CI_COMMIT_REF_NAME
==
$MAIN_BRANCH'
verify_model_MAMESTRABR
:
verify_model_MAMESTRABR
:
stage
:
verify
stage
:
verify
image
:
registry.gitlab.com/finestructure/pipeline-trigger
image
:
registry.gitlab.com/finestructure/pipeline-trigger
...
...
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