Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
minerva
core
Commits
39b7bb1c
Commit
39b7bb1c
authored
6 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
build debian package rely on build war file
parent
e4d660f7
No related branches found
No related tags found
2 merge requests
!630
WIP: Resolve "The privileges of a new user are not saved in some cases"
,
!393
Continous integration tests for upgrading existing debian package from r3lab repository
Pipeline
#6360
failed
6 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-7
10 additions, 7 deletions
.gitlab-ci.yml
with
10 additions
and
7 deletions
.gitlab-ci.yml
+
10
−
7
View file @
39b7bb1c
...
...
@@ -154,7 +154,7 @@ test_backend 15 15:
-
mvn test -pl service
build_war
:
image
:
debian
image
:
maven:latest
stage
:
build
only
:
-
tags
...
...
@@ -163,11 +163,12 @@ build_war:
artifacts
:
paths
:
-
minerva.war
expire_in
:
1 day
script
:
-
apt-get update
-
apt-get install -y curl
sudo
gnupg git
openjdk-8-jdk ant maven
-
apt-get install -y curl gnupg git
ant sudo
-
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
-
sudo
apt-get install -y nodejs
-
apt-get install -y nodejs
-
ant maven-build
-
cp web/target/web-1.0.war minerva.war
...
...
@@ -178,17 +179,19 @@ build_debian_package:
-
tags
tags
:
-
privileged
dependencies
:
-
build_war
artifacts
:
paths
:
-
"
debian/*.deb"
script
:
-
mkdir web/target/
-
mv minerva.war web/target/
-
apt-get update
-
apt-get install -y curl sudo gnupg git openjdk-8-jdk ant maven dh-make build-essential lintian devscripts xsltproc fakeroot xsltproc docbook-xsl
-
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
-
sudo apt-get install -y nodejs
-
apt-get install -y dh-make build-essential lintian devscripts xsltproc fakeroot xsltproc docbook-xsl
-
export DEBFULLNAME="Piotr Gawron"
-
export DEBEMAIL="piotr.gawron@uni.lu"
-
ant
debian-pkg
-
debian/create-
debian-pkg
.sh
test_install_debian_package
:
image
:
debian
...
...
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