From 40e4f79864a01b349ab6f3414a9fce9c8cebfee7 Mon Sep 17 00:00:00 2001 From: Emanuele De Cupis <ema.decu@gmail.com> Date: Thu, 9 Sep 2021 12:05:51 +0200 Subject: [PATCH] remove inital branch filter from pr triggers --- azure-devops/projects/io-backend-projects/io-backend.tf | 2 +- azure-devops/projects/io-backend-projects/io-functions-admin.tf | 1 - azure-devops/projects/io-backend-projects/io-functions-app.tf | 1 - .../projects/io-backend-projects/io-functions-assets.tf | 1 - .../projects/io-backend-projects/io-functions-cgn-merchant.tf | 1 - azure-devops/projects/io-backend-projects/io-functions-cgn.tf | 1 - .../projects/io-backend-projects/io-functions-commons.tf | 1 - .../projects/io-backend-projects/io-functions-public.tf | 1 - .../io-backend-projects/io-functions-pushnotifications.tf | 1 - .../projects/io-backend-projects/io-functions-services-cache.tf | 1 - .../projects/io-backend-projects/io-functions-services.tf | 1 - azure-devops/projects/io-backend-projects/io-pagopa-proxy.tf | 1 - .../io-developer-portal-projects/io-developer-portal-backend.tf | 1 - .../io-developer-portal-frontend.tf | 1 - .../io-services-metadata-projects/io-services-metadata.tf | 1 - .../projects/pagopa-packages-projects/io-spid-commons.tf | 1 - .../projects/pagopa-packages-projects/openapi-codegen-ts.tf | 1 - azure-devops/projects/pagopa-packages-projects/ts-commons.tf | 1 - 18 files changed, 1 insertion(+), 18 deletions(-) diff --git a/azure-devops/projects/io-backend-projects/io-backend.tf b/azure-devops/projects/io-backend-projects/io-backend.tf index d87bd53a..327c979c 100644 --- a/azure-devops/projects/io-backend-projects/io-backend.tf +++ b/azure-devops/projects/io-backend-projects/io-backend.tf @@ -25,7 +25,7 @@ resource "azuredevops_build_definition" "io-backend-code-review" { path = "\\${var.io-backend.repository.name}" pull_request_trigger { - initial_branch = var.io-backend.repository.branch_name + forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-admin.tf b/azure-devops/projects/io-backend-projects/io-functions-admin.tf index 2006c8b1..72b3ba1f 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-admin.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-admin.tf @@ -27,7 +27,6 @@ resource "azuredevops_build_definition" "io-functions-admin-code-review" { path = "\\${var.io-functions-admin.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-admin.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-app.tf b/azure-devops/projects/io-backend-projects/io-functions-app.tf index cff62482..89ad3e3a 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-app.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-app.tf @@ -25,7 +25,6 @@ resource "azuredevops_build_definition" "io-functions-app-code-review" { path = "\\${var.io-functions-app.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-app.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-assets.tf b/azure-devops/projects/io-backend-projects/io-functions-assets.tf index fe8a8811..2627e230 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-assets.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-assets.tf @@ -27,7 +27,6 @@ resource "azuredevops_build_definition" "io-functions-assets-code-review" { path = "\\${var.io-functions-assets.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-assets.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-cgn-merchant.tf b/azure-devops/projects/io-backend-projects/io-functions-cgn-merchant.tf index 4fd7b1d4..50e384dd 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-cgn-merchant.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-cgn-merchant.tf @@ -27,7 +27,6 @@ resource "azuredevops_build_definition" "io-functions-cgn-merchant-code-review" path = "\\${var.io-functions-cgn-merchant.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-cgn-merchant.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-cgn.tf b/azure-devops/projects/io-backend-projects/io-functions-cgn.tf index 649db7ae..a4a1eba4 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-cgn.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-cgn.tf @@ -27,7 +27,6 @@ resource "azuredevops_build_definition" "io-functions-cgn-code-review" { path = "\\${var.io-functions-cgn.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-cgn.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-commons.tf b/azure-devops/projects/io-backend-projects/io-functions-commons.tf index cc6695f4..5063aa6e 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-commons.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-commons.tf @@ -25,7 +25,6 @@ resource "azuredevops_build_definition" "io-functions-commons-code-review" { path = "\\${var.io-functions-commons.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-commons.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-public.tf b/azure-devops/projects/io-backend-projects/io-functions-public.tf index c443305a..73841f5b 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-public.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-public.tf @@ -27,7 +27,6 @@ resource "azuredevops_build_definition" "io-functions-public-code-review" { path = "\\${var.io-functions-public.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-public.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-pushnotifications.tf b/azure-devops/projects/io-backend-projects/io-functions-pushnotifications.tf index 43f72b4d..b2b1b603 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-pushnotifications.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-pushnotifications.tf @@ -27,7 +27,6 @@ resource "azuredevops_build_definition" "io-functions-pushnotifications-code-rev path = "\\${var.io-functions-pushnotifications.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-pushnotifications.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-services-cache.tf b/azure-devops/projects/io-backend-projects/io-functions-services-cache.tf index 7dcc1e41..f0594d38 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-services-cache.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-services-cache.tf @@ -27,7 +27,6 @@ resource "azuredevops_build_definition" "io-functions-services-cache-code-review path = "\\${var.io-functions-services-cache.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-services-cache.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-functions-services.tf b/azure-devops/projects/io-backend-projects/io-functions-services.tf index 105eb23b..26b15b4c 100644 --- a/azure-devops/projects/io-backend-projects/io-functions-services.tf +++ b/azure-devops/projects/io-backend-projects/io-functions-services.tf @@ -27,7 +27,6 @@ resource "azuredevops_build_definition" "io-functions-services-code-review" { path = "\\${var.io-functions-services.repository.name}" pull_request_trigger { - initial_branch = var.io-functions-services.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-backend-projects/io-pagopa-proxy.tf b/azure-devops/projects/io-backend-projects/io-pagopa-proxy.tf index 3b76fded..4b335757 100644 --- a/azure-devops/projects/io-backend-projects/io-pagopa-proxy.tf +++ b/azure-devops/projects/io-backend-projects/io-pagopa-proxy.tf @@ -28,7 +28,6 @@ resource "azuredevops_build_definition" "io-pagopa-proxy-code-review" { path = "\\${var.io-pagopa-proxy.repository.name}" pull_request_trigger { - initial_branch = var.io-pagopa-proxy.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-developer-portal-projects/io-developer-portal-backend.tf b/azure-devops/projects/io-developer-portal-projects/io-developer-portal-backend.tf index 59a43e8b..1b865a1b 100644 --- a/azure-devops/projects/io-developer-portal-projects/io-developer-portal-backend.tf +++ b/azure-devops/projects/io-developer-portal-projects/io-developer-portal-backend.tf @@ -31,7 +31,6 @@ resource "azuredevops_build_definition" "io-developer-portal-backend-code-review path = "\\${var.io-developer-portal-backend.repository.name}" pull_request_trigger { - initial_branch = var.io-developer-portal-backend.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-developer-portal-projects/io-developer-portal-frontend.tf b/azure-devops/projects/io-developer-portal-projects/io-developer-portal-frontend.tf index 74b5fd08..ede99f72 100644 --- a/azure-devops/projects/io-developer-portal-projects/io-developer-portal-frontend.tf +++ b/azure-devops/projects/io-developer-portal-projects/io-developer-portal-frontend.tf @@ -40,7 +40,6 @@ resource "azuredevops_build_definition" "io-developer-portal-frontend-code-revie path = "\\${var.io-developer-portal-frontend.repository.name}" pull_request_trigger { - initial_branch = var.io-developer-portal-frontend.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/io-services-metadata-projects/io-services-metadata.tf b/azure-devops/projects/io-services-metadata-projects/io-services-metadata.tf index e52d6d3d..f6896a19 100644 --- a/azure-devops/projects/io-services-metadata-projects/io-services-metadata.tf +++ b/azure-devops/projects/io-services-metadata-projects/io-services-metadata.tf @@ -25,7 +25,6 @@ resource "azuredevops_build_definition" "io-services-metadata" { path = format("\\%s", var.io-services-metadata.repository.name) pull_request_trigger { - initial_branch = var.io-services-metadata.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/pagopa-packages-projects/io-spid-commons.tf b/azure-devops/projects/pagopa-packages-projects/io-spid-commons.tf index 479ddc1a..f8cbd5c8 100644 --- a/azure-devops/projects/pagopa-packages-projects/io-spid-commons.tf +++ b/azure-devops/projects/pagopa-packages-projects/io-spid-commons.tf @@ -25,7 +25,6 @@ resource "azuredevops_build_definition" "io-spid-commons-code-review" { path = "\\${var.io-spid-commons.repository.name}" pull_request_trigger { - initial_branch = var.io-spid-commons.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/pagopa-packages-projects/openapi-codegen-ts.tf b/azure-devops/projects/pagopa-packages-projects/openapi-codegen-ts.tf index 1953be75..7e72c4a6 100644 --- a/azure-devops/projects/pagopa-packages-projects/openapi-codegen-ts.tf +++ b/azure-devops/projects/pagopa-packages-projects/openapi-codegen-ts.tf @@ -25,7 +25,6 @@ resource "azuredevops_build_definition" "openapi-codegen-ts-code-review" { path = "\\${var.openapi-codegen-ts.repository.name}" pull_request_trigger { - initial_branch = var.openapi-codegen-ts.repository.branch_name forks { enabled = false share_secrets = false diff --git a/azure-devops/projects/pagopa-packages-projects/ts-commons.tf b/azure-devops/projects/pagopa-packages-projects/ts-commons.tf index 1ca8155e..4d62bb89 100644 --- a/azure-devops/projects/pagopa-packages-projects/ts-commons.tf +++ b/azure-devops/projects/pagopa-packages-projects/ts-commons.tf @@ -29,7 +29,6 @@ resource "azuredevops_build_definition" "ts-commons-code-review" { path = "\\${var.ts-commons.repository.name}" pull_request_trigger { - initial_branch = var.ts-commons.repository.branch_name forks { enabled = false share_secrets = false