chore: restructure unit testing resources
This commit is contained in:
6
tests/resources/test_recipe/.env.sample
Normal file
6
tests/resources/test_recipe/.env.sample
Normal file
@ -0,0 +1,6 @@
|
||||
RECIPE=test_recipe
|
||||
DOMAIN=test_app.example.com
|
||||
|
||||
# NOTE(d1): ensure commented out TIMEOUT doesn't get included
|
||||
# see TestReadEnv in ./pkg/envfile
|
||||
# TIMEOUT=120
|
15
tests/resources/test_recipe/compose.yml
Normal file
15
tests/resources/test_recipe/compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: nginx:1.29.0
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
labels:
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
6
tests/resources/test_server/test_app.example.com.env
Normal file
6
tests/resources/test_server/test_app.example.com.env
Normal file
@ -0,0 +1,6 @@
|
||||
RECIPE=test_recipe
|
||||
DOMAIN=test_app.example.com
|
||||
|
||||
# NOTE(d1): ensure commented out TIMEOUT doesn't get included
|
||||
# see TestReadEnv in ./pkg/envfile
|
||||
# TIMEOUT=120
|
@ -1,3 +0,0 @@
|
||||
RECIPE=ecloud
|
||||
DOMAIN=ecloud.evil.corp
|
||||
SMTP_AUTHTYPE=login
|
Reference in New Issue
Block a user