From 243ad404403c948535a37271f2f01ea815113494 Mon Sep 17 00:00:00 2001 From: FedericoRuzzier <49512050+FedericoRuzzier@users.noreply.github.com> Date: Tue, 26 Mar 2024 14:47:37 +0100 Subject: [PATCH 1/3] PAGOPA-1594 testing opex version --- .github/workflows/create_dashboard.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create_dashboard.yaml b/.github/workflows/create_dashboard.yaml index a9473119..fcc7c66f 100644 --- a/.github/workflows/create_dashboard.yaml +++ b/.github/workflows/create_dashboard.yaml @@ -62,7 +62,7 @@ jobs: subscription-id: ${{ secrets.SUBSCRIPTION_ID }} # this action create a folder named /azure-dashboard - - uses: pagopa/opex-dashboard-action@main + - uses: pagopa/opex-dashboard-action@1.1.2 with: template: ${{ env.TEMPLATE_DIR }} config: .opex/${{ matrix.product }}/env/${{ matrix.environment }}/config.yaml From 153421ef1fc73f4c24416004b9c75e7856d39ab2 Mon Sep 17 00:00:00 2001 From: FedericoRuzzier <49512050+FedericoRuzzier@users.noreply.github.com> Date: Tue, 26 Mar 2024 14:51:30 +0100 Subject: [PATCH 2/3] PAGOPA-1594 minor version change --- .github/workflows/create_dashboard.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/create_dashboard.yaml b/.github/workflows/create_dashboard.yaml index fcc7c66f..6eaff2c1 100644 --- a/.github/workflows/create_dashboard.yaml +++ b/.github/workflows/create_dashboard.yaml @@ -62,7 +62,7 @@ jobs: subscription-id: ${{ secrets.SUBSCRIPTION_ID }} # this action create a folder named /azure-dashboard - - uses: pagopa/opex-dashboard-action@1.1.2 + - uses: pagopa/opex-dashboard-action@v1.1.2 with: template: ${{ env.TEMPLATE_DIR }} config: .opex/${{ matrix.product }}/env/${{ matrix.environment }}/config.yaml From 6788dc5ccfa33afed4af7c3b5dab39774c84055a Mon Sep 17 00:00:00 2001 From: FedericoRuzzier <49512050+FedericoRuzzier@users.noreply.github.com> Date: Wed, 27 Mar 2024 10:56:12 +0100 Subject: [PATCH 3/3] PAGOPA-1594 adapting action --- .github/workflows/create_dashboard.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_dashboard.yaml b/.github/workflows/create_dashboard.yaml index 6eaff2c1..81a4595d 100644 --- a/.github/workflows/create_dashboard.yaml +++ b/.github/workflows/create_dashboard.yaml @@ -14,6 +14,8 @@ on: env: TEMPLATE_DIR: azure-dashboard + API_NAME: api-afm-calculator-dashboard + DOCKER_IMAGE_TAG: sha256:04d8ead53c772d23b094c2a395292dc159e6f2905e1b13b5f828f31eac6eb27f permissions: id-token: write @@ -62,10 +64,14 @@ jobs: subscription-id: ${{ secrets.SUBSCRIPTION_ID }} # this action create a folder named /azure-dashboard - - uses: pagopa/opex-dashboard-action@v1.1.2 + - uses: pagopa/opex-dashboard-azure-action@3ad80a5e4a2d5a8f342615637072f21b687320ce with: - template: ${{ env.TEMPLATE_DIR }} + client-id: ${{ secrets.ARM_CLIENT_ID }} + tenant-id: ${{ secrets.ARM_TENANT_ID }} + subscription-id: ${{ secrets.ARM_SUBSCRIPTION_ID }} + api-name: ${{ env.API_NAME }} config: .opex/${{ matrix.product }}/env/${{ matrix.environment }}/config.yaml + docker-version: ${{ env.DOCKER_IMAGE_TAG }} # we need to set env variables in the folder /azure-dashboard - name: Copy Environments