Add test adapter and interpolate secrets in integration tests
This commit is contained in:
@@ -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})
|
||||
|
||||
@@ -10,6 +10,8 @@ env:
|
||||
HOST_TOKEN: "${HOST_TOKEN}"
|
||||
secret:
|
||||
- SECRET_TOKEN
|
||||
- INTERPOLATED_SECRET1
|
||||
- INTERPOLATED_SECRET2
|
||||
tags:
|
||||
tag1:
|
||||
CLEAR_TAG: tagged
|
||||
|
||||
Reference in New Issue
Block a user