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
c3b641b5
Commit
c3b641b5
authored
6 years ago
by
Erick Hitter
Browse files
Options
Downloads
Patches
Plain Diff
Build for Stretch
parent
9ad55a6b
No related branches found
No related tags found
1 merge request
!3
Stretch build
Pipeline
#574
passed
6 years ago
Stage: test_pre_build
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+28
-4
28 additions, 4 deletions
.gitlab-ci.yml
scripts/build.sh
+1
-1
1 addition, 1 deletion
scripts/build.sh
with
29 additions
and
5 deletions
.gitlab-ci.yml
+
28
−
4
View file @
c3b641b5
image
:
containers.ethitter.com:443/docker/images/debian:jessie
stages
:
-
test_pre_build
-
build
-
test
-
deploy
# General tests
test_build_script
:
stage
:
test_pre_build
image
:
koalaman/shellcheck-alpine:latest
script
:
-
shellcheck ./scripts/build.sh
test_build_nginx
:
# Stretch
test_build_nginx_stretch
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:stretch-dev
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
except
:
-
master
build_nginx_stretch
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:stretch-dev
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
artifacts
:
paths
:
-
artifacts
only
:
-
master
# Jessie
test_build_nginx_jessie
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian:jessie
script
:
-
chmod +x ./scripts/build.sh
-
./scripts/build.sh
except
:
-
master
build_nginx
:
build_nginx
_jessie
:
stage
:
build
image
:
containers.ethitter.com:443/docker/images/debian: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 @
c3b641b5
...
...
@@ -17,7 +17,7 @@ echo ""
NGINX_ARTIFACT_PATH
=
"
$OG_DIR
/artifacts"
export
NGINX_ARTIFACT_PATH
NGINX_BUILT_BINARY_PATH
=
"
$NGINX_ARTIFACT_PATH
/nginx_
${
NGINX_TAG
}
_
${
OPENSSL_TAG
}
"
NGINX_BUILT_BINARY_PATH
=
"
$
{
NGINX_ARTIFACT_PATH
}
/nginx_
$
(
lsb_release
-sc
)
_
$
{
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