Skip to content

Commit

Permalink
Merge branch 'main' into update-app-labels
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse authored May 15, 2024
2 parents 8f6c679 + 54429e2 commit cb346d6
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 6 deletions.
18 changes: 17 additions & 1 deletion .buildkite/pull-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,23 @@
"always_trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))|^/test$",
"skip_ci_labels": [ ],
"skip_target_branches": [ ],
"skip_ci_on_only_changed": [ ],
"skip_ci_on_only_changed": [ "changelog", "docs", "README.md", "sonar-project.properties", "docker-compose.yml", ".pre-commit-config.yaml", "skaffold.yaml", "Dockerfile.skaffold", "Dockerfile"],
"always_require_ci_on_changed": [ ]
},
{
"enabled": true,
"pipelineSlug": "elastic-agent-extended-testing",
"allow_org_users": true,
"allowed_repo_permissions": ["admin", "write"],
"allowed_list": ["dependabot[bot]", "mergify[bot]"],
"set_commit_status": true,
"build_on_commit": true,
"build_on_comment": true,
"trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:extended))|^/test extended$",
"always_trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:extended))|^/test extended$",
"skip_ci_labels": [ ],
"skip_target_branches": [ ],
"skip_ci_on_only_changed": [ "changelog", "docs", "README.md", "sonar-project.properties", "docker-compose.yml", ".pre-commit-config.yaml", "skaffold.yaml", "Dockerfile.skaffold", "Dockerfile"],
"always_require_ci_on_changed": [ ]
},
{
Expand Down
57 changes: 52 additions & 5 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,62 @@ spec:
pipeline_file: ".buildkite/pipeline.yml"
provider_settings:
build_pull_request_forks: false
build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
build_pull_requests: true
build_tags: true
filter_enabled: true
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: "!main !7.* !8.* !9.*"
skip_intermediate_builds: true
skip_intermediate_builds_branch_filter: "!main !7.* !8.* !9.*"
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
SLACK_NOTIFICATIONS_CHANNEL: "#ingest-notifications"
SLACK_NOTIFICATIONS_ALL_BRANCHES: "false"
SLACK_NOTIFICATIONS_ON_SUCCESS: "false"
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: READ_ONLY

---
# 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-elastic-agent-testing
description: Buildkite pipeline for the Elastic Agent extended testing
links:
- title: Pipeline
url: https://buildkite.com/elastic/elastic-agent-extended-testing

spec:
type: buildkite-pipeline
owner: group:ingest-fp
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: elastic-agent-extended-testing
description: Buildkite pipeline for the Elastic Agent extended testing
spec:
branch_configuration: "main 7.* 8.* v7.* v8.*"
repository: elastic/elastic-agent
pipeline_file: ".buildkite/integration.pipeline.yml"
provider_settings:
build_pull_request_forks: false
build_pull_requests: true
build_tags: true
filter_enabled: true
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: '!main !7.* !8.* !9.*'
cancel_intermediate_builds_branch_filter: "!main !7.* !8.* !9.*"
skip_intermediate_builds: true
skip_intermediate_builds_branch_filter: '!main !7.* !8.* !9.*'
skip_intermediate_builds_branch_filter: "!main !7.* !8.* !9.*"
env:
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
SLACK_NOTIFICATIONS_CHANNEL: "#ingest-notifications"
Expand Down Expand Up @@ -96,9 +143,9 @@ spec:
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: '!main !7.* !8.* !9.*'
cancel_intermediate_builds_branch_filter: "!main !7.* !8.* !9.*"
skip_intermediate_builds: true
skip_intermediate_builds_branch_filter: '!main !7.* !8.* !9.*'
skip_intermediate_builds_branch_filter: "!main !7.* !8.* !9.*"
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
Expand Down

0 comments on commit cb346d6

Please sign in to comment.