Skip to content

Commit

Permalink
[INFRA] Update catalog-info.yml to run Buildkite jobs against `main…
Browse files Browse the repository at this point in the history
…`, on all branch PRs (#6965)
  • Loading branch information
1Copenut authored Jul 25, 2023
1 parent 5b992ca commit e7549ac
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ spec:
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipeline.yml"
default_branch: main
# Setting all triggers to false to prevent the default job from running.
# Keeping the job available if needed for smoke testing during the migration.
provider_settings:
build_branches: false
build_tags: false
build_pull_requests: false
teams:
eui-team:
access_level: MANAGE_BUILD_AND_READ
Expand Down Expand Up @@ -86,7 +93,7 @@ spec:
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipelines/pipeline_pull_request_test.yml"
default_branch: feature/buildkite-migration
default_branch: main
# Job runs as a step in pull request combined job
provider_settings:
build_branches: false
Expand Down Expand Up @@ -126,7 +133,7 @@ spec:
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipelines/pipeline_pull_request_deploy_docs.yml"
default_branch: feature/buildkite-migration
default_branch: main
# Job runs as a step in pull request combined job
provider_settings:
build_branches: false
Expand Down Expand Up @@ -167,23 +174,21 @@ spec:
spec:
repository: elastic/eui
pipeline_file: ".buildkite/pipelines/pipeline_pull_request_test_and_deploy.yml"
default_branch: feature/buildkite-migration
default_branch: main
env:
ELASTIC_PR_COMMENTS_ENABLED: 'true'
provider_settings:
build_branches: false
build_tags: false
build_pull_requests: true
filter_enabled: true
filter_condition: build.pull_request.base_branch == "feature/buildkite-migration"
teams:
eui-team:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY


############################ Tagged release deploy docs #############################
############################ 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
Expand Down Expand Up @@ -211,10 +216,10 @@ spec:
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
default_branch: main
provider_settings:
build_branches: false # TODO: Set to true will trigger job when GH tags are created
build_tags: false # TODO: Set to true when the feature is merged
build_branches: false
build_tags: true # Will trigger job when GitHub tags are created
build_pull_requests: false
teams:
eui-team:
Expand Down

0 comments on commit e7549ac

Please sign in to comment.