generated from coop-cloud/example
Compare commits
16 Commits
0.1.1+1.20
...
main
Author | SHA1 | Date | |
---|---|---|---|
182edd374f | |||
96a5435d11 | |||
d699b3944e | |||
1e83340e75 | |||
0f5a0570fd | |||
b1c16d9c4d | |||
8f9dd819f7 | |||
0c13aae2e4 | |||
1e8ec66339 | |||
1a0747eda2 | |||
e8e9e1f690 | |||
da3359aec5 | |||
ef18b9d3fc | |||
44756cd11c | |||
1921ebce8f | |||
eae5fb5d29 |
10
.env.sample
10
.env.sample
@ -1,14 +1,18 @@
|
|||||||
TYPE=abra-integration-test-recipe
|
TYPE=abra-test-recipe
|
||||||
|
|
||||||
DOMAIN=abra-integration-test-recipe.example.com
|
DOMAIN=abra-test-recipe.example.com
|
||||||
|
|
||||||
COMPOSE_FILE="compose.yml"
|
COMPOSE_FILE="compose.yml"
|
||||||
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.extra_env.yml"
|
||||||
|
|
||||||
## Domain aliases
|
## Domain aliases
|
||||||
#EXTRA_DOMAINS=', `www.{{ .Name }}.example.com`'
|
#EXTRA_DOMAINS=', `www.abra-test-recipe.example.com`'
|
||||||
|
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
|
WITH_COMMENT=foo # should be removed
|
||||||
|
|
||||||
SECRET_TEST_PASS_ONE_VERSION=v1
|
SECRET_TEST_PASS_ONE_VERSION=v1
|
||||||
SECRET_TEST_PASS_TWO_VERSION=v1 # length=10
|
SECRET_TEST_PASS_TWO_VERSION=v1 # length=10
|
||||||
#SECRET_EXTRA_PASS_VERSION=v1
|
#SECRET_EXTRA_PASS_VERSION=v1
|
||||||
|
#SECRET_LONG_SECRET_VERSION=v1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# `abra-integration-test-recipe`
|
# `abra-test-recipe`
|
||||||
|
|
||||||
Test recipe used in the Abra integration test suite.
|
Simple app configuration used for the Abra test suite.
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
|
|
||||||
|
11
abra.sh
11
abra.sh
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
export OUTER_FOO=baz
|
||||||
|
|
||||||
test_cmd(){
|
test_cmd(){
|
||||||
echo "baz"
|
echo "baz"
|
||||||
}
|
}
|
||||||
@ -11,3 +13,12 @@ test_cmd_arg(){
|
|||||||
test_cmd_args(){
|
test_cmd_args(){
|
||||||
echo "$1 $2"
|
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
|
||||||
|
}
|
||||||
|
7
compose.extra_env.yml
Normal file
7
compose.extra_env.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
environment:
|
||||||
|
- FOO=bar
|
12
compose.long_secret.yml
Normal file
12
compose.long_secret.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
secrets:
|
||||||
|
- long_secret
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
long_secret:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_long_secret1234567890_${SECRET_LONG_SECRET_VERSION}
|
@ -3,7 +3,9 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: nginx:1.20.2
|
image: nginx:1.21.0
|
||||||
|
environment:
|
||||||
|
- TEST_ENV_STANZA=DING # should be removed
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
@ -21,7 +23,7 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
|
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.1.1+1.20.2"
|
- "coop-cloud.${STACK_NAME}.version=0.3.1+1.21.0"
|
||||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||||
|
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
@ -42,7 +44,7 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
test_pass_one:
|
test_pass_one:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_test_pass_one_${SECRET_TEST_PASS_ONE_VERSION}
|
name: ${STACK_NAME}_test_pass_one_${SECRET_TEST_PASS_ONE_VERSION} # should be removed
|
||||||
test_pass_two:
|
test_pass_two:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_test_pass_two_${SECRET_TEST_PASS_TWO_VERSION}
|
name: ${STACK_NAME}_test_pass_two_${SECRET_TEST_PASS_TWO_VERSION}
|
||||||
|
1
release/0.3.0+1.21.0
Normal file
1
release/0.3.0+1.21.0
Normal file
@ -0,0 +1 @@
|
|||||||
|
A release note added after the release
|
Loading…
x
Reference in New Issue
Block a user