Commit dcdbb58e authored by Erick Hitter's avatar Erick Hitter

Merge branch 'add/buster' into 'master'

Add buster build

See merge request !4
parents 1969c325 9a5a064f
Pipeline #1557 passed with stages
in 7 minutes and 15 seconds
......@@ -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
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment