-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BK] Migrate Batch 4 (ES verification) (#180346)
## Summary Creates new Buildkite RRE definitions for batch 4 (ES snapshot verification + ES serverless image verification). Updates agent targeting rules in affected pipeline implementations. - [x] RREs validated with `docker.elastic.co/ci-agent-images/pipelib`'s scripts locally - [x] Tested pipelines through the pipeline staging job - [x] Serverless suite: https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/22 - [x] ES Snapshot build: https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/26 - [x] ES Snapshot verify: https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/27 (basically started running, but failed due to test failures - doesn't seem to be related to the infra change) - [x] ES Snapshot promote: https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/28 Part of: elastic/kibana-operations#79 Migration of: - kibana / elasticsearch serverless verify and promote [kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-serverless-verify-and-promote) - kibana / elasticsearch snapshot build [kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-build) - kibana / elasticsearch snapshot promote [kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-promote) - kibana / elasticsearch snapshot verify [kibana-es-snapshots.yml](https://buildkite.com/elastic/kibana-elasticsearch-snapshot-verify) --------- Co-authored-by: Jon <jon@budzenski.me>
- Loading branch information
Showing
9 changed files
with
321 additions
and
38 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
.buildkite/pipeline-resource-definitions/kibana-es-serverless-snapshots.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-elasticsearch-serverless-verify-and-promote | ||
description: Verify & promote ElasticSearch Serverless images that pass Kibana's test suite | ||
links: | ||
- url: 'https://buildkite.com/elastic/kibana-elasticsearch-serverless-verify-and-promote' | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: 'group:kibana-operations' | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / elasticsearch serverless verify and promote | ||
description: Verify & promote ElasticSearch Serverless images that pass Kibana's test suite | ||
spec: | ||
env: | ||
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-operations-alerts' | ||
ES_SERVERLESS_IMAGE: latest | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: false | ||
branch_configuration: main | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/es_serverless/verify_es_serverless_image.yml | ||
skip_intermediate_builds: false | ||
provider_settings: | ||
build_branches: false | ||
build_pull_requests: false | ||
publish_commit_status: false | ||
trigger_mode: none | ||
build_tags: false | ||
prefix_pull_request_fork_branch_names: false | ||
skip_pull_request_builds_for_existing_commits: true | ||
teams: | ||
everyone: | ||
access_level: BUILD_AND_READ | ||
kibana-operations: | ||
access_level: MANAGE_BUILD_AND_READ | ||
appex-qa: | ||
access_level: MANAGE_BUILD_AND_READ | ||
kibana-tech-leads: | ||
access_level: MANAGE_BUILD_AND_READ | ||
schedules: | ||
Daily build: | ||
cronline: 0 9 * * * America/New_York | ||
message: Daily build | ||
env: | ||
PUBLISH_DOCKER_TAG: 'true' | ||
branch: main |
153 changes: 153 additions & 0 deletions
153
.buildkite/pipeline-resource-definitions/kibana-es-snapshots.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-elasticsearch-snapshot-build | ||
description: Build new Elasticsearch snapshots for use by kbn-es / FTR | ||
links: | ||
- url: 'https://buildkite.com/elastic/kibana-elasticsearch-snapshot-build' | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: 'group:kibana-operations' | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / elasticsearch snapshot build | ||
description: Build new Elasticsearch snapshots for use by kbn-es / FTR | ||
spec: | ||
env: | ||
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-operations-alerts' | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: false | ||
branch_configuration: main 8.13 7.17 | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/es_snapshots/build.yml | ||
skip_intermediate_builds: false | ||
provider_settings: | ||
build_branches: false | ||
build_pull_requests: false | ||
publish_commit_status: false | ||
trigger_mode: none | ||
build_tags: false | ||
prefix_pull_request_fork_branch_names: false | ||
skip_pull_request_builds_for_existing_commits: true | ||
teams: | ||
everyone: | ||
access_level: BUILD_AND_READ | ||
kibana-operations: | ||
access_level: MANAGE_BUILD_AND_READ | ||
appex-qa: | ||
access_level: MANAGE_BUILD_AND_READ | ||
kibana-tech-leads: | ||
access_level: MANAGE_BUILD_AND_READ | ||
schedules: | ||
Daily build (main): | ||
cronline: 0 9 * * * America/New_York | ||
message: Daily build | ||
branch: main | ||
Daily build (8.13): | ||
cronline: 0 9 * * * America/New_York | ||
message: Daily build | ||
branch: '8.13' | ||
Daily build (7.17): | ||
cronline: 0 9 * * * America/New_York | ||
message: Daily build | ||
branch: '7.17' | ||
--- | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-elasticsearch-snapshot-promote | ||
description: Promote Elasticsearch snapshots for use by kbn-es / FTR | ||
links: | ||
- url: 'https://buildkite.com/elastic/kibana-elasticsearch-snapshot-promote' | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: 'group:kibana-operations' | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / elasticsearch snapshot promote | ||
description: Promote Elasticsearch snapshots for use by kbn-es / FTR | ||
spec: | ||
env: | ||
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-operations-alerts' | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: false | ||
branch_configuration: main 8.13 7.17 | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/es_snapshots/promote.yml | ||
skip_intermediate_builds: false | ||
provider_settings: | ||
build_branches: false | ||
build_pull_requests: false | ||
publish_commit_status: false | ||
trigger_mode: none | ||
build_tags: false | ||
prefix_pull_request_fork_branch_names: false | ||
skip_pull_request_builds_for_existing_commits: true | ||
teams: | ||
everyone: | ||
access_level: BUILD_AND_READ | ||
kibana-operations: | ||
access_level: MANAGE_BUILD_AND_READ | ||
appex-qa: | ||
access_level: MANAGE_BUILD_AND_READ | ||
kibana-tech-leads: | ||
access_level: MANAGE_BUILD_AND_READ | ||
--- | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-elasticsearch-snapshot-verify | ||
description: Verify Elasticsearch snapshots for use by kbn-es / FTR | ||
links: | ||
- url: 'https://buildkite.com/elastic/kibana-elasticsearch-snapshot-verify' | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: 'group:kibana-operations' | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / elasticsearch snapshot verify | ||
description: Verify Elasticsearch snapshots for use by kbn-es / FTR | ||
spec: | ||
env: | ||
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-operations-alerts' | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: false | ||
branch_configuration: main 8.13 7.17 | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/es_snapshots/verify.yml | ||
skip_intermediate_builds: false | ||
provider_settings: | ||
build_branches: false | ||
build_pull_requests: false | ||
publish_commit_status: false | ||
trigger_mode: none | ||
build_tags: false | ||
prefix_pull_request_fork_branch_names: false | ||
skip_pull_request_builds_for_existing_commits: true | ||
teams: | ||
everyone: | ||
access_level: BUILD_AND_READ | ||
kibana-operations: | ||
access_level: MANAGE_BUILD_AND_READ | ||
appex-qa: | ||
access_level: MANAGE_BUILD_AND_READ | ||
kibana-tech-leads: | ||
access_level: MANAGE_BUILD_AND_READ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.