Skip to content

feat(kubernetes): add health endpoints (#1602) #8

feat(kubernetes): add health endpoints (#1602)

feat(kubernetes): add health endpoints (#1602) #8

Workflow file for this run

name: cd/backend
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "backend/**"
jobs:
docker-push:
uses: entur/gha-docker/.github/workflows/push.yml@v1.2.3
with:
environment: prd
context: backend
image_name: tavla/backend
helm-deploy-dev:
needs: [docker-push]
uses: entur/gha-helm/.github/workflows/deploy.yml@v1.0.4
with:
environment: dev
chart: backend/helm/backend
image: ${{ needs.docker-push.outputs.image_name }}:${{ needs.docker-push.outputs.image_tag}}
release_name: backend
approval-step:
runs-on: ubuntu-24.04
needs: [helm-deploy-dev]
environment: apr
steps:
- name: Approval step
id: approval
shell: bash
run: echo "Approve the deployment to prod"
helm-deploy-prd:
needs: [docker-push, approval-step]
uses: entur/gha-helm/.github/workflows/deploy.yml@v1.0.4
with:
environment: prd
chart: backend/helm/backend
image: ${{ needs.docker-push.outputs.image_name }}:${{ needs.docker-push.outputs.image_tag}}
release_name: backend