generated from coop-cloud/example
Compare commits
No commits in common. "main" and "main" have entirely different histories.
10
.env.sample
10
.env.sample
|
@ -1,20 +1,14 @@
|
|||
TYPE=abra-test-recipe
|
||||
TYPE=abra-integration-test-recipe
|
||||
|
||||
DOMAIN=abra-test-recipe.example.com
|
||||
DOMAIN=abra-integration-test-recipe.example.com
|
||||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.extra_env.yml"
|
||||
|
||||
## Domain aliases
|
||||
#EXTRA_DOMAINS=', `www.{{ .Name }}.example.com`'
|
||||
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
WITH_COMMENT=foo # should be removed
|
||||
|
||||
SECRET_TEST_PASS_ONE_VERSION=v1
|
||||
SECRET_TEST_PASS_TWO_VERSION=v1 # length=10
|
||||
#SECRET_EXTRA_PASS_VERSION=v1
|
||||
#SECRET_LONG_SECRET_VERSION=v1
|
||||
|
||||
NETWORK_WITH_COMMENT=BAZ # should be removed
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# `abra-test-recipe`
|
||||
# `abra-integration-test-recipe`
|
||||
|
||||
Simple app configuration used for the Abra test suite.
|
||||
Test recipe used in the Abra integration test suite.
|
||||
|
||||
<!-- metadata -->
|
||||
|
||||
|
|
11
abra.sh
11
abra.sh
|
@ -1,7 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export OUTER_FOO=baz
|
||||
|
||||
test_cmd(){
|
||||
echo "baz"
|
||||
}
|
||||
|
@ -13,12 +11,3 @@ test_cmd_arg(){
|
|||
test_cmd_args(){
|
||||
echo "$1 $2"
|
||||
}
|
||||
|
||||
test_cmd_export(){
|
||||
export INNER_FOO=bar
|
||||
}
|
||||
|
||||
# NOTE(d1): ensure "export ()" doesn't match on parsing of abra.sh env vars
|
||||
test_cmd_export (){
|
||||
export INNER_BAZ=bing
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- FOO=bar
|
|
@ -1,12 +0,0 @@
|
|||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
secrets:
|
||||
- long_secret
|
||||
|
||||
secrets:
|
||||
long_secret:
|
||||
external: true
|
||||
name: ${STACK_NAME}_long_secret1234567890_${SECRET_LONG_SECRET_VERSION}
|
|
@ -4,11 +4,8 @@ version: "3.8"
|
|||
services:
|
||||
app:
|
||||
image: nginx:1.21.0
|
||||
environment:
|
||||
- TEST_ENV_STANZA=DING # should be removed
|
||||
networks:
|
||||
- proxy
|
||||
- net_with_comment
|
||||
volumes:
|
||||
- test-volume:/var/www
|
||||
secrets:
|
||||
|
@ -45,7 +42,7 @@ services:
|
|||
secrets:
|
||||
test_pass_one:
|
||||
external: true
|
||||
name: ${STACK_NAME}_test_pass_one_${SECRET_TEST_PASS_ONE_VERSION} # should be removed
|
||||
name: ${STACK_NAME}_test_pass_one_${SECRET_TEST_PASS_ONE_VERSION}
|
||||
test_pass_two:
|
||||
external: true
|
||||
name: ${STACK_NAME}_test_pass_two_${SECRET_TEST_PASS_TWO_VERSION}
|
||||
|
@ -56,5 +53,3 @@ volumes:
|
|||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
net_with_comment:
|
||||
name: ${NETWORK_WITH_COMMENT}
|
||||
|
|
Loading…
Reference in New Issue