Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vospace-datamodel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
VOSpace INAF
vospace-datamodel
Commits
e2a90693
Commit
e2a90693
authored
2 years ago
by
Nicola Fulvio Calabria
Browse files
Options
Downloads
Patches
Plain Diff
revert to version without revision
parent
a5c45149
No related branches found
No related tags found
No related merge requests found
Pipeline
#15734
passed
2 years ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-40
2 additions, 40 deletions
.gitlab-ci.yml
pom.xml
+2
-29
2 additions, 29 deletions
pom.xml
with
4 additions
and
69 deletions
.gitlab-ci.yml
+
2
−
40
View file @
e2a90693
...
@@ -13,26 +13,11 @@ build:
...
@@ -13,26 +13,11 @@ build:
artifacts
:
artifacts
:
paths
:
paths
:
-
target/vospace-datamodel.jar
-
target/vospace-datamodel.jar
-
flattened-
pom.xml
-
pom.xml
expire_in
:
7 days
expire_in
:
7 days
only
:
only
:
-
master
-
master
build-test
:
stage
:
build
tags
:
-
docker
image
:
maven:3.6.3-openjdk-14
script
:
-
mvn clean package -DskipTests -DfinalName=vospace-datamodel-test -Drevision=0.0.2-TEST
artifacts
:
paths
:
-
target/vospace-datamodel-test.jar
-
flattened-pom.xml
expire_in
:
7 days
only
:
-
test
test
:
test
:
stage
:
test
stage
:
test
tags
:
tags
:
...
@@ -44,17 +29,6 @@ test:
...
@@ -44,17 +29,6 @@ test:
only
:
only
:
-
master
-
master
test-test
:
stage
:
test
tags
:
-
docker
script
:
-
mvn clean test
-
awk -F"," '{ instructions += $4 + $5; covered += $5 } END { print "coverage=" 100*covered/instructions }' target/site/jacoco/jacoco.csv
coverage
:
'
/coverage=\d+\.\d+/'
only
:
-
test
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
tags
:
tags
:
...
@@ -63,20 +37,8 @@ deploy:
...
@@ -63,20 +37,8 @@ deploy:
-
mvn deploy:deploy-file
-
mvn deploy:deploy-file
-Dfile=target/vospace-datamodel.jar
-Dfile=target/vospace-datamodel.jar
-DrepositoryId=ia2.snapshots
-DrepositoryId=ia2.snapshots
-DpomFile=
flattened-
pom.xml
-DpomFile=pom.xml
-Durl=${IA2_MVN_REPO_SNAPSHOTS}
-Durl=${IA2_MVN_REPO_SNAPSHOTS}
only
:
only
:
-
master
-
master
deploy-test
:
stage
:
deploy
tags
:
-
docker
script
:
-
mvn deploy:deploy-file
-Dfile=target/vospace-datamodel-test.jar
-DrepositoryId=ia2.snapshots
-DpomFile=flattened-pom.xml
-Durl=${IA2_MVN_REPO_SNAPSHOTS}
only
:
-
test
This diff is collapsed.
Click to expand it.
pom.xml
+
2
−
29
View file @
e2a90693
...
@@ -3,13 +3,12 @@
...
@@ -3,13 +3,12 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
it.oats.inaf
</groupId>
<groupId>
it.oats.inaf
</groupId>
<artifactId>
vospace-datamodel
</artifactId>
<artifactId>
vospace-datamodel
</artifactId>
<version>
${revision}
</version>
<version>
0.0.2-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<properties>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
14
</maven.compiler.source>
<maven.compiler.source>
14
</maven.compiler.source>
<maven.compiler.target>
14
</maven.compiler.target>
<maven.compiler.target>
14
</maven.compiler.target>
<revision>
0.0.2-SNAPSHOT
</revision>
<finalName>
${project.artifactId}-${project.version}
</finalName>
<finalName>
${project.artifactId}-${project.version}
</finalName>
</properties>
</properties>
...
@@ -60,33 +59,7 @@
...
@@ -60,33 +59,7 @@
</dependencies>
</dependencies>
<build>
<build>
<finalName>
${finalName}
</finalName>
<finalName>
${finalName}
</finalName>
<plugins>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
flatten-maven-plugin
</artifactId>
<version>
1.3.0
</version>
<configuration>
<updatePomFile>
true
</updatePomFile>
<flattenMode>
resolveCiFriendliesOnly
</flattenMode>
<flattenedPomFilename>
flattened-pom.xml
</flattenedPomFilename>
</configuration>
<executions>
<execution>
<id>
flatten
</id>
<phase>
process-resources
</phase>
<goals>
<goal>
flatten
</goal>
</goals>
</execution>
<execution>
<id>
flatten.clean
</id>
<phase>
clean
</phase>
<goals>
<goal>
clean
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<plugin>
<artifactId>
maven-surefire-plugin
</artifactId>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.22.2
</version>
<version>
2.22.2
</version>
...
...
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