Skip to content

Commit

Permalink
nit(ci)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmttn committed Apr 16, 2024
1 parent 9f94ed0 commit e28b0cf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,18 @@ jobs:
environment: staging

env:
ENV: ${{ vars.ENVIRONMENT }} # used by this workflow

# used by terraform cli
AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

# `TF_VAR_*` are case sensitive and must match the case of variables

# used in docker compose
TF_VAR_stack_version: ${{ github.sha }}

# used by applications
TF_VAR_scaleway_application_id: ${{ vars.SCALEWAY_APPLICATION_ID }}
TF_VAR_datawarehouse_admin_password: ${{ secrets.DATAWAREHOUSE_ADMIN_PASSWORD }}
TF_VAR_datawarehouse_admin_username: ${{ vars.DATAWAREHOUSE_ADMIN_USERNAME }}
Expand All @@ -110,7 +118,6 @@ jobs:
TF_VAR_airflow_secret_key: ${{ secrets.AIRFLOW_SECRET_KEY }}
TF_VAR_airflow_admin_password: ${{ secrets.AIRFLOW_ADMIN_PASSWORD }}
TF_VAR_api_secret_key: ${{ secrets.API_SECRET_KEY }}
TF_VAR_stack_version: ${{ github.sha }}
TF_VAR_ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
TF_VAR_dns_zone: ${{ vars.DNS_ZONE }}
TF_VAR_dns_subdomain: ${{ vars.DNS_SUBDOMAIN }}
Expand All @@ -128,7 +135,6 @@ jobs:
TF_VAR_mes_aides_airtable_key: ${{ secrets.MES_AIDES_AIRTABLE_KEY }}
TF_VAR_soliguide_api_token: ${{ secrets.SOLIGUIDE_API_TOKEN }}
TF_VAR_metabase_secret_key: ${{ secrets.METABASE_SECRET_KEY }}
ENV: ${{ vars.ENVIRONMENT }}

defaults:
run:
Expand Down

0 comments on commit e28b0cf

Please sign in to comment.