Add test adapter and interpolate secrets in integration tests

This commit is contained in:
Donal McBreen
2024-09-04 12:40:27 +01:00
parent 5226d52f8a
commit 3d502ab12d
5 changed files with 19 additions and 2 deletions

View File

@@ -1,2 +1,5 @@
SECRET_TOKEN='1234 with "中文"'
SECRET_TAG='TAGME'
SECRETS=$(kamal secrets fetch --adapter test --account test INTERPOLATED_SECRET1 INTERPOLATED_SECRET2)
INTERPOLATED_SECRET1=$(kamal secrets extract INTERPOLATED_SECRET1 ${SECRETS})
INTERPOLATED_SECRET2=$(kamal secrets extract INTERPOLATED_SECRET2 ${SECRETS})