-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Read credentials from synthetic secrets
- Loading branch information
pjarugula
committed
Jan 29, 2024
1 parent
e525135
commit 0b0834d
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,14 @@ | |
- debug: | ||
msg: Tests E2E | ||
|
||
- name: Set test account email from Synthetic secrets | ||
set_fact: | ||
test_email: {{ test_email }} | ||
|
||
- name: Set test account password from Synthetic secrets | ||
set_fact: | ||
test_password: {{ test_password }} | ||
|
||
- name: Create directory | ||
shell: "mkdir -p ~/tests && chmod 777 ~/tests" | ||
|
||
|
@@ -18,7 +26,7 @@ | |
|
||
- name: Store values in env file | ||
shell: | | ||
echo "ENV_SECRET_EMAIL='[email protected]' \nENV_SECRET_PASSWORD='example'" >> ~/tests/onboarding-e2e-tests/.env | ||
echo "ENV_SECRET_EMAIL='{{ test_email }}' \nENV_SECRET_PASSWORD='{{test_password }}'" >> ~/tests/onboarding-e2e-tests/.env | ||
- name: Write Permissions for repo | ||
shell: "chmod 755 ~/tests/onboarding-e2e-tests" | ||
|