Skip to content

Database Update - QA #7

Database Update - QA

Database Update - QA #7

Workflow file for this run

# Update the Mobility Database Schema
name: Database Update - QA
on:
push: # Update on merge on main branch if the changelog file has been updated
branches:
- main
paths:
- 'liquibase/changelog.xml'
workflow_dispatch:
inputs:
RUN_POPULATE_SCRIPT:
description: 'Run populate script (true/false)'
required: false
default: false
jobs:
update:
uses: ./.github/workflows/db-update.yml
with:
PROJECT_ID: ${{ vars.QA_MOBILITY_FEEDS_PROJECT_ID }}
DB_NAME: ${{ vars.QA_POSTGRE_SQL_DB_NAME }}
REGION: ${{ vars.QA_MOBILITY_FEEDS_REGION }}
RUN_POPULATE_SCRIPT: ${{ github.event.inputs.RUN_POPULATE_SCRIPT || 'true' }}
secrets:
DB_USER_PASSWORD: ${{ secrets.QA_POSTGRE_USER_PASSWORD }}
DB_USER_NAME: ${{ secrets.QA_POSTGRE_USER_NAME }}
DB_INSTANCE_NAME: ${{ secrets.DB_INSTANCE_NAME }}
GCP_MOBILITY_FEEDS_SA_KEY: ${{ secrets.QA_GCP_MOBILITY_FEEDS_SA_KEY }}