Skip to content

Commit

Permalink
Disable build pull requests from webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Apr 26, 2023
1 parent b13be05 commit 3243e5e
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -65,15 +81,17 @@ 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
cancel_intermediate_builds_branch_filter: '!main'
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

0 comments on commit 3243e5e

Please sign in to comment.