From 48f0ad2b57e59bcec4f6065d5a2e1520724d96de Mon Sep 17 00:00:00 2001 From: Maximilian Greve Date: Mon, 16 Dec 2024 12:30:44 +0000 Subject: [PATCH] use chart version to lookup charts in deploy job --- ...e-and-helm-publish-check-deploy-on-push-scheduled.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/image-and-helm-publish-check-deploy-on-push-scheduled.yml b/.github/workflows/image-and-helm-publish-check-deploy-on-push-scheduled.yml index 75fe928e..86930859 100644 --- a/.github/workflows/image-and-helm-publish-check-deploy-on-push-scheduled.yml +++ b/.github/workflows/image-and-helm-publish-check-deploy-on-push-scheduled.yml @@ -107,16 +107,15 @@ jobs: deploy: if: ${{ github.event_name == 'push' && !startsWith(github.ref_name,'dependabot/') }} needs: - - branch_meta - create_branch_identifier - wait_for_helm_chart_to_get_published - build_image_on_push uses: dBildungsplattform/spsh-app-deploy/.github/workflows/deploy.yml@6 with: - dbildungs_iam_server_branch: ${{ needs.branch_meta.outputs.ticket }} - schulportal_client_branch: ${{ needs.branch_meta.outputs.ticket }} - dbildungs_iam_keycloak_branch: ${{ needs.branch_meta.outputs.ticket }} - dbildungs_iam_ldap_branch: ${{ needs.branch_meta.outputs.ticket }} + dbildungs_iam_server_branch: ${{ needs.create_branch_identifier.outputs.chart_version_from_branch }} + schulportal_client_branch: ${{ needs.create_branch_identifier.outputs.chart_version_from_branch }} + dbildungs_iam_keycloak_branch: ${{ needs.create_branch_identifier.outputs.chart_version_from_branch }} + dbildungs_iam_ldap_branch: ${{ needs.create_branch_identifier.outputs.chart_version_from_branch }} namespace: ${{ needs.create_branch_identifier.outputs.namespace_from_branch }} database_recreation: ${{ github.ref_name == 'main' && 'true' || 'false' }} # database_recreation: "true" # to force database recreation this has be set to true