Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.9] buildkite: package definition (backport #11399) #11422

Merged
merged 2 commits into from
Aug 17, 2023
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/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json

steps:
- label: "Example test"
command: echo "Hello!"
51 changes: 51 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: apm-server
description: apm-server
annotations:
github.com/project-slug: elastic/apm-server
github.com/team-slug: elastic/apm-server

spec:
type: tool
owner: group:apm-server
lifecycle: production

---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-apm-server-package
description: Buildkite Pipeline for packaging the APM Server
links:
- title: Pipeline
url: https://buildkite.com/elastic/apm-server-package

spec:
type: buildkite-pipeline
owner: group:apm-server
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: apm-server-package
spec:
repository: elastic/apm-server
pipeline_file: ".buildkite/package.yml"
provider_settings:
# TODO: delete this section once the BK pipeline works as expected.
build_branches: false # Disable builds from branches.
# Will not create any builds based on GitHub activity but it will be
# triggered using the GitHub Buildkite composite action.
#trigger_mode: none
cancel_intermediate_builds: false
skip_intermediate_builds: false
teams:
apm-server: {}
observablt-robots: {}
everyone:
access_level: READ_ONLY