From 57c8897b53245341904f50d84c5ef32b3e672bc0 Mon Sep 17 00:00:00 2001 From: Siddhartha Basu Date: Thu, 27 Jun 2024 14:59:14 -0500 Subject: [PATCH] refactor(deploy-app.yaml): modify dagger command to use explicit flags for better clarity The dagger command in the GitHub Actions workflow has been updated to use explicit flags for credentials and storage. This change enhances the readability and maintainability of the workflow script by clearly specifying what each parameter is used for, making it easier for future modifications and debugging. --- .github/workflows/deploy-app.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-app.yaml b/.github/workflows/deploy-app.yaml index 666948a..96d953f 100644 --- a/.github/workflows/deploy-app.yaml +++ b/.github/workflows/deploy-app.yaml @@ -112,4 +112,4 @@ jobs: - name: export kubectl run: | - dagger call -m $KOPS_MODULE with-kops with-kubectl with-cluster --name=${{ inputs.cluster }} --credentials=${{ steps.gcp_authentication.outputs.credentials_file_path }} --storage=${{ inputs.cluster_state_storage }} export-kubectl --output=$KUBECTL_CONFIG + dagger call -m $KOPS_MODULE with-kops with-kubectl with-cluster --name=${{ inputs.cluster }} with-credentials --credentials=${{ steps.gcp_authentication.outputs.credentials_file_path }} with-state-storage --storage=${{ inputs.cluster_state_storage }} export-kubectl --output=$KUBECTL_CONFIG