Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nginx-package-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
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
Server Tools
nginx-package-build
Commits
6d613f4c
Commit
6d613f4c
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Reduce repetition
parent
f8aaa492
Branches
Branches containing commit
No related tags found
1 merge request
!1
Add build
Pipeline
#1121
passed
6 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+27
-27
27 additions, 27 deletions
.gitlab-ci.yml
with
27 additions
and
27 deletions
.gitlab-ci.yml
+
27
−
27
View file @
6d613f4c
before_script
:
-
echo $NGINX_VERSION
-
echo $NGINX_BINARY
# Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build.
-
curl -o nginx-build "${NGINX_BINARY}"
-
chmod +x nginx-build
-
./nginx-build -V
build-deb:jessie
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:jessie
before_script
:
-
echo $NGINX_VERSION_JESSIE
-
echo $NGINX_BINARY_JESSIE
# Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build.
-
curl -o nginx-build "${NGINX_BINARY_JESSIE}"
-
chmod +x nginx-build
-
./nginx-build -V
variables
:
NGINX_BINARY
:
$NGINX_BINARY_JESSIE
NGINX_VERSION
:
$NGINX_VERSION_JESSIE
script
:
-
cd source
-
debuild -us -uc
artifacts
:
paths
:
-
nginx_${NGINX_VERSION
_JESSIE
}*
-
nginx_${NGINX_VERSION}*
-
nginx-dbgsym_*
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
-
nginx -V
...
...
@@ -29,25 +35,22 @@ test-deb:jessie:
build-deb:stretch
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:stretch
before_script
:
-
echo $NGINX_VERSION_STRETCH
-
echo $NGINX_BINARY_STRETCH
# Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build.
-
curl -o nginx-build "${NGINX_BINARY_STRETCH}"
-
chmod +x nginx-build
-
./nginx-build -V
variables
:
NGINX_BINARY
:
$NGINX_BINARY_STRETCH
NGINX_VERSION
:
$NGINX_VERSION_STRETCH
script
:
-
cd source
-
debuild -us -uc
artifacts
:
paths
:
-
nginx_${NGINX_VERSION
_STRETCH
}*
-
nginx_${NGINX_VERSION}*
-
nginx-dbgsym_*
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
-
nginx -V
...
...
@@ -57,25 +60,22 @@ test-deb:stretch:
build-deb:buster
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:buster
before_script
:
-
echo $NGINX_VERSION_BUSTER
-
echo $NGINX_BINARY_BUSTER
# Relies on latest binary build artifact from https://git.ethitter.com/debian/nginx-build.
-
curl -o nginx-build "${NGINX_BINARY_BUSTER}"
-
chmod +x nginx-build
-
./nginx-build -V
variables
:
NGINX_BINARY
:
$NGINX_BINARY_BUSTER
NGINX_VERSION
:
$NGINX_VERSION_BUSTER
script
:
-
cd source
-
debuild -us -uc
artifacts
:
paths
:
-
nginx_${NGINX_VERSION
_BUSTER
}*
-
nginx_${NGINX_VERSION}*
-
nginx-dbgsym_*
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
-
nginx -V
...
...
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