Skip to content

Deploy Feeds API - DEV #58

Deploy Feeds API - DEV

Deploy Feeds API - DEV #58

Workflow file for this run

# Deploys the feeds API to MobilityData DEV environment
name: Deploy Feeds API - DEV
on:
workflow_dispatch: # Supports manual deployment
jobs:
# TODO add API tests execution
api-build-deployment:
uses: ./.github/workflows/api-deployer.yml

Check failure on line 9 in .github/workflows/api-dev.yml

View workflow run for this annotation

GitHub Actions / Deploy Feeds API - DEV

Invalid workflow file

The workflow is not valid. .github/workflows/api-dev.yml (Line: 9, Col: 11): Secret POSTGRES_DB is required, but not provided while calling. .github/workflows/api-dev.yml (Line: 9, Col: 11): Secret POSTGRES_HOST is required, but not provided while calling.

Check failure on line 9 in .github/workflows/api-dev.yml

View workflow run for this annotation

GitHub Actions / Deploy Feeds API - DEV

Invalid workflow file

The workflow is not valid. .github/workflows/api-dev.yml (Line: 9, Col: 11): Secret POSTGRES_DB is required, but not provided while calling. .github/workflows/api-dev.yml (Line: 9, Col: 11): Secret POSTGRES_HOST is required, but not provided while calling.
with:
ENVIRONMENT: ${{ vars.DEV_MOBILITY_FEEDS_ENVIRONMENT }}
BUCKET_NAME: ${{ vars.DEV_MOBILITY_FEEDS_TF_STATE_BUCKET }}
OBJECT_PREFIX: ${{ vars.DEV_MOBILITY_FEEDS_TF_STATE_OBJECT_PREFIX }}
PROJECT_ID: ${{ vars.DEV_MOBILITY_FEEDS_PROJECT_ID }}
REGION: ${{ vars.DEV_MOBILITY_FEEDS_REGION }}
DEPLOYER_SERVICE_ACCOUNT: ${{ vars.DEV_MOBILITY_FEEDS_DEPLOYER_SERVICE_ACCOUNT }}
FEED_API_IMAGE_VERSION: ${{ github.sha }}
GLOBAL_RATE_LIMIT_REQ_PER_MINUTE: ${{ vars.GLOBAL_RATE_LIMIT_REQ_PER_MINUTE }}
TF_APPLY: true
secrets:
GCP_MOBILITY_FEEDS_SA_KEY: ${{ secrets.DEV_GCP_MOBILITY_FEEDS_SA_KEY }}
OAUTH2_CLIENT_ID: ${{ secrets.DEV_MOBILITY_FEEDS_OAUTH2_CLIENT_ID}}
OAUTH2_CLIENT_SECRET: ${{ secrets.DEV_MOBILITY_FEEDS_OAUTH2_CLIENT_SECRET}}