mirror of
https://github.com/minoplhy/deployment.git
synced 2025-04-21 18:46:57 +00:00
test: test all star
This commit is contained in:
parent
af83d46b0f
commit
a84eb635f0
20
.github/workflows/alpine-nginx-build.yaml
vendored
20
.github/workflows/alpine-nginx-build.yaml
vendored
@ -32,8 +32,13 @@ jobs:
|
|||||||
- name: Run nginx Builds
|
- name: Run nginx Builds
|
||||||
run: |
|
run: |
|
||||||
build_sh='echo "${NGINX_TAG}"
|
build_sh='echo "${NGINX_TAG}"
|
||||||
TAGS="vanilla"
|
TAGS=("vanilla" "allstar" "lua" "modsecurity")
|
||||||
OPTIONS="--type=nginx"
|
OPTIONS=(
|
||||||
|
"--type=nginx"
|
||||||
|
"--lua --modsecurity --type=nginx"
|
||||||
|
"--lua --type=nginx"
|
||||||
|
"--modsecurity --type=nginx"
|
||||||
|
)
|
||||||
|
|
||||||
RUNNING_PATH=$(pwd)
|
RUNNING_PATH=$(pwd)
|
||||||
echo "RUNNING PATH: ${RUNNING_PATH}" # This output where in the system is running
|
echo "RUNNING PATH: ${RUNNING_PATH}" # This output where in the system is running
|
||||||
@ -49,6 +54,17 @@ jobs:
|
|||||||
# Prepare tar file paths
|
# Prepare tar file paths
|
||||||
HOMEDIRECTORY=~/nginx_scriptbox
|
HOMEDIRECTORY=~/nginx_scriptbox
|
||||||
TAR_PATH="$HOMEDIRECTORY/nginx/objs" # Base Path
|
TAR_PATH="$HOMEDIRECTORY/nginx/objs" # Base Path
|
||||||
|
case "${TAGS[$i]}" in
|
||||||
|
"allstar")
|
||||||
|
TAR_PATH="$TAR_PATH /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity"
|
||||||
|
;;
|
||||||
|
"lua")
|
||||||
|
TAR_PATH="$TAR_PATH /opt/nginx-lua-module /usr/local/lua"
|
||||||
|
;;
|
||||||
|
"modsecurity")
|
||||||
|
TAR_PATH="$TAR_PATH /usr/local/modsecurity"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Create the tarball
|
# Create the tarball
|
||||||
echo "pre-TARing infoiirmation:"
|
echo "pre-TARing infoiirmation:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user