Closed thekaveman closed 9 months ago
We got stuck in SBMTD's Azure with an Azure AD issue, so the group for Compiler engineers is not yet created. SBMTD is going to work with their Azure consultant on this issue.
Most of the setup for Azure DevOps is complete, the remaining step of establishing a Service Connection depends on the fix for Azure AD.
- [x] (Manual x3 environments) Create environment Resource Group, Region: West US
- [x]
sbmtd-mobility-pass-dev
- [x]
sbmtd-mobility-pass-test
- [x]
sbmtd-mobility-pass-prod
Just noticed that our Terraform file expects this to be named sbmtd-mobility-pass-eligibility-dev
, etc.:
https://github.com/cal-itp/eligibility-server/blob/1fd61404435f5d4759997e1a6e5e3b449c0e24ed/terraform/environment.tf#L8
See the build failure at https://dev.azure.com/sbmtd/eligibility-server/_build/results?buildId=5&view=logs&j=ace7239b-ade7-5b52-2e3a-ab948f392fca&t=86fc3f94-fb9f-52ff-e1d4-fd3623140af8&l=22
I will recreate the Resource Groups to match this naming
For getting the values for TF_VAR_DEPLOYER_APP_OBJECT_ID
and TF_VAR_DEPLOYER_APP_OBJECT_ID
, make sure you go into the "Managed application in local directory" screen to get the Object ID
@angela-tran I think we are good to close this??
@thekaveman Yeah, I think so since all the infra is set up. The dev, test, and prod instances are just waiting for data, which isn't necessarily part of this issue
@angela-tran I wrote up this one earlier, I think we're covered :+1: https://github.com/cal-itp/benefits/issues/1783
Some tasks may need help from SBMTD IT.
Most of these tasks come from the notes doc when we did this with MST.
Azure basics
Application developer
Contributor
roleAzure DevOps
Project settings > Overview > services
) -- only Pipelines is usedazure-pipelines.yml
from this repoTF_IN_AUTOMATION=1
TF_VAR_DEPLOYER_APP_OBJECT_ID
TF_VAR_ENGINEERING_GROUP_OBJECT_ID
TF_VAR_AGENCY_CARD_DATA_ETL_APP_OBJECT_ID
(renamed fromTF_VAR_VELOCITY_ETL_APP_OBJECT_ID
)TF_VAR_IP_ADDRESS_WHITELIST_DEV/TEST/PROD
Terraform
sbmtd-mobility-pass-tf
tfstate
sbmtd-mobility-pass-eligibility-dev
sbmtd-mobility-pass-eligibility-test
sbmtd-mobility-pass-eligibility-prod
plan
- https://dev.azure.com/sbmtd/eligibility-server/_build/results?buildId=7&view=resultsapply
Application
test
prod
settings.py
with:AGENCY_NAME
AUTH_HEADER
AUTH_TOKEN
CLIENT_KEY_PATH
IMPORT_FILE_PATH
SENTRY_DSN
SENTRY_TRACES_SAMPLE_RATE
settings.py
and keys to storage account