Skip to content

Commit

Permalink
feat: C-905 hotfix pipeline updates (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk authored Jul 17, 2024
1 parent 1e6c0cc commit 1716ddd
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions .github/workflows/merge-hotfix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Deploys hotfixes to the test environment
name: Merge-Hotfix

on:
push:
branches: [hotfix]
paths-ignore:
- "*.md"
- ".github/**"
- ".github/graphics/**"
- "!.github/workflows/**"
workflow_dispatch:
inputs:
pr_no:
description: "PR-numbered container set to deploy"
type: number
required: true

concurrency:
# Do not interrupt previous workflows
group: ${{ github.workflow }}
cancel-in-progress: false

jobs:
vars:
name: Set Variables
outputs:
pr: ${{ steps.pr.outputs.pr }}
runs-on: ubuntu-22.04
timeout-minutes: 1
steps:
# Get PR number for squash merges to main
- name: PR Number
id: pr
uses: bcgov-nr/[email protected]

# https://github.com/bcgov/quickstart-openshift-helpers
deploy-hotfix:
name: Deploy (hotfix)
uses: bcgov/quickstart-openshift-helpers/.github/workflows/[email protected]
secrets:
oc_namespace: ${{ secrets.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
environment: hotfix
2 changes: 1 addition & 1 deletion backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function bootstrap() {
const config = new DocumentBuilder()
.setTitle("Compliance and Enforcement - Complaint Management API")
.setDescription("The Complicance and Enforcement - Complaint Management API")
.setVersion("1.0")
.setVersion("1.0.0")
.addTag("Compliance and Enforcement - Complaint Management")
.build();

Expand Down

0 comments on commit 1716ddd

Please sign in to comment.