Skip to content

Commit

Permalink
Infra/catalog info pin to feature (#6870)
Browse files Browse the repository at this point in the history
* Set BK job branch, added a job and PR comments.

* Pinning Buildkite jobs to use feature branch only.
* Adding tagged release docs job placeholder.
* Adding Buildkite step comment to PRs.

* Pointing new job at feature branch for now.
  • Loading branch information
1Copenut authored Jun 22, 2023
1 parent 4fe14f4 commit 72751b6
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ spec:
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipelines/pipeline_pull_request_test.yml"
default_branch: feature/buildkite-migration
# Job runs as a step in pull request combined job
provider_settings:
build_branches: false
Expand Down Expand Up @@ -125,6 +126,7 @@ spec:
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipelines/pipeline_pull_request_deploy_docs.yml"
default_branch: feature/buildkite-migration
# Job runs as a step in pull request combined job
provider_settings:
build_branches: false
Expand Down Expand Up @@ -165,6 +167,9 @@ spec:
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipelines/pipeline_pull_request_test_and_deploy.yml"
default_branch: feature/buildkite-migration
env:
ELASTIC_PR_COMMENTS_ENABLED: 'true'
provider_settings:
build_branches: false
build_tags: false
Expand All @@ -176,3 +181,43 @@ spec:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY


############################ Tagged release deploy docs #############################
# Publish docs to EUI subdomain when we tag a new release
---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: buildkite-pipeline-eui-release-deploy-docs
description: EUI pipeline to deploy docs to the EUI subdomain when we tag a new release
links: [
{
title: "EUI - release-deploy-docs",
url: "https://buildkite.com/elastic/eui-release-deploy-docs",
}
]

spec:
type: buildkite-pipeline
owner: group:eui-team
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: eui-release-deploy-docs
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipelines/pipeline_release_deploy_docs.yml"
default_branch: feature/buildkite-migration # TODO: Set to main when the feature is merged
provider_settings:
build_branches: false
build_tags: false # TODO: Set to true when the feature is merged
build_pull_requests: false
teams:
eui-team:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY

0 comments on commit 72751b6

Please sign in to comment.