mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 08:49:27 -04:00
Adds a pipeline for a daily SonarQube scan. https://buildkite.com/elastic/kibana-bot-sonarqube/builds/7#018ca703-4b56-4a56-b6ce-ae6630cd81e3 (ignore the pipeline name/slug, that was a copy paste error. I'll fix it after)
218 lines
No EOL
6.5 KiB
YAML
218 lines
No EOL
6.5 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: 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
|
|
|
|
---
|
|
|
|
apiVersion: backstage.io/v1alpha1
|
|
kind: Resource
|
|
metadata:
|
|
name: kibana-serverless-release
|
|
description: Definition of the kibana release pipeline
|
|
links:
|
|
- title: Pipeline
|
|
url: https://buildkite.com/elastic/kibana-serverless-release
|
|
spec:
|
|
type: buildkite-pipeline
|
|
owner: group:kibana-operations
|
|
system: buildkite
|
|
implementation:
|
|
apiVersion: buildkite.elastic.dev/v1
|
|
kind: Pipeline
|
|
metadata:
|
|
name: kibana-serverless-release
|
|
description: Pipeline that releases kibana by triggering the release flow through qa, staging, and production
|
|
spec:
|
|
repository: elastic/kibana
|
|
pipeline_file: ./.buildkite/pipelines/pipeline.kibana-serverless-release.yaml
|
|
provider_settings:
|
|
build_branches: false
|
|
build_pull_request_forks: false
|
|
build_tags: true
|
|
# https://regex101.com/r/tY52jo/1
|
|
filter_condition: 'build.tag =~ /^deploy@\d+$/'
|
|
filter_enabled: true
|
|
teams:
|
|
kibana-operations:
|
|
access_level: MANAGE_BUILD_AND_READ
|
|
kibana-tech-leads:
|
|
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-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 |