Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tap_schema_manager
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Marco Molinaro
tap_schema_manager
Commits
55f469d8
Commit
55f469d8
authored
3 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Added CI configuration for publishing installer
parent
93bb5141
No related branches found
No related tags found
No related merge requests found
Pipeline
#8632
failed
3 years ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+22
-0
22 additions, 0 deletions
.gitlab-ci.yml
TASMAN-webapp/local-settings.xml
+22
-0
22 additions, 0 deletions
TASMAN-webapp/local-settings.xml
with
44 additions
and
0 deletions
.gitlab-ci.yml
+
22
−
0
View file @
55f469d8
stages
:
stages
:
-
build
-
build
-
test
-
test
-
deploy
build
:
build
:
stage
:
build
stage
:
build
...
@@ -11,6 +12,16 @@ build:
...
@@ -11,6 +12,16 @@ build:
-
cp config.properties.example config.properties
-
cp config.properties.example config.properties
-
./build.sh embedded
-
./build.sh embedded
build_installer
:
stage
:
build
tags
:
-
docker
image
:
maven:3-openjdk-8
script
:
-
cp config.properties.example config.properties
-
cp TASMAN-webapp/local-settings.xml ~/.m2/settings.xml
-
./build.sh installer
test_backend
:
test_backend
:
stage
:
test
stage
:
test
tags
:
tags
:
...
@@ -21,3 +32,14 @@ test_backend:
...
@@ -21,3 +32,14 @@ test_backend:
-
mvn clean install
-
mvn clean install
-
cd ../TASMAN-core
-
cd ../TASMAN-core
-
mvn clean install
-
mvn clean install
upload_installer
:
stage
:
deploy
tags
:
-
shell
tags
:
-
shell
only
:
-
master
script
:
-
'
curl
--header
"JOB-TOKEN:
$CI_JOB_TOKEN"
--upload-file
install.sh
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/TASMAN/latest/install.sh"'
This diff is collapsed.
Click to expand it.
TASMAN-webapp/local-settings.xml
0 → 100644
+
22
−
0
View file @
55f469d8
<settings
xmlns=
"http://maven.apache.org/SETTINGS/1.2.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/SETTINGS/1.2.0 http://maven.apache.org/xsd/settings-1.2.0.xsd"
>
<mirrors>
<!-- Configuration for allowing HTTP repositories -->
<mirror>
<id>
ia2-internal-repository-http-unblocker
</id>
<mirrorOf>
ia2.internal
</mirrorOf>
<name>
IA2 Maven Internal Repository
</name>
<url>
http://repo.ia2.inaf.it/maven/repository/internal
</url>
<blocked>
false
</blocked>
</mirror>
<mirror>
<id>
ia2-snapshots-repository-http-unblocker
</id>
<mirrorOf>
ia2.snapshots
</mirrorOf>
<name>
IA2 Maven Snapshots Repository
</name>
<url>
http://repo.ia2.inaf.it/maven/repository/snapshots
</url>
<blocked>
false
</blocked>
</mirror>
</mirrors>
</settings>
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