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
50c24c55
Commit
50c24c55
authored
1 year ago
by
Lene Wasskog
Browse files
Options
Downloads
Patches
Plain Diff
build: Un-skip build + test, document verify job
parent
916aa585
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-6
3 additions, 6 deletions
.gitlab-ci.yml
with
3 additions
and
6 deletions
.gitlab-ci.yml
+
3
−
6
View file @
50c24c55
...
@@ -21,8 +21,6 @@ build:
...
@@ -21,8 +21,6 @@ build:
-
./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS package
-
./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS package
tags
:
tags
:
-
vips-java
-
vips-java
rules
:
-
if
:
'
"1"
==
"2"'
test
:
test
:
stage
:
test
stage
:
test
...
@@ -30,8 +28,6 @@ test:
...
@@ -30,8 +28,6 @@ test:
-
./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS test
-
./mvnw $MAVEN_CLI_OPTS $MAVEN_OPTS test
tags
:
tags
:
-
vips-java
-
vips-java
rules
:
-
if
:
'
"1"
==
"2"'
deploy-snapshot
:
deploy-snapshot
:
stage
:
deploy
stage
:
deploy
...
@@ -40,8 +36,10 @@ deploy-snapshot:
...
@@ -40,8 +36,10 @@ deploy-snapshot:
tags
:
tags
:
-
vips-java
-
vips-java
rules
:
rules
:
-
if
:
'
$CI_COMMIT_REF_NAME
==
$MAIN_BRANCH
&&
"1"
==
"2"
'
-
if
:
'
$CI_COMMIT_REF_NAME
==
$MAIN_BRANCH'
# 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.
verify_models
:
verify_models
:
stage
:
verify
stage
:
verify
image
:
registry.gitlab.com/finestructure/pipeline-trigger
image
:
registry.gitlab.com/finestructure/pipeline-trigger
...
@@ -49,7 +47,6 @@ verify_models:
...
@@ -49,7 +47,6 @@ verify_models:
-
apk add --no-cache openjdk11
-
apk add --no-cache openjdk11
-
export PROJECT_VERSION=$(./mvnw --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
-
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_MAMESTRABR" -t $MAIN_BRANCH $MAMESTRABR_PROJECT_ID -e VERSION=$PROJECT_VERSION
-
trigger -h gitlab.nibio.no -a "$CICD_API_TOKEN" -p "$ACCESS_TOKEN_MAMESTRABR" -t $MAIN_BRANCH $MAMESTRABR_PROJECT_ID -e VERSION=$PROJECT_VERSION
#- "curl -X POST --fail -F token=${CI_JOB_TOKEN} -F ref=$MAIN_BRANCH -F 'variables[VERSION]=$PROJECT_VERSION' https://gitlab.nibio.no/api/v4/projects/31/trigger/pipeline"
tags
:
tags
:
-
vips-java
-
vips-java
rules
:
rules
:
...
...
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