-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Add package registry promotion pipeline (#198880)
Adds a placeholder pipeline for `kibana / package registry promote`. Initially, in a follow up PR, this will run a daily promotion of `docker.elastic.co/package-registry/distribution:lite` to the kibana-ci namespace. We can also run some verification steps if desired. The distribution is a relatively large image, and nearly always running uncached on CI due to the update frequency. This should help us balance having an up to date image and avoiding cache misses.
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
.buildkite/pipeline-resource-definitions/kibana-package-registry.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,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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
steps: | ||
- command: echo "Placeholder" |