From 148a1ba25a3be0dc777f740173fe56c6acb6861c Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 4 Nov 2024 13:46:38 -0600 Subject: [PATCH] [ci] Add package registry pipeline --- .../kibana-package-registry.yml | 36 +++++++++++++++++++ .../locations.yml | 1 + .../pipelines/fleet/package_registry.yml | 2 ++ 3 files changed, 39 insertions(+) create mode 100644 .buildkite/pipeline-resource-definitions/kibana-package-registry.yml create mode 100644 .buildkite/pipelines/fleet/package_registry.yml diff --git a/.buildkite/pipeline-resource-definitions/kibana-package-registry.yml b/.buildkite/pipeline-resource-definitions/kibana-package-registry.yml new file mode 100644 index 0000000000000..392a511e22281 --- /dev/null +++ b/.buildkite/pipeline-resource-definitions/kibana-package-registry.yml @@ -0,0 +1,36 @@ +# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json +apiVersion: backstage.io/v1alpha1 +kind: Resource +metadata: + name: bk-kibana-package-registry-promote + description: Promote package-registry/distribution:lite + links: + - url: 'https://buildkite.com/elastic/kibana-package-registry-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 / package registry promote + description: Promote package-registry/distribution:lite + spec: + env: + SLACK_NOTIFICATIONS_CHANNEL: "#kibana-operations-alerts" + ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "false" + repository: elastic/kibana + branch_configuration: main + default_branch: main + pipeline_file: ".buildkite/pipelines/fleet/package_registry.yml" + provider_settings: + trigger_mode: none + teams: + everyone: + access_level: BUILD_AND_READ + kibana-operations: + access_level: MANAGE_BUILD_AND_READ + tags: + - kibana diff --git a/.buildkite/pipeline-resource-definitions/locations.yml b/.buildkite/pipeline-resource-definitions/locations.yml index 7f96bff2b51b4..c88e37490eb43 100644 --- a/.buildkite/pipeline-resource-definitions/locations.yml +++ b/.buildkite/pipeline-resource-definitions/locations.yml @@ -27,6 +27,7 @@ spec: - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-migration-staging.yml - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-on-merge-unsupported-ftrs.yml - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-on-merge.yml + - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-package-registry.yml - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-performance-daily.yml - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-performance-data-set-extraction-daily.yml - https://github.com/elastic/kibana/blob/main/.buildkite/pipeline-resource-definitions/kibana-pointer-compression.yml diff --git a/.buildkite/pipelines/fleet/package_registry.yml b/.buildkite/pipelines/fleet/package_registry.yml new file mode 100644 index 0000000000000..52fc4f910713a --- /dev/null +++ b/.buildkite/pipelines/fleet/package_registry.yml @@ -0,0 +1,2 @@ +steps: + - command: echo "Placeholder"