From 978770dec451bb89b177151506bad43a630b540e Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:22:10 +0100 Subject: [PATCH 1/3] BC-6013 - update workflows for dev cluster by tenant --- .github/workflows/clean.yml | 5 ++++- .github/workflows/push.yml | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index d4a0b99..34941fe 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -9,5 +9,8 @@ jobs: branch: ${{ github.event.ref }} secrets: token: ${{ secrets.GITHUB_TOKEN }} - DEV_KUBE_CONFIG: ${{ secrets.DEV_KUBE_CONFIG }} + DEV_KUBE_CONFIG_BRB: ${{ secrets.DEV_KUBE_CONFIG_BRB }} + DEV_KUBE_CONFIG_NBC: ${{ secrets.DEV_KUBE_CONFIG_NBC }} + DEV_KUBE_CONFIG_THR: ${{ secrets.DEV_KUBE_CONFIG_THR }} + DEV_KUBE_CONFIG_DBC: ${{ secrets.DEV_KUBE_CONFIG_DBC }} BINGO_REPO_TOKEN: ${{ secrets.BINGO_REPO_TOKEN }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3709f1e..8b8ada3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -70,8 +70,14 @@ jobs: branch: ${{ needs.branch_name.outputs.branch }} secrets: token: ${{ secrets.GITHUB_TOKEN }} - DEV_VAULT: ${{ secrets.DEV_VAULT }} - DEV_KUBE_CONFIG: ${{ secrets.DEV_KUBE_CONFIG }} + DEV_VAULT_BRB: ${{ secrets.DEV_VAULT_BRB }} + DEV_VAULT_NBC: ${{ secrets.DEV_VAULT_NBC }} + DEV_VAULT_THR: ${{ secrets.DEV_VAULT_THR }} + DEV_VAULT_DBC: ${{ secrets.DEV_VAULT_DBC }} + DEV_KUBE_CONFIG_BRB: ${{ secrets.DEV_KUBE_CONFIG_BRB }} + DEV_KUBE_CONFIG_NBC: ${{ secrets.DEV_KUBE_CONFIG_NBC }} + DEV_KUBE_CONFIG_THR: ${{ secrets.DEV_KUBE_CONFIG_THR }} + DEV_KUBE_CONFIG_DBC: ${{ secrets.DEV_KUBE_CONFIG_DBC }} BINGO_REPO_TOKEN: ${{ secrets.BINGO_REPO_TOKEN }} deploy-successful: From 89d45abfa08a91822156a52a1718786b7e50423f Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:43:25 +0100 Subject: [PATCH 2/3] BC-6013 - change workflow use for deploy to branch BC-6013-split --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 8b8ada3..6472ec2 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -65,7 +65,7 @@ jobs: needs: - build_and_push - branch_name - uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@main + uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@BC-6013-split with: branch: ${{ needs.branch_name.outputs.branch }} secrets: From 0fdeb36d61ac47f28ad2c4ef8945c389b1e74bbb Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Tue, 12 Dec 2023 16:25:51 +0100 Subject: [PATCH 3/3] back to main --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6472ec2..8b8ada3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -65,7 +65,7 @@ jobs: needs: - build_and_push - branch_name - uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@BC-6013-split + uses: hpi-schul-cloud/dof_app_deploy/.github/workflows/deploy.yml@main with: branch: ${{ needs.branch_name.outputs.branch }} secrets: