Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSCore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
VIPSCore
Commits
d6565379
Commit
d6565379
authored
1 year ago
by
Lene Wasskog
Browse files
Options
Downloads
Plain Diff
Merge branch 'release'
parents
035dc7ad
97b4391b
No related branches found
No related tags found
1 merge request
!35
build: New dummy version for testing the pipeline
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-3
2 additions, 3 deletions
.gitlab-ci.yml
pom.xml
+1
-1
1 addition, 1 deletion
pom.xml
with
3 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
3
View file @
d6565379
...
@@ -30,9 +30,7 @@ before_script:
...
@@ -30,9 +30,7 @@ before_script:
-
git config --global user.email "${GITLAB_USER_EMAIL}"
-
git config --global user.email "${GITLAB_USER_EMAIL}"
-
echo "Get common settings"
-
echo "Get common settings"
-
git clone $COMMON_CONFIG_REMOTE $COMMON_CONFIG_LOCAL
-
git clone $COMMON_CONFIG_REMOTE $COMMON_CONFIG_LOCAL
-
cd $COMMON_CONFIG_LOCAL
-
cp $COMMON_CONFIG_LOCAL/$SETTINGS_XML .
-
cp $SETTINGS_XML ../$SETTINGS_XML
-
cd ..
-
rm -rf $COMMON_CONFIG_LOCAL
-
rm -rf $COMMON_CONFIG_LOCAL
-
apt-get update -y && apt-get install -y python3 && apt-get install -y rsync openssh-client
-
apt-get update -y && apt-get install -y python3 && apt-get install -y rsync openssh-client
-
"
python3
build_pom_with_models.py"
-
"
python3
build_pom_with_models.py"
...
@@ -218,6 +216,7 @@ upload-and-tag-release:
...
@@ -218,6 +216,7 @@ upload-and-tag-release:
-
git stash pop
-
git stash pop
# Set release version and deploy. Commit, tag and push.
# Set release version and deploy. Commit, tag and push.
-
"
python3
build_pom_with_models.py"
-
export RELEASE_VERSION=$(./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
-
export RELEASE_VERSION=$(./mvnw $MAVEN_POM_WITH_MODELS $MAVEN_CLI_OPTS $MAVEN_OPTS --batch-mode --no-transfer-progress --non-recursive help:evaluate -Dexpression=project.version | grep -v "\[.*")
-
export RELEASE_TAG="v${RELEASE_VERSION}"
-
export RELEASE_TAG="v${RELEASE_VERSION}"
-
echo "Version to deploy '$RELEASE_VERSION', will be tagged '$RELEASE_TAG'"
-
echo "Version to deploy '$RELEASE_VERSION', will be tagged '$RELEASE_TAG'"
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
1
−
1
View file @
d6565379
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<groupId>
no.nibio
</groupId>
<groupId>
no.nibio
</groupId>
<artifactId>
VIPSCore
</artifactId>
<artifactId>
VIPSCore
</artifactId>
<packaging>
war
</packaging>
<packaging>
war
</packaging>
<version>
9.9.
5-SNAPSHOT
</version>
<version>
9.9.
6
</version>
<name>
VIPSCore
</name>
<name>
VIPSCore
</name>
<url>
http://maven.apache.org
</url>
<url>
http://maven.apache.org
</url>
...
...
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