From 6c512f1c21a7b4df0f575bd6ec8943e90f92e8a2 Mon Sep 17 00:00:00 2001 From: diegoitaliait Date: Wed, 15 Jan 2025 12:59:08 +0100 Subject: [PATCH] try parameters --- .github/workflows/flow-docker-snapshot.yml | 33 ++++++++-------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/.github/workflows/flow-docker-snapshot.yml b/.github/workflows/flow-docker-snapshot.yml index 051310d..caf2e50 100644 --- a/.github/workflows/flow-docker-snapshot.yml +++ b/.github/workflows/flow-docker-snapshot.yml @@ -70,28 +70,19 @@ jobs: github.event.inputs.azdo_trigger_enabled == 'true' steps: - name: Trigger Azure DevOps Pipeline - uses: pagopa/azure-pipelines@51d971651241601a348e4e2ed2431b8b7576d4f0 + # https://github.com/pagopa/github-actions-template/releases/tag/v2.0.0 + uses: pagopa/github-actions-template/azure-devops-trigger-pipeline@b825ee193430395706a4a7e580b8435bdded0227 with: - azure-devops-project-url: 'https://dev.azure.com/pagopaspa/p4pa-projects' - azure-pipeline-name: 'p4pa-payhub-deploy-aks.deploy' - azure-devops-token: ${{ secrets.AZURE_DEVOPS_TOKEN }} - azure-pipeline-variables: '{"system.debug": "true"}' - azure-template-parameters: | + enable_azure_devops_step: 'true' + azure_devops_project_url: 'https://dev.azure.com/pagopaspa/p4pa-projects' + azure_devops_pipeline_name: 'p4pa-payhub-deploy-aks.deploy' + azure_devops_pat: ${{ secrets.AZURE_DEVOPS_TOKEN }} + azure_template_parameters: | { - "TRIGGER_MESSAGE": "p4pa-auth" + "APPS_TOP": "[one-color]", + "ARGOCD_TARGET_BRANCH": "${{ github.event.inputs.argocd_target_branch }}", + "POSTMAN_BRANCH": "${{ github.event.inputs.postman_branch }}", + "TRIGGER_MESSAGE": "p4pa-auth" } - # https://github.com/pagopa/github-actions-template/releases/tag/v2.0.0 - # uses: pagopa/github-actions-template/azure-devops-trigger-pipeline@b825ee193430395706a4a7e580b8435bdded0227 - # with: - # enable_azure_devops_step: 'true' - # azure_devops_project_url: 'https://dev.azure.com/pagopaspa/p4pa-projects' - # azure_devops_pipeline_name: 'p4pa-payhub-deploy-aks.deploy' - # azure_devops_pat: ${{ secrets.AZURE_DEVOPS_TOKEN }} - # azure_template_parameters: | - # { - # "APPS_TOP": "[one-color]", - # "ARGOCD_TARGET_BRANCH": "${{ github.event.inputs.argocd_target_branch }}", - # "POSTMAN_BRANCH": "${{ github.event.inputs.postman_branch }}" - # "TRIGGER_MESSAGE": "p4pa-auth" - # } +