From f641f6a4989fba5fb2628f686465b33372e5b9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Placzy=C5=84ski?= Date: Fri, 8 Mar 2024 07:20:11 +0100 Subject: [PATCH] Hotfix for 'why' debug option in make This commit corrects the debug option in make commands in the CI/CD pipeline workflow, so that the deployment process in the CI can execute without issues related to unrecognized debug flags. The existing 'make' commands were utilizing the debug flag '--debug=w' which was causing compatibility issues in the CI environment where 'why' debug option was not recognized. This commit addresses the problem by replacing the 'w' with 'b' in the relevant 'make' commands in the '.github/workflows/build-and-deploy.yml' file, ensuring smooth execution of the deployment tasks. --- .github/workflows/build-and-deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 6e3703eac..a7b892b9b 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -84,13 +84,13 @@ jobs: - name: Destroy Cardano Node, DB sync and Postgres if required if: ${{ inputs.resync_cardano_node_and_db }} run: | - make --debug=w destroy-cardano-node-and-dbsync + make --debug=b destroy-cardano-node-and-dbsync - name: Deploy app run: | - make --debug=w all + make --debug=b all - name: Reprovision Grafana run: | sleep 30 # give grafana time to start up - make --debug=w reload-grafana + make --debug=b reload-grafana