From 0c55efa23de256a09c4c0cb0b1ae63274055ab73 Mon Sep 17 00:00:00 2001 From: AngeloCaporaso Date: Mon, 9 Oct 2023 18:33:50 +0200 Subject: [PATCH 1/6] fix: Update WSDL Location --- .github/workflows/release_deploy.yml | 38 +++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release_deploy.yml b/.github/workflows/release_deploy.yml index 20bd312..bfcbb6a 100644 --- a/.github/workflows/release_deploy.yml +++ b/.github/workflows/release_deploy.yml @@ -111,13 +111,39 @@ jobs: if: ${{ inputs.semver != 'skip' }} environment: ${{ inputs.environment }} steps: - - name: Build and Push - id: semver - uses: pagopa/github-actions-template/ghcr-build-push@v1.5.4 + - uses: actions/checkout@v3 with: - branch: ${{ github.ref_name}} - github_token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ needs.release.outputs.version }} + ref: ${{ needs.release.outputs.version }} + + - name: Update WSDL Location + run: sh upd_wsdl_location.sh ${{ env.NODO_HOST }} + + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Docker meta + id: meta + uses: docker/metadata-action@v4.3.0 + with: + images: ghcr.io/${{ github.repository }} + tags: | + latest + ${{ needs.release.outputs.version }} + type=ref,event=branch + type=sha + + - name: Build and push + uses: docker/build-push-action@v3 + with: + context: . + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + build-args: ${{ inputs.build_args }} deploy_azure_fn: name: Deploy Azure function From dfeff900be369f97d7d220cf238abdb2fdd9ae65 Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Mon, 9 Oct 2023 18:14:44 +0000 Subject: [PATCH 2/6] Bump to version 0.1.5-2-fix-release-action [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- pom.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 6a722a0..31b2494 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-functions-template description: Microservice description type: application -version: 0.12.0 -appVersion: 0.1.5-1-PAGOPA-1176-remove-deploy-pipeline +version: 0.13.0 +appVersion: 0.1.5-2-fix-release-action dependencies: - name: microservice-chart version: 1.21.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 58ef9e5..cfa0189 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopadcommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-1-PAGOPA-1176-remove-deploy-pipeline" + tag: "0.1.5-2-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index c421ed0..6c91988 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopapcommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-1-PAGOPA-1176-remove-deploy-pipeline" + tag: "0.1.5-2-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index a4374cf..5bde51b 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopaucommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-1-PAGOPA-1176-remove-deploy-pipeline" + tag: "0.1.5-2-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/pom.xml b/pom.xml index 119d5dd..5c10f0b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ it.gov.pagopa.reporting reporting-batch - 0.1.5-1-PAGOPA-1176-remove-deploy-pipeline + 0.1.5-2-fix-release-action jar Azure Reporting-Batch Fn From 7d9d5a2cfb3b5757c1985c74b7cf89e2efcd2907 Mon Sep 17 00:00:00 2001 From: AngeloCaporaso Date: Mon, 9 Oct 2023 20:22:45 +0200 Subject: [PATCH 3/6] fix vars --- .github/workflows/release_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_deploy.yml b/.github/workflows/release_deploy.yml index bfcbb6a..08b580e 100644 --- a/.github/workflows/release_deploy.yml +++ b/.github/workflows/release_deploy.yml @@ -116,7 +116,7 @@ jobs: ref: ${{ needs.release.outputs.version }} - name: Update WSDL Location - run: sh upd_wsdl_location.sh ${{ env.NODO_HOST }} + run: sh upd_wsdl_location.sh ${{ vars.NODO_HOST }} - name: Login to GitHub Container Registry uses: docker/login-action@v2 From 7d281828905c7dd6ada252fafc818e60759aac32 Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Mon, 9 Oct 2023 18:24:01 +0000 Subject: [PATCH 4/6] Bump to version 0.1.5-3-fix-release-action [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- pom.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 31b2494..22c2b3a 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-functions-template description: Microservice description type: application -version: 0.13.0 -appVersion: 0.1.5-2-fix-release-action +version: 0.14.0 +appVersion: 0.1.5-3-fix-release-action dependencies: - name: microservice-chart version: 1.21.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index cfa0189..6556816 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopadcommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-2-fix-release-action" + tag: "0.1.5-3-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 6c91988..b0ac77f 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopapcommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-2-fix-release-action" + tag: "0.1.5-3-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 5bde51b..2b45200 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopaucommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-2-fix-release-action" + tag: "0.1.5-3-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/pom.xml b/pom.xml index 5c10f0b..aad6449 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ it.gov.pagopa.reporting reporting-batch - 0.1.5-2-fix-release-action + 0.1.5-3-fix-release-action jar Azure Reporting-Batch Fn From 4f985b8cb13301c2e0d8ac91256237868fab5afe Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Tue, 10 Oct 2023 07:10:08 +0000 Subject: [PATCH 5/6] Bump to version 0.1.5-4-fix-release-action [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- pom.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 22c2b3a..d24915d 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-functions-template description: Microservice description type: application -version: 0.14.0 -appVersion: 0.1.5-3-fix-release-action +version: 0.15.0 +appVersion: 0.1.5-4-fix-release-action dependencies: - name: microservice-chart version: 1.21.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 6556816..444cbd9 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopadcommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-3-fix-release-action" + tag: "0.1.5-4-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index b0ac77f..3b484ed 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopapcommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-3-fix-release-action" + tag: "0.1.5-4-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 2b45200..5d4d145 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopaucommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-3-fix-release-action" + tag: "0.1.5-4-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/pom.xml b/pom.xml index aad6449..3ee5c12 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ it.gov.pagopa.reporting reporting-batch - 0.1.5-3-fix-release-action + 0.1.5-4-fix-release-action jar Azure Reporting-Batch Fn From 1d364c6d86d3a617bffb3344b6d86fcc5a9b7294 Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Tue, 10 Oct 2023 07:16:20 +0000 Subject: [PATCH 6/6] Bump to version 0.1.5-5-fix-release-action [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- pom.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index d24915d..7b3f7a3 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: pagopa-functions-template description: Microservice description type: application -version: 0.15.0 -appVersion: 0.1.5-4-fix-release-action +version: 0.16.0 +appVersion: 0.1.5-5-fix-release-action dependencies: - name: microservice-chart version: 1.21.0 diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 444cbd9..8cd4825 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopadcommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-4-fix-release-action" + tag: "0.1.5-5-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 3b484ed..91d77ed 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopapcommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-4-fix-release-action" + tag: "0.1.5-5-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 5d4d145..53a4447 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -4,7 +4,7 @@ microservice-chart: fullnameOverride: "" image: repository: pagopaucommonacr.azurecr.io/pagopa # TODO - tag: "0.1.5-4-fix-release-action" + tag: "0.1.5-5-fix-release-action" pullPolicy: Always # https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs livenessProbe: diff --git a/pom.xml b/pom.xml index 3ee5c12..60348b9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ it.gov.pagopa.reporting reporting-batch - 0.1.5-4-fix-release-action + 0.1.5-5-fix-release-action jar Azure Reporting-Batch Fn