Skip to content

Commit 528b80b

Browse files
ci: [TT-412] injects DATABASE-MASTER-KEYO to run tests
1 parent 7e61be4 commit 528b80b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/time-tracker-v1-workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: Azure/get-keyvault-secrets@v1
3939
with:
4040
keyvault: "time-tracker-secrets"
41-
secrets: "MS-CLIENT-ID, MS-AUTHORITY, MS-SCOPE, MS-SECRET, MS-ENDPOINT, USERID, AZURE-APP-CONFIGURATION-CONNECTION-STRING, DATABASE-ACCOUNT-URI"
41+
secrets: "MS-CLIENT-ID, MS-AUTHORITY, MS-SCOPE, MS-SECRET, MS-ENDPOINT, USERID, AZURE-APP-CONFIGURATION-CONNECTION-STRING, DATABASE-ACCOUNT-URI, DATABASE-MASTER-KEY"
4242
id: timeTrackerAzureVault
4343

4444
- name: Run tests
@@ -51,5 +51,6 @@ jobs:
5151
USERID: ${{ steps.timeTrackerAzureVault.outputs.USERID }}
5252
AZURE_APP_CONFIGURATION_CONNECTION_STRING: ${{ steps.timeTrackerAzureVault.outputs.AZURE-APP-CONFIGURATION-CONNECTION-STRING }}
5353
DATABASE_ACCOUNT_URI: ${{ steps.timeTrackerAzureVault.outputs.DATABASE-ACCOUNT-URI }}
54+
DATABASE_MASTER_KEY: ${{ steps.timeTrackerAzureVault.outputs.DATABASE-MASTER-KEY }}
5455
run: |
5556
pytest tests

0 commit comments

Comments
 (0)