Skip to content

Commit

Permalink
feat: add workflow with prd-new target
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lesage committed Apr 3, 2024
1 parent 5d600c3 commit cbb3677
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/production-new-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Manual Production NEW

on:
workflow_dispatch:
inputs:
version:
description: 'Version (format: x.xxx.x, ie: 1.221.1)'
required: true

jobs:
deployment:
runs-on: ubuntu-latest
strategy:
matrix:
services:
[
'organisation-registry-api',
'organisation-registry-delegations',
'organisation-registry-elasticsearch',
'organisation-registry-kbomutations',
'organisation-registry-reporting',
'organisation-registry-ui',
'organisation-registry-vlaanderenbe',
'organisation-registry-zorgengezondheid',
]
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: prd
version: ${{ github.event.inputs.version }}
status-url: $STATUS_URL
deploy-url: $BUILD_URL
access-key: ${{ secrets.VBR_AWS_BUILD_USER_ACCESS_KEY_ID_DEVOPS }}
secret-key: ${{ secrets.VBR_AWS_BUILD_USER_SECRET_ACCESS_KEY_DEVOPS }}
region: eu-west-1
interval: 2
deploy-target: 'agb_ecs_service'
domain: 'basisregisters'
project: 'basisregisters'

- name: Output CD services
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 }}

0 comments on commit cbb3677

Please sign in to comment.