Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nginx-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
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-build
Commits
dcdbb58e
Commit
dcdbb58e
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Plain Diff
Merge branch 'add/buster' into 'master'
Add buster build See merge request
!4
parents
1969c325
9a5a064f
Branches
Branches containing commit
No related tags found
1 merge request
!4
Add buster build
Pipeline
#4676
passed
2 years ago
Stage: test_pre_build
Stage: build
Changes
2
Pipelines
60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+34
-0
34 additions, 0 deletions
.gitlab-ci.yml
scripts/build.sh
+1
-1
1 addition, 1 deletion
scripts/build.sh
with
35 additions
and
1 deletion
.gitlab-ci.yml
+
34
−
0
View file @
dcdbb58e
...
...
@@ -11,10 +11,38 @@ test_build_script:
script
:
-
shellcheck ./scripts/build.sh
# Buster
test_build_nginx_buster
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:buster
variables
:
RELEASE_CODE_NAME
:
buster
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
except
:
-
master
build_nginx_buster
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:buster
variables
:
RELEASE_CODE_NAME
:
buster
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
artifacts
:
paths
:
-
artifacts
only
:
-
master
# Stretch
test_build_nginx_stretch
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:stretch
variables
:
RELEASE_CODE_NAME
:
stretch
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
...
...
@@ -24,6 +52,8 @@ test_build_nginx_stretch:
build_nginx_stretch
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:stretch
variables
:
RELEASE_CODE_NAME
:
stretch
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
...
...
@@ -37,6 +67,8 @@ build_nginx_stretch:
test_build_nginx_jessie
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:jessie
variables
:
RELEASE_CODE_NAME
:
jessie
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
...
...
@@ -46,6 +78,8 @@ test_build_nginx_jessie:
build_nginx_jessie
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:jessie
variables
:
RELEASE_CODE_NAME
:
jessie
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
...
...
This diff is collapsed.
Click to expand it.
scripts/build.sh
+
1
−
1
View file @
dcdbb58e
...
...
@@ -17,7 +17,7 @@ echo ""
NGINX_ARTIFACT_PATH
=
"
$OG_DIR
/artifacts"
export
NGINX_ARTIFACT_PATH
NGINX_BUILT_BINARY_PATH
=
"
${
NGINX_ARTIFACT_PATH
}
/nginx_
$
(
lsb_release
-sc
)
_
${
NGINX_TAG
}
_
${
OPENSSL_TAG
}
"
NGINX_BUILT_BINARY_PATH
=
"
${
NGINX_ARTIFACT_PATH
}
/nginx_
$
{
RELEASE_CODE_NAME
}
_
${
NGINX_TAG
}
_
${
OPENSSL_TAG
}
"
export
NGINX_BUILT_BINARY_PATH
mkdir
-p
"
$NGINX_ARTIFACT_PATH
"
...
...
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