From ea62afc4a162e66c2f09b3a56834cf5481942d67 Mon Sep 17 00:00:00 2001 From: elayrocks Date: Wed, 1 May 2024 19:13:09 -0700 Subject: [PATCH] test --- .github/workflows/cicd.yml | 3 ++- deployment/bin/deploy | 1 + deployment/docker-compose.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 339cf59a..70228081 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -83,4 +83,5 @@ jobs: ENVIRONMENT: staging ARM_CLIENT_ID: ${{ fromJSON(secrets.SECURE_AZURE_CREDENTIALS).clientId }} ARM_SUBSCRIPTION_ID: ${{ fromJSON(secrets.SECURE_AZURE_CREDENTIALS).subscriptionId }} - ARM_TENANT_ID: ${{ fromJSON(secrets.SECURE_AZURE_CREDENTIALS).tenantId }} \ No newline at end of file + ARM_TENANT_ID: ${{ fromJSON(secrets.SECURE_AZURE_CREDENTIALS).tenantId }} + ARM_CLIENT_SECRET: ${{ fromJSON(secrets.AZURE_CREDENTIALS).clientSecret }} \ No newline at end of file diff --git a/deployment/bin/deploy b/deployment/bin/deploy index 45ecdb91..370880a4 100755 --- a/deployment/bin/deploy +++ b/deployment/bin/deploy @@ -61,6 +61,7 @@ fi require_env "IMAGE_TAG" require_env "GIT_COMMIT" require_env "ARM_CLIENT_ID" +require_env "ARM_CLIENT_SECRET" require_env "ARM_TENANT_ID" # Directory for rendered values and templates diff --git a/deployment/docker-compose.yml b/deployment/docker-compose.yml index fba3377c..c53f4f0f 100644 --- a/deployment/docker-compose.yml +++ b/deployment/docker-compose.yml @@ -14,6 +14,7 @@ services: - ARM_SUBSCRIPTION_ID - ARM_TENANT_ID - ARM_CLIENT_ID + - ARM_CLIENT_SECRET # Used in the dev stack as an identifier - TF_VAR_username=${USER}