missing test files

This commit is contained in:
msramalho
2024-10-18 19:48:33 +01:00
parent 6b9d6e2245
commit a41a33c4ff
2 changed files with 20 additions and 1 deletions

View File

@@ -4,4 +4,5 @@ BLOCKED_EMAILS='["blocked@example.com"]'
DATABASE_PATH="sqlite:///auto-archiver.test.db"
API_BEARER_TOKEN=this_is_the_test_api_token
API_BEARER_TOKEN=this_is_the_test_api_token
USER_GROUPS_FILENAME=user-groups.test.yaml

18
src/user-groups.test.yaml Normal file
View File

@@ -0,0 +1,18 @@
# NOTE: all emails should be lower-cased
users:
rick@example.com:
- spaceship
- interdimensional
morty@example.com:
- spaceship
jerry@example.com:
domains:
example.com:
- animated-characters
orchestrators:
spaceship: secrets/orchestration-dev.yaml
interdimensional: secrets/orchestration-dev.yaml
default: secrets/orchestration-dev.yaml