-
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 1 (Artifact builds) (#182582)
## Summary Migrates batch 1 - artifact builds. The upload aspect wasn't tested, because it's programmed only to run from `main`, and we didn't want to interfere with the ongoing releases. This can be tested after the merge. Verification: - [x] RREs tested locally - [x] kibana / artifacts trigger (https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/87) - [x] kibana / artifacts container image (https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/86) - [x] kibana / artifacts snapshot (https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/88) - [x] kibana / artifacts staging (https://buildkite.com/elastic/kibana-migration-pipeline-staging/builds/88) - [x] 8.13 / 8.14 / 7.17 verification (only a few jobs need to work here) Originals: - kibana / artifacts trigger [kibana-artifacts-trigger.yml](https://buildkite.com/elastic/kibana-artifacts-trigger) - kibana / artifacts container image [kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-container-image) - kibana / artifacts snapshot [kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-snapshot) - kibana / artifacts staging [kibana-artifacts.yml](https://buildkite.com/elastic/kibana-artifacts-staging) Backports: - #182781 - #182780 The backports don't need to have the pipeline resource definition files, however, we forked 8.14 off from main, where we already had the resources. I'll remove all the unnecessary resource defs from the legacy branches, once we finalize the state (simply to save a little inconvenience on future backports.)
- Loading branch information
Showing
8 changed files
with
286 additions
and
11 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
.buildkite/pipeline-resource-definitions/kibana-artifacts-container-image.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,44 @@ | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-artifacts-container-image | ||
description: Kibana container image artifact builds | ||
links: | ||
- url: https://buildkite.com/elastic/kibana-artifacts-container-image | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: group:kibana-operations | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / artifacts container image | ||
description: Kibana container image artifact builds | ||
spec: | ||
env: | ||
SLACK_NOTIFICATIONS_CHANNEL: '#kibana-serverless-test-alerts' | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: true | ||
branch_configuration: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/artifacts_container_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: false | ||
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 |
62 changes: 62 additions & 0 deletions
62
.buildkite/pipeline-resource-definitions/kibana-artifacts-snapshot.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,62 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-artifacts-snapshot | ||
description: Kibana snapshot artifact builds | ||
links: | ||
- url: https://buildkite.com/elastic/kibana-artifacts-snapshot | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: group:kibana-operations | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / artifacts snapshot | ||
description: Kibana snapshot artifact builds | ||
spec: | ||
env: | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: true | ||
branch_configuration: main 8.14 8.13 7.17 | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/artifacts.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: false | ||
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 7 * * * America/New_York | ||
message: Daily build | ||
branch: main | ||
Daily build (8.13): | ||
cronline: 0 7 * * * America/New_York | ||
message: Daily build | ||
branch: '8.13' | ||
Daily build (8.14): | ||
cronline: 0 7 * * * America/New_York | ||
message: Daily build | ||
branch: '8.14' | ||
Daily build (7.17): | ||
cronline: 0 7 * * * America/New_York | ||
message: Daily build | ||
branch: '7.17' |
58 changes: 58 additions & 0 deletions
58
.buildkite/pipeline-resource-definitions/kibana-artifacts-staging.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,58 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-artifacts-staging | ||
description: Kibana staging artifact builds | ||
links: | ||
- url: https://buildkite.com/elastic/kibana-artifacts-staging | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: group:kibana-operations | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / artifacts staging | ||
description: Kibana staging artifact builds | ||
spec: | ||
env: | ||
RELEASE_BUILD: 'true' | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: true | ||
branch_configuration: 7.17 8.13 8.14 | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/artifacts.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: false | ||
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 (8.13): | ||
cronline: 0 7 * * * America/New_York | ||
message: Daily build | ||
branch: '8.13' | ||
Daily build (8.14): | ||
cronline: 0 7 * * * America/New_York | ||
message: Daily build | ||
branch: '8.14' | ||
Daily build (7.17): | ||
cronline: 0 7 * * * America/New_York | ||
message: Daily build | ||
branch: '7.17' |
55 changes: 55 additions & 0 deletions
55
.buildkite/pipeline-resource-definitions/kibana-artifacts-trigger.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,55 @@ | ||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Resource | ||
metadata: | ||
name: bk-kibana-artifacts-trigger | ||
description: Kibana artifact trigger | ||
links: | ||
- url: 'https://buildkite.com/elastic/kibana-artifacts-trigger' | ||
title: Pipeline link | ||
spec: | ||
type: buildkite-pipeline | ||
owner: 'group:kibana-operations' | ||
system: buildkite | ||
implementation: | ||
apiVersion: buildkite.elastic.dev/v1 | ||
kind: Pipeline | ||
metadata: | ||
name: kibana / artifacts trigger | ||
description: Kibana artifact trigger | ||
spec: | ||
env: | ||
RELEASE_BUILD: 'true' | ||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: 'true' | ||
allow_rebuilds: true | ||
branch_configuration: '8.13 8.14' | ||
default_branch: main | ||
repository: elastic/kibana | ||
pipeline_file: .buildkite/pipelines/artifacts_trigger.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: false | ||
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 (8.13): | ||
cronline: 0 */2 * * * America/New_York | ||
message: Daily build | ||
branch: '8.13' | ||
Daily build (8.14): | ||
cronline: 0 */2 * * * America/New_York | ||
message: Daily build | ||
branch: '8.14' |
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
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
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
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