From 8b02f6ef67dcfc554610887b543b9626ba5cb877 Mon Sep 17 00:00:00 2001 From: Andrew Gazeley Date: Thu, 8 Dec 2022 12:46:23 -0800 Subject: [PATCH 1/2] Updated to point certificate template download to github local at a stable commit from blob storage --- src/deploy-certificate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deploy-certificate.sh b/src/deploy-certificate.sh index 6152c5e..17cf7a9 100755 --- a/src/deploy-certificate.sh +++ b/src/deploy-certificate.sh @@ -61,7 +61,7 @@ fi arm_template_file="nginx-for-azure-certificate-template.json" #get the ARM template file -wget -O "$arm_template_file" https://nginxgithubactions.blob.core.windows.net/armtemplates/nginx-for-azure-certificate-template.json +wget -O "$arm_template_file" https://raw.githubusercontent.com/nginxinc/nginx-for-azure-deploy-action/a69d33feaa1a8a012ec44c138ca78c6ec4db9f29/src/nginx-for-azure-certificate-template.json echo "Downloaded the ARM template for synchronizing NGINX certificate." cat "$arm_template_file" From 30db28cccd88ce4ac002359e8181a2d1aedaccfe Mon Sep 17 00:00:00 2001 From: Andrew Gazeley Date: Thu, 8 Dec 2022 12:47:52 -0800 Subject: [PATCH 2/2] Bumped test version to 0.3.1 to pickup patch to certificate download process --- .github/workflows/testNginxForAzureDeploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testNginxForAzureDeploy.yml b/.github/workflows/testNginxForAzureDeploy.yml index fcce722..684ec42 100644 --- a/.github/workflows/testNginxForAzureDeploy.yml +++ b/.github/workflows/testNginxForAzureDeploy.yml @@ -36,7 +36,7 @@ jobs: sed -i 's/000000/'"$GITHUB_RUN_NUMBER"'/g' test/configs/single/nginx.conf cat test/configs/single/nginx.conf - name: "Sync NGINX configuration to NGINX for Azure - single file" - uses: nginxinc/nginx-for-azure-deploy-action@v0.3.0 + uses: nginxinc/nginx-for-azure-deploy-action@v0.3.1 with: subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} resource-group-name: $TEST_RESOURCE_GROUP_NAME @@ -56,7 +56,7 @@ jobs: sed -i 's/000000/'"$GITHUB_RUN_ID"'/g' test/configs/multi/conf.d/proxy.conf cat test/configs/multi/conf.d/proxy.conf - name: "Sync NGINX configuration and certificate to NGINX for Azure - multi file" - uses: nginxinc/nginx-for-azure-deploy-action@v0.3.0 + uses: nginxinc/nginx-for-azure-deploy-action@v0.3.1 with: subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} resource-group-name: $TEST_RESOURCE_GROUP_NAME