mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-11-23 00:52:02 +01:00
ci: cleanup test workflow
This commit is contained in:
parent
066ac80822
commit
973a7232cd
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@ -14,6 +14,7 @@ on:
|
||||
- "*.md"
|
||||
|
||||
env:
|
||||
ACME_CA: pebble
|
||||
DOCKER_GEN_CONTAINER_NAME: nginx-proxy-gen
|
||||
IMAGE: nginxproxy/acme-companion
|
||||
NGINX_CONTAINER_NAME: nginx-proxy
|
||||
@ -100,16 +101,13 @@ jobs:
|
||||
ocsp_must_staple,
|
||||
]
|
||||
setup: [2containers, 3containers]
|
||||
acme-ca: [pebble]
|
||||
pebble-config: [pebble-config.json]
|
||||
include:
|
||||
- test-name: acme_eab
|
||||
setup: 2containers
|
||||
acme-ca: pebble
|
||||
pebble-config: pebble-config-eab.json
|
||||
- test-name: acme_eab
|
||||
setup: 3containers
|
||||
acme-ca: pebble
|
||||
pebble-config: pebble-config-eab.json
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -128,19 +126,13 @@ jobs:
|
||||
done
|
||||
|
||||
- name: Setup Pebble
|
||||
if: ${{ matrix.acme-ca == 'pebble' }}
|
||||
env:
|
||||
PEBBLE_CONFIG: ${{ matrix.pebble-config }}
|
||||
run: test/setup/pebble/setup-pebble.sh
|
||||
|
||||
- name: Setup Boulder
|
||||
if: ${{ matrix.acme-ca == 'boulder' }}
|
||||
run: test/setup/setup-boulder.sh
|
||||
|
||||
- name: Setup nginx-proxy
|
||||
env:
|
||||
SETUP: ${{ matrix.setup }}
|
||||
ACME_CA: ${{ matrix.acme-ca }}
|
||||
run: test/setup/setup-nginx-proxy.sh
|
||||
|
||||
# ADD BUILT IMAGE
|
||||
@ -156,7 +148,6 @@ jobs:
|
||||
- name: Integration Testing
|
||||
env:
|
||||
SETUP: ${{ matrix.setup }}
|
||||
ACME_CA: ${{ matrix.acme-ca }}
|
||||
PEBBLE_CONFIG: ${{ matrix.pebble-config }}
|
||||
run: test/run.sh -t ${{ matrix.test-name }} "$IMAGE"
|
||||
|
||||
@ -164,5 +155,4 @@ jobs:
|
||||
if: ${{ failure() }}
|
||||
env:
|
||||
SETUP: ${{ matrix.setup }}
|
||||
ACME_CA: ${{ matrix.acme-ca }}
|
||||
run: test/github_actions/containers-logs.sh
|
||||
|
Loading…
Reference in New Issue
Block a user