|
| 1 | +# Declare a Backstage Component that represents your application. |
| 2 | +--- |
| 3 | +# yaml-language-server: $schema=https://json.schemastore.org/catalog-info.json |
| 4 | +apiVersion: backstage.io/v1alpha1 |
| 5 | +kind: Component |
| 6 | +metadata: |
| 7 | + name: elastic-agent-client |
| 8 | + |
| 9 | +spec: |
| 10 | + type: library |
| 11 | + owner: group:ingest-fp |
| 12 | + system: platform-ingest |
| 13 | + lifecycle: production |
| 14 | + |
| 15 | +--- |
| 16 | +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json |
| 17 | +apiVersion: backstage.io/v1alpha1 |
| 18 | +kind: Resource |
| 19 | +metadata: |
| 20 | + name: buildkite-pipeline-elastic-agent-client |
| 21 | + description: 'Pipeline for the Elastic Agent Client project' |
| 22 | + links: |
| 23 | + - title: Pipeline |
| 24 | + url: https://buildkite.com/elastic/elastic-agent-client |
| 25 | + |
| 26 | +spec: |
| 27 | + type: buildkite-pipeline |
| 28 | + owner: group:ingest-fp |
| 29 | + system: platform-ingest |
| 30 | + implementation: |
| 31 | + apiVersion: buildkite.elastic.dev/v1 |
| 32 | + kind: Pipeline |
| 33 | + metadata: |
| 34 | + name: elastic-agent-client |
| 35 | + description: 'Pipeline for the Elastic Agent Client project' |
| 36 | + spec: |
| 37 | + branch_configuration: "main" |
| 38 | + pipeline_file: ".buildkite/pipeline.yml" |
| 39 | + provider_settings: |
| 40 | + build_pull_request_forks: false |
| 41 | + build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot |
| 42 | + build_tags: true |
| 43 | + filter_enabled: true |
| 44 | + filter_condition: >- |
| 45 | + build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null) |
| 46 | + repository: elastic/elastic-agent-client |
| 47 | + cancel_intermediate_builds: true |
| 48 | + cancel_intermediate_builds_branch_filter: '!main' |
| 49 | + skip_intermediate_builds: true |
| 50 | + skip_intermediate_builds_branch_filter: '!main' |
| 51 | + env: |
| 52 | + ELASTIC_PR_COMMENTS_ENABLED: 'true' |
| 53 | + teams: |
| 54 | + ingest-fp: |
| 55 | + access_level: MANAGE_BUILD_AND_READ |
| 56 | + everyone: |
| 57 | + access_level: READ_ONLY |
0 commit comments