From 3a455951d746b8347640c3ed6a83f2bf189292a4 Mon Sep 17 00:00:00 2001 From: David Gamez Diaz <1192523+davidgamez@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:45:36 -0500 Subject: [PATCH] add missing variables --- .github/workflows/api-prod.yml | 1 + .github/workflows/api-qa.yml | 1 + infra/feed-api/main.tf | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/.github/workflows/api-prod.yml b/.github/workflows/api-prod.yml index 3938583e9..11617e77b 100644 --- a/.github/workflows/api-prod.yml +++ b/.github/workflows/api-prod.yml @@ -18,6 +18,7 @@ jobs: GLOBAL_RATE_LIMIT_REQ_PER_MINUTE: ${{ vars.GLOBAL_RATE_LIMIT_REQ_PER_MINUTE }} TF_APPLY: true VALIDATOR_ENDPOINT: https://gtfs-validator-web-mbzoxaljzq-ue.a.run.app + OPERATIONS_OAUTH2_CLIENT_ID_1PASSWORD: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/GCP_FEEDS_API_TOKEN_OAUTH2_PROD/username" secrets: GCP_MOBILITY_FEEDS_SA_KEY: ${{ secrets.PROD_GCP_MOBILITY_FEEDS_SA_KEY }} OAUTH2_CLIENT_ID: ${{ secrets.PROD_MOBILITY_FEEDS_OAUTH2_CLIENT_ID}} diff --git a/.github/workflows/api-qa.yml b/.github/workflows/api-qa.yml index 2f527f4ec..7099a5f0d 100644 --- a/.github/workflows/api-qa.yml +++ b/.github/workflows/api-qa.yml @@ -18,6 +18,7 @@ jobs: TF_APPLY: true GLOBAL_RATE_LIMIT_REQ_PER_MINUTE: ${{ vars.GLOBAL_RATE_LIMIT_REQ_PER_MINUTE }} VALIDATOR_ENDPOINT: https://stg-gtfs-validator-web-mbzoxaljzq-ue.a.run.app + OPERATIONS_OAUTH2_CLIENT_ID_1PASSWORD: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/zgndy655cjy34qhhm7wfi2vbpy/username" secrets: GCP_MOBILITY_FEEDS_SA_KEY: ${{ secrets.QA_GCP_MOBILITY_FEEDS_SA_KEY }} OAUTH2_CLIENT_ID: ${{ secrets.DEV_MOBILITY_FEEDS_OAUTH2_CLIENT_ID}} diff --git a/infra/feed-api/main.tf b/infra/feed-api/main.tf index 67ebf382c..05e71786d 100644 --- a/infra/feed-api/main.tf +++ b/infra/feed-api/main.tf @@ -77,6 +77,12 @@ resource "google_cloud_run_v2_service" "mobility-feed-api" { name = "PROJECT_ID" value = data.google_project.project.project_id } + resources { + limits = { + cpu = "1" + memory = "1Gi" + } + } } } }