feat: feeds page performance (#824) #429
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Historical Batch Processing - DEV | |
on: | |
workflow_dispatch: # Supports manual deployment | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
uses: ./.github/workflows/datasets-batch-deployer.yml | |
with: | |
STATE_BUCKET_NAME: 'mobility-feeds-terraform-dev' | |
OBJECT_PREFIX: 'terraform-state-batch' | |
PROJECT_ID: ${{ vars.DEV_MOBILITY_FEEDS_PROJECT_ID }} | |
REGION: ${{ vars.MOBILITY_FEEDS_REGION }} | |
ENVIRONMENT: 'dev' | |
DEPLOYER_SERVICE_ACCOUNT: ${{ vars.DEV_MOBILITY_FEEDS_DEPLOYER_SERVICE_ACCOUNT }} | |
# every week on monday at 00:00 | |
JOB_SCHEDULE: '0 0 * * 1' | |
DATASETS_BUCKET_NAME: 'mobilitydata-datasets-dev' | |
secrets: | |
GCP_MOBILITY_FEEDS_SA_KEY: ${{ secrets.DEV_GCP_MOBILITY_FEEDS_SA_KEY }} | |
notify-slack-on-failure: | |
needs: [ deploy ] | |
if: always() && (needs.deploy.result == 'failure') && (github.event_name != 'workflow_dispatch') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Notify Slack | |
uses: ./.github/actions/notify-slack | |
with: | |
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
PRIORITY: "medium" |