Skip to content

feat: feeds page performance (#824) #429

feat: feeds page performance (#824)

feat: feeds page performance (#824) #429

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"