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
58efcae2
"inc/class-plugin.php" did not exist on "8c55298d59db3ab245a98238387bb4a637d197ba"
Commit
58efcae2
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix/2-rename' into 'master'
Prevent artifact name collisions Closes
#2
See merge request
!2
parents
a6709988
d157d5da
No related branches found
No related tags found
1 merge request
!2
Prevent artifact name collisions
Pipeline
#1126
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
+23
-12
23 additions, 12 deletions
.gitlab-ci.yml
with
23 additions
and
12 deletions
.gitlab-ci.yml
+
23
−
12
View file @
58efcae2
...
...
@@ -7,28 +7,35 @@ before_script:
-
chmod +x nginx-build
-
./nginx-build -V
after_script
:
-
mkdir -p ${CI_PROJECT_DIR}/${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
variables
:
NGINX_BINARY
:
$NGINX_BINARY_JESSIE
NGINX_VERSION
:
$NGINX_VERSION_JESSIE
BUILD_DIR
:
'
build-jessie'
script
:
-
cd source
-
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
-
export BUILD_DIR="${CI_PROJECT_DIR}/build-jessie"
script
:
-
dpkg -i nginx_${NGINX_VERSION_JESSIE}*.deb
-
dpkg -i
${BUILD_DIR}/
nginx_${NGINX_VERSION_JESSIE}*.deb
-
nginx -V
after_script
:
-
'
'
dependencies
:
-
build-deb:jessie
...
...
@@ -38,22 +45,24 @@ build-deb:stretch:
variables
:
NGINX_BINARY
:
$NGINX_BINARY_STRETCH
NGINX_VERSION
:
$NGINX_VERSION_STRETCH
BUILD_DIR
:
'
build-stretch'
script
:
-
cd source
-
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
-
export BUILD_DIR="${CI_PROJECT_DIR}/build-stretch"
script
:
-
dpkg -i nginx_${NGINX_VERSION_STRECTH}*.deb
-
dpkg -i
${BUILD_DIR}/
nginx_${NGINX_VERSION_STRECTH}*.deb
-
nginx -V
after_script
:
-
'
'
dependencies
:
-
build-deb:stretch
...
...
@@ -63,21 +72,23 @@ build-deb:buster:
variables
:
NGINX_BINARY
:
$NGINX_BINARY_BUSTER
NGINX_VERSION
:
$NGINX_VERSION_BUSTER
BUILD_DIR
:
'
build-buster'
script
:
-
cd source
-
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
-
export BUILD_DIR="${CI_PROJECT_DIR}/build-buster"
script
:
-
dpkg -i nginx_${NGINX_VERSION_BUSTER}*.deb
-
dpkg -i
${BUILD_DIR}/
nginx_${NGINX_VERSION_BUSTER}*.deb
-
nginx -V
after_script
:
-
'
'
dependencies
:
-
build-deb:buster
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