Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EN-20312 - Enable deployment slot tracking with deployment board #241

Merged
merged 3 commits into from
Nov 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .github/workflows/im-reusable-finish-deployment-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,26 @@ on:
required: false
type: string
default: null
enable-deployment-slot-tracking:
description: 'Enable App Service deployment slot tracking on deployment board? [true|false]'
required: false
type: boolean
default: false
slot-swapped-with-production-slot:
description: 'Did this deployment swap slots with production slot? Set to true for swapping slot immediately with production slot. [true|false]'
required: false
type: boolean
default: false
target-slot:
description: 'The target slot that was deployed to [production|blue|yellow|canary|red|loadtest|predeploy|your-custom-slot]'
type: string
required: false
default: 'production'
source-slot:
description: 'The source slot that was deployed to [production|blue|yellow|canary|red|loadtest|predeploy|your-custom-slot]'
type: string
required: false
default: 'production'
custom-facts-for-team-channel:
description: The custom facts that will be included in the post in the team's channel. By default Workflow, Run, Actor and Version are included.
required: false
Expand Down Expand Up @@ -111,7 +131,7 @@ jobs:

- name: Update deployment board
if: always()
uses: im-open/update-deployment-board@v1.6
uses: im-open/update-deployment-board@v1.7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
environment: ${{ inputs.deployment-environment }}
Expand All @@ -121,6 +141,10 @@ jobs:
deployable-type: ${{ inputs.deployable-type }}
deploy-label: ${{ inputs.deployable-label }}
deploy-status: ${{ steps.conclusion.outputs.workflow_conclusion }}
enable-deployment-slot-tracking: ${{ inputs.enable-deployment-slot-tracking }}
slot-swapped-with-production-slot: ${{ inputs.slot-swapped-with-production-slot }}
target-slot: ${{ inputs.target-slot }}
source-slot: ${{ inputs.source-slot }}
timezone: ${{ inputs.timezone }}

- name: Configure facts for team's notification channel
Expand Down