Verified Commit cabdda4f authored by tr's avatar tr
Browse files

Do entrypoint

parent 07358fe2
Pipeline #6575 failed with stages
in 18 minutes and 48 seconds
......@@ -5,6 +5,9 @@ include:
Test Image Base:
extends: .test-image
image:
name: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
entrypoint: ["/usr/local/bin/entrypoint"]
script:
- cat /etc/nginx/conf.d/default.conf
- nginx -t 2>&1 | grep ModSecurity-nginx
......@@ -13,6 +16,9 @@ Test Image Base:
Test Image with Server Name:
extends: .test-image
image:
name: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
entrypoint: ["/usr/local/bin/entrypoint"]
variables:
SERVER_NAME: "www.example.com"
script:
......@@ -22,6 +28,9 @@ Test Image with Server Name:
Test Image TLS key:
extends: .test-image
image:
name: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
entrypoint: ["/usr/local/bin/entrypoint"]
variables:
TLS_KEY: "/etc/pki/tls/private/nginx.key"
TLS_CERT: "/etc/pki/tls/certs/nginx.pem"
......@@ -37,6 +46,9 @@ Test Image TLS key:
Test Image Base Backend:
extends: .test-image
image:
name: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"
entrypoint: ["/usr/local/bin/entrypoint"]
variables:
BACKEND: "https://www.example.com/"
script:
......
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