Skip to content

v1.8.17

v1.8.17 #71

Workflow file for this run

# Deploys all the resources to production environment
name: Production Release
on:
release:
types: [ released ]
jobs:
bd-deployment:
name: Database Deployment
uses: ./.github/workflows/db-prod.yml
secrets: inherit
bd-update:
name: Database Update
needs: bd-deployment
uses: ./.github/workflows/db-update-prod.yml
secrets: inherit
batch-deployment:
name: Batch Processes Deployment
needs: bd-update
uses: ./.github/workflows/datasets-batch-deployer-prod.yml
secrets: inherit
api-deployment:
name: API Deployment
needs: batch-deployment
uses: ./.github/workflows/api-prod.yml
secrets: inherit
integration-tests:
uses: ./.github/workflows/integration-tests.yml
needs: api-deployment
with:
API_URL: "https://api.mobilitydatabase.org"
ENVIRONMENT: 'prod'
secrets:
REFRESH_TOKEN: ${{ secrets.PROD_API_TEST_REFRESH_TOKEN }}
web-deployment:
name: Web Deployment
needs: batch-deployment
uses: ./.github/workflows/web-prod.yml
secrets: inherit
notify-slack-on-failure:
needs: [web-deployment, integration-tests]
if: failure()
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: "high"