kibana/catalog-info.yaml
Alex Szabo ce4c245701
[BK] Add template for pipeline defs (#180189)
## Summary
This is to aid new pipeline creation by example.
2024-04-08 11:21:28 +02:00

225 lines
6.8 KiB
YAML

---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: kibana
description: Kibana is a user interface that lets you visualize your Elasticsearch data and navigate the Elastic Stack.
annotations:
backstage.io/source-location: url:https://github.com/elastic/kibana/tree/main
github.com/project-slug: elastic/kibana
github.com/team-slug: elastic/kibana-tech-leads
buildkite.com/project-slug: elastic/kibana
sonarqube.org/project-key: elastic_kibana_AYvOkAHeQZlFqhqWIr9
tags:
- typescript
- javascript
- dashboards
- metrics
- visualizations
- observability
links:
- title: Documentation
url: https://www.elastic.co/guide/en/kibana/current/index.html
spec:
type: monorepo
owner: group:kibana-tech-leads
lifecycle: production
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: kibana-buildkite-pipelines
description: A location re-routing file, pointing to individual buildkite pipeline definition files
spec:
type: url
target: https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/locations.yml
---
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: kibana-tests-pipeline
description: Definition of the kibana pipeline
links:
- title: Pipeline
url: https://buildkite.com/elastic/kibana-tests
spec:
type: buildkite-pipeline
owner: group:kibana-tech-leads
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: kibana-tests
description: Pipeline that tests the service integration in various environments
spec:
repository: elastic/kibana
pipeline_file: ./.buildkite/pipelines/quality-gates/pipeline.kibana-tests.yaml
provider_settings:
trigger_mode: none
teams:
kibana-operations:
access_level: MANAGE_BUILD_AND_READ
kibana-release-operators:
access_level: BUILD_AND_READ
cloud-tooling:
access_level: BUILD_AND_READ
everyone:
access_level: READ_ONLY
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: Kibana-UI-Service
description: Kibana UI Service provides the UX for visualizing Elasticsearch data. It is comprised of a client side for presentation and user event handling and a server side application for UX servicing and interaction with Elasticsearch.
annotations:
backstage.io/source-location: url:https://github.com/elastic/kibana/tree/main
github.com/project-slug: elastic/kibana
github.com/team-slug: elastic/kibana-tech-leads
buildkite.com/project-slug: elastic/kibana
tags:
- typescript
- javascript
- dashboards
- metrics
- visualizations
- observability
links:
- title: Documentation
url: https://www.elastic.co/guide/en/kibana/current/index.html
spec:
type: service
owner: group:kibana-tech-leads
lifecycle: production
system: control-plane
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: Kibana-Background-Tasks-Service
description: Kibana Background Tasks Service provides additional task processing parallelism for an instance of the Kibana UI Service. It is comprised of the same codebase as Kibana UI Service but is launched with an alternative configuration.
annotations:
backstage.io/source-location: url:https://github.com/elastic/kibana/tree/main
github.com/project-slug: elastic/kibana
github.com/team-slug: elastic/kibana-tech-leads
buildkite.com/project-slug: elastic/kibana
tags:
- typescript
- javascript
- dashboards
- metrics
- visualizations
- observability
links:
- title: Documentation
url: https://www.elastic.co/guide/en/kibana/current/index.html
spec:
type: service
owner: group:kibana-tech-leads
lifecycle: production
system: control-plane
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-kibana-kme-test
spec:
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
description: Temporary pipeline for testing Kibana KME work
name: kibana-kme-test
spec:
pipeline_file: .buildkite/scripts/pipelines/pull_request/pipeline.sh
provider_settings:
build_branches: false
build_pull_requests: true
publish_commit_status: false
trigger_mode: none
repository: elastic/kibana
teams:
kibana-operations:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
owner: group:kibana-operations
type: buildkite-pipeline
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-kibana-sonarqube
description: Run a SonarQube scan
links:
- title: Pipeline
url: https://buildkite.com/elastic/kibana-sonarqube
spec:
type: buildkite-pipeline
owner: group:kibana-operations
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: kibana / sonarqube
spec:
repository: elastic/kibana
provider_settings:
trigger_mode: none
schedules:
daily:
branch: main
cronline: "@daily"
pipeline_file: ".buildkite/pipelines/sonarqube.yml"
teams:
kibana-operations:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-kibana-emergency-release
description: Emergency release
links:
- title: Pipeline
url: https://buildkite.com/elastic/kibana-emergency-release
spec:
type: buildkite-pipeline
owner: group:kibana-operations
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: kibana / emergency release
spec:
repository: elastic/kibana
provider_settings:
trigger_mode: none
pipeline_file: ".buildkite/pipelines/emergency_release.yml"
teams:
kibana-operations:
access_level: MANAGE_BUILD_AND_READ
kibana-release-operators:
access_level: BUILD_AND_READ
everyone:
access_level: READ_ONLY
# Please avoid creating new kibana pipelines in this file to avoid bloating.
# Instead, create a new file in the pipeline-resource-definitions directory, and wire it in through the locations.yml file.