Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .buildkite/pull-request-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- label: "Pull request pipeline"
command: |
#!/usr/bin/env bash
set -eo pipefail
echo "--- Pull request pipeline preparation"
50 changes: 50 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -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