diff --git a/.buildkite/pull-request-pipeline.yml b/.buildkite/pull-request-pipeline.yml new file mode 100644 index 0000000..251555c --- /dev/null +++ b/.buildkite/pull-request-pipeline.yml @@ -0,0 +1,5 @@ +- label: "Pull request pipeline" + command: | + #!/usr/bin/env bash + set -eo pipefail + echo "--- Pull request pipeline preparation" \ No newline at end of file diff --git a/catalog-info.yaml b/catalog-info.yaml new file mode 100644 index 0000000..a2a5a5f --- /dev/null +++ b/catalog-info.yaml @@ -0,0 +1,50 @@ +# *********************************** +# SECTION START: Pull Request pipeline +# *********************************** + +--- +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json +apiVersion: backstage.io/v1alpha1 +kind: Resource +metadata: + name: logstash-input-stdin-pull-request + description: 'A pipeline for Logstash stdin plugin' + links: + - title: 'Logstash stdin pull request pipeline' + url: https://buildkite.com/logstash-plugins/logstash-input-stdin-pull-request +spec: + owner: group:logstash + type: buildkite-pipeline + system: platform-ingest + implementation: + apiVersion: buildkite.elastic.dev/v1 + kind: Pipeline + metadata: + description: ':logstash: Test `stdin` pull request :pipeline:' + name: logstash-input-stdin-pull-request + spec: + pipeline_file: .buildkite/pull-request-pipeline.yml + maximum_timeout_in_minutes: 120 + repository: logstash-plugins/logstash-input-stdin + provider_settings: + build_pull_requests: true + build_pull_request_forks: false + build_branches: false + build_tags: false + filter_enabled: true + filter_condition: >- + build.creator.name == 'elasticmachine' && build.pull_request.id != null + cancel_intermediate_builds: true + skip_intermediate_builds: true + env: + ELASTIC_PR_COMMENTS_ENABLED: 'true' + teams: + logstash: + access_level: MANAGE_BUILD_AND_READ + ingest-fp: + access_level: MANAGE_BUILD_AND_READ + ingest-eng-prod: + access_level: MANAGE_BUILD_AND_READ + everyone: + access_level: READ_ONLY +