Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
N
nginx-package-build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Server Tools
nginx-package-build
Commits
d049d54f
Commit
d049d54f
authored
May 27, 2019
by
Erick Hitter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"Namespace" artifacts by the Debian release they correspond to
Fixes
#2
parent
a6709988
Pipeline
#1123
failed with stages
in 1 minute and 57 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
12 deletions
+21
-12
.gitlab-ci.yml
.gitlab-ci.yml
+21
-12
No files found.
.gitlab-ci.yml
View file @
d049d54f
...
...
@@ -7,6 +7,12 @@ before_script:
-
chmod +x nginx-build
-
./nginx-build -V
after_script
:
-
export $BUILD_DIR=$CI_PROJECT_DIR/deb-$(lsb_release -r)
-
mkdir $BUILD_DIR
-
mv $CI_PROJECT_DIR/nginx_${NGINX_VERSION}* $BUILD_DIR
-
mv $CI_PROJECT_DIR/nginx-dbgsym_* $BUILD_DIR
build-deb:jessie:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:jessie
...
...
@@ -18,17 +24,18 @@ build-deb:jessie:
-
debuild -us -uc
artifacts
:
paths
:
-
nginx_${NGINX_VERSION}*
-
nginx-dbgsym_*
-
$BUILD_DIR
test-deb:jessie:
stage
:
test
image
:
containers.ethitter.com:443/docker/images/debian:jessie
before_script
:
-
date
-
'
'
script
:
-
dpkg -i nginx_${NGINX_VERSION_JESSIE}*.deb
-
dpkg -i
deb-$(lsb_release -r)/
nginx_${NGINX_VERSION_JESSIE}*.deb
-
nginx -V
after_script
:
-
'
'
dependencies
:
-
build-deb:jessie
...
...
@@ -43,17 +50,18 @@ build-deb:stretch:
-
debuild -us -uc
artifacts
:
paths
:
-
nginx_${NGINX_VERSION}*
-
nginx-dbgsym_*
-
$BUILD_DIR
test-deb:stretch:
stage
:
test
image
:
containers.ethitter.com:443/docker/images/debian:stretch
before_script
:
-
date
-
'
'
script
:
-
dpkg -i nginx_${NGINX_VERSION_STRECTH}*.deb
-
dpkg -i
deb-$(lsb_release -r)/
nginx_${NGINX_VERSION_STRECTH}*.deb
-
nginx -V
after_script
:
-
'
'
dependencies
:
-
build-deb:stretch
...
...
@@ -68,16 +76,17 @@ build-deb:buster:
-
debuild -us -uc
artifacts
:
paths
:
-
nginx_${NGINX_VERSION}*
-
nginx-dbgsym_*
-
$BUILD_DIR
test-deb:buster:
stage
:
test
image
:
containers.ethitter.com:443/docker/images/debian:buster
before_script
:
-
date
-
'
'
script
:
-
dpkg -i nginx_${NGINX_VERSION_BUSTER}*.deb
-
dpkg -i
deb-$(lsb_release -r)/
nginx_${NGINX_VERSION_BUSTER}*.deb
-
nginx -V
after_script
:
-
'
'
dependencies
:
-
build-deb:buster
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment