From abc04b7fb9337194d89c26f1aa37ac182495daa3 Mon Sep 17 00:00:00 2001 From: Rafael Solorzano <61289255+rafasdc@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:10:49 -0800 Subject: [PATCH 1/3] fix: ches export secrets --- .github/workflows/backup-secrets.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backup-secrets.yaml b/.github/workflows/backup-secrets.yaml index 6bf8dbd0f..4900e8b2f 100644 --- a/.github/workflows/backup-secrets.yaml +++ b/.github/workflows/backup-secrets.yaml @@ -121,5 +121,5 @@ jobs: vault kv put $vault_prefix/SA_CLIENT_ID value="${{ secrets.SA_CLIENT_ID }}" vault kv put $vault_prefix/KEYCLOAK_HOST value="${{ secrets.KEYCLOAK_HOST }}" vault kv put $vault_prefix/SP_LIST_NAME value="${{ secrets.SP_LIST_NAME }}" - vault kv put $vault_prefix/CHES_CLIENT value="${ secrets.CHES_CLIENT }}" - vault kv put $vault_prefix/CHES_CLIENT_SECRET value="${ secrets.CHES_CLIENT_SECRET }" + vault kv put $vault_prefix/CHES_CLIENT value="${{ secrets.CHES_CLIENT }}" + vault kv put $vault_prefix/CHES_CLIENT_SECRET value="${{ secrets.CHES_CLIENT_SECRET }}" From 57680558cea7d93c99bec3c4bb8e1382324d1730 Mon Sep 17 00:00:00 2001 From: Rafael Solorzano <61289255+rafasdc@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:03:59 -0800 Subject: [PATCH 2/3] chore: temp deploy --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b9ebdad50..77fad3128 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -118,8 +118,8 @@ jobs: base: 'main', }); deploy: - if: github.event.ref == 'refs/heads/main' - needs: [test-code, test-containers] + # if: github.event.ref == 'refs/heads/main' + needs: [build] uses: ./.github/workflows/deploy.yaml secrets: OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }} From 53f0537ede3965bb5770214202a1b7bf93879a74 Mon Sep 17 00:00:00 2001 From: Rafael Solorzano <61289255+rafasdc@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:50:12 -0800 Subject: [PATCH 3/3] chore: disable temp deploy --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 77fad3128..b9ebdad50 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -118,8 +118,8 @@ jobs: base: 'main', }); deploy: - # if: github.event.ref == 'refs/heads/main' - needs: [build] + if: github.event.ref == 'refs/heads/main' + needs: [test-code, test-containers] uses: ./.github/workflows/deploy.yaml secrets: OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}