Skip to content

CD Test: 2.1.0

CD Test: 2.1.0 #26

Workflow file for this run

name: CD Test
run-name: 'CD Test: ${{ github.event.inputs.version }}'
concurrency: CD Test
on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: true
jobs:
deployment:
runs-on: ubuntu-latest
strategy:
matrix:
services: ['microservices-ticketing', 'microservices-ticketing-monitoring']
steps:
- name: CD
env:
BUILD_URL: ${{ vars.VBR_AWS_BUILD_API_DEVOPS }}/${{matrix.services}}
STATUS_URL: ${{ vars.VBR_AWS_BUILD_STATUS_API_DEVOPS }}/${{matrix.services}}
uses: informatievlaanderen/awscurl-polling-action/polling-action@main
with:
environment: tst
version: ${{ github.event.inputs.version }}
status-url: $STATUS_URL
deploy-url: $BUILD_URL
access-key: ${{ secrets.VBR_AWS_ACCESS_KEY_ID_DEVOPS }}
secret-key: ${{ secrets.VBR_AWS_SECRET_ACCESS_KEY_DEVOPS }}
interval: 2
deploy-target: 'agb_ecs_service'
domain: 'basisregisters'
project: 'basisregisters'
- name: output
shell: bash
run: |
echo build-uuid: ${{ steps.awscurl-polling-action.outputs.build-uuid }}
echo Status: ${{ steps.awscurl-polling-action.outputs.status }}
echo ${{ steps.awscurl-polling-action.outputs.final-message }}