Skip to content

fix: reordered db migration scripts after project planner merge #1181

fix: reordered db migration scripts after project planner merge

fix: reordered db migration scripts after project planner merge #1181

Workflow file for this run

# https://github.com/EPFL-ENAC/epfl-enac-build-push-deploy-action#readme
name: deploy
"on":
push:
branches:
- dev
- stage
- "ci-test/**"
tags: ["v*.*.*"]
jobs:
publish-chart:
uses: ./.github/workflows/publish_chart.yaml
with:
name: "co2-calculator"
registry: "epfl-enac/co2-calculator"
deploy:
needs:
- publish-chart
permissions:
contents: read
packages: write
uses: EPFL-ENAC/epfl-enac-build-push-deploy-action/.github/workflows/deploy.yml@v3.1.0
secrets:
token: ${{ secrets.CD_TOKEN }}
registry_token: ${{ secrets.QUAY_TOKEN }}
with:
ORG: epfl
REPO: co2-calculator
build_context: '[ "./frontend", "./backend", "./docs" ]'
helm_chart_name: co2-calculator
helm_chart_version: ${{ needs.publish-chart.outputs.chart_version }}
# Scan images in the build job, before push: fixable or not, HIGH/
# CRITICAL findings block the rollout instead of alerting after it.
skip_vulnerability_scan: false
# Baked into the frontend bundle as APP_VERSION (see frontend/quasar.config.js)
# so Sentry/GlitchTip events are tagged with the exact deploy SHA. Backend
# and docs Dockerfiles ignore this arg (Docker just warns).
build_args: |
GIT_SHA=${{ github.sha }}
registries: |
[
{
"registry": "ghcr.io",
"argo_repositories": ["EPFL-ENAC/enack8s-app-config"]
},
{
"registry": "quay-its.epfl.ch",
"registry_path": "svc1751",
"registry_username": "svc1751+ghaction",
"argo_repositories": ["EPFL-ENAC/openshift-app-config"]
}
]