From 3243e5efc14bd80980b7db92624d8dcbcd0f699f Mon Sep 17 00:00:00 2001 From: Mario Rodriguez Molins Date: Wed, 26 Apr 2023 11:57:51 +0200 Subject: [PATCH] Disable build pull requests from webhook --- catalog-info.yaml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/catalog-info.yaml b/catalog-info.yaml index c73e7ee022..74bc96b497 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -1,3 +1,17 @@ +# Declare a Backstage Component that represents your application. +--- +# yaml-language-server: $schema=https://json.schemastore.org/catalog-info.json +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: elastic-package + +spec: + type: tool + owner: group:ingest-fp # Find your group in https://backstage.elastic.dev/catalog?filters%5Bkind%5D=group + system: platform-ingest # Find your group in https://backstage.elastic.dev/catalog?filters%5Bkind%5D=system + lifecycle: production # or production, deprecated, etc. + --- # yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json apiVersion: backstage.io/v1alpha1 @@ -24,6 +38,7 @@ spec: pipeline_file: ".buildkite/pipeline.yml" provider_settings: build_pull_request_forks: false + build_pull_requests: false # PR builds are managed by buildkite-pr-bot build_tags: true repository: elastic/elastic-package cancel_intermediate_builds: true @@ -33,9 +48,10 @@ spec: env: ELASTIC_PR_COMMENTS_ENABLED: 'true' teams: - ecosystem: {} + ecosystem: + access_level: MANAGE_BUILD_AND_READ ingest-fp: - access_level: BUILD_AND_READ + access_level: MANAGE_BUILD_AND_READ everyone: access_level: READ_ONLY @@ -65,6 +81,7 @@ spec: pipeline_file: ".buildkite/pipeline.package-storage-publish.yml" provider_settings: build_pull_request_forks: false + build_pull_requests: false # PR builds are managed by buildkite-pr-bot build_tags: true repository: elastic/elastic-package cancel_intermediate_builds: true @@ -72,8 +89,9 @@ spec: skip_intermediate_builds: true skip_intermediate_builds_branch_filter: '!main' teams: - ecosystem: {} + ecosystem: + access_level: MANAGE_BUILD_AND_READ ingest-fp: - access_level: BUILD_AND_READ + access_level: MANAGE_BUILD_AND_READ everyone: access_level: READ_ONLY