Skip to content

Commit

Permalink
feat: add SBMTD-specific pipeline definition and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Oct 12, 2023
1 parent 7f81779 commit 93bf003
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
31 changes: 31 additions & 0 deletions terraform/sbmtd/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
trigger:
branches:
include:
- dev
- test
- prod
tags:
include:
- 20??.??.?*-rc?*
- 20??.??.?*
# only run for changes to Terraform files
paths:
include:
- terraform/*

pr:
branches:
include:
- "*"
paths:
include:
- terraform/*

pool:
vmImage: ubuntu-latest

stages:
- template: ../pipeline/deploy.yml
parameters:
# path is relative to the template path (see line above)
variable_file: ../sbmtd/azure-vars.yml
7 changes: 7 additions & 0 deletions terraform/sbmtd/azure-vars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
variables:
TF_RESOURCE_GROUP: "sbmtd-mobility-pass-tf"
TF_STORAGE_ACCOUNT: "sbmtdmobilitypasstf"
TF_VAR_AGENCY_CARD: "sbmtd-mobility-pass"
TF_VAR_AGENCY_RESOURCE_GROUP_PREFIX: "sbmtd-mobility-pass"
TF_VAR_AGENCY_STORAGE_ACCOUNT_PREFIX: "sbmtdmobilitypass"
TF_VAR_AGENCY_CARD_DATA_ETL_FILE: "mobilitypass.csv"

0 comments on commit 93bf003

Please sign in to comment.