Skip to content
Draft
Show file tree
Hide file tree
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
17 changes: 0 additions & 17 deletions .github/workflows/rollout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,6 @@ jobs:
- run: echo "Target(s) ${{ github.event.inputs.instance_group }}"
- run: echo "Workflow is triggered by ${{ github.ref_type }} ${{ github.ref_name }}"

ref-audit:
if: ${{ !failure() }}
needs:
- approve_prod_stage_2
uses: ./.github/workflows/host.yml
with:
cfg_version: ${{ github.event.inputs.config_tag_name }}
host_name: ref-audit
host_group: dbc
host_stage: reference
execute_group: ${{ github.event.inputs.instance_group }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
ONEPASSWORD_VAULT: ${{ secrets.ONEPASSWORD_VAULT }}
KUBECONFIG: ${{ secrets.KUBECONFIG }}
RC_WEBHOOK: ${{ secrets.RC_WEBHOOK }}

ref-brb:
needs:
- approve_ref
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/rollout_audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Rollout to Audit
run-name: Rollout of ${{ inputs.config_tag_name }} to ref-audit

on:
workflow_dispatch:
inputs:
config_tag_name:
description: 'Tag from the dof_app_deploy'
required: true

jobs:
approve_ref:
environment: approve_ref
runs-on: ubuntu-latest
steps:
- run: echo "Version ${{ github.event.inputs.config_tag_name }}"
- run: echo "Target(s) ref-audit"
- run: echo "Workflow is triggered by ${{ github.ref_type }} ${{ github.ref_name }}"

ref-audit:
if: ${{ !failure() }}
needs:
- approve_ref
uses: ./.github/workflows/host.yml
with:
cfg_version: ${{ github.event.inputs.config_tag_name }}
host_name: ref-audit
host_group: dbc
host_stage: reference
execute_group: ref-audit
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
ONEPASSWORD_VAULT: ${{ secrets.ONEPASSWORD_VAULT }}
KUBECONFIG: ${{ secrets.KUBECONFIG }}
RC_WEBHOOK: ${{ secrets.RC_WEBHOOK }}
Loading