mirror of
https://github.com/elastic/kibana.git
synced 2025-04-20 07:48:52 -04:00
## Summary Similar to https://github.com/elastic/kibana/pull/195581 Adds a pipeline that builds Kibana and starts cloud deployment without going through the CI test suites (as in normal pull-request pipeline runs). It can be useful if a developer would like to save time/compute on re-building/re-testing the whole project before deploying to the cloud. Added labels (`ci:cloud-deploy / ci:cloud-redeploy`) are required similarly to the usual CI flow. Related to: https://github.com/elastic/kibana-operations/issues/121
100 lines
3.4 KiB
JSON
100 lines
3.4 KiB
JSON
{
|
|
"jobs": [
|
|
{
|
|
"repoOwner": "elastic",
|
|
"repoName": "kibana",
|
|
"pipelineSlug": "kibana-pull-request",
|
|
|
|
"enabled": true,
|
|
"allow_org_users": true,
|
|
"allowed_repo_permissions": ["admin", "write"],
|
|
"allowed_list": ["elastic-vault-github-plugin-prod[bot]"],
|
|
"set_commit_status": true,
|
|
"commit_status_context": "kibana-ci",
|
|
"build_on_commit": true,
|
|
"build_on_comment": true,
|
|
"build_drafts": false,
|
|
"build_on_ready": true,
|
|
"trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))|^\\/ci$",
|
|
"always_trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))|^\\/ci$",
|
|
"skip_ci_labels": ["skip-ci"],
|
|
"skip_target_branches": ["6.8", "7.11", "7.12"],
|
|
"enable_skippable_commits": true,
|
|
"skip_ci_on_only_changed": [
|
|
"^docs/",
|
|
"^rfcs/",
|
|
"^\\.github/",
|
|
"\\.md$",
|
|
"^api_docs/.+\\.devdocs\\.json$",
|
|
"^\\.backportrc\\.json$",
|
|
"^src/dev/prs/kibana_qa_pr_list\\.json$",
|
|
"^\\.buildkite/pull_requests\\.json$",
|
|
"^\\.devcontainer/"
|
|
],
|
|
"always_require_ci_on_changed": [
|
|
"^docs/developer/plugin-list.asciidoc$",
|
|
"^\\.github/CODEOWNERS$",
|
|
"/plugins/[^/]+/readme\\.(md|asciidoc)$"
|
|
],
|
|
"kibana_versions_check": true,
|
|
"kibana_build_reuse": true,
|
|
"kibana_build_reuse_pipeline_slugs": ["kibana-pull-request", "kibana-on-merge"],
|
|
"kibana_build_reuse_regexes": [
|
|
"^test/",
|
|
"^x-pack/test/",
|
|
"/__snapshots__/",
|
|
"\\.test\\.(ts|tsx|js|jsx)"
|
|
]
|
|
},
|
|
{
|
|
"repoOwner": "elastic",
|
|
"repoName": "kibana",
|
|
"pipelineSlug": "kibana-deploy-project-from-pr",
|
|
"skip_ci_labels": [],
|
|
"enabled": true,
|
|
"allow_org_users": true,
|
|
"allowed_repo_permissions": ["admin", "write"],
|
|
"allowed_list": ["elastic-vault-github-plugin-prod[bot]"],
|
|
"set_commit_status": true,
|
|
"commit_status_context": "kibana-deploy-project-from-pr",
|
|
"build_on_commit": false,
|
|
"build_on_comment": true,
|
|
"build_drafts": false,
|
|
"trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:deploy)\\W+(?:project))$",
|
|
"kibana_versions_check": true,
|
|
"kibana_build_reuse": true,
|
|
"kibana_build_reuse_pipeline_slugs": ["kibana-pull-request", "kibana-on-merge", "kibana-deploy-project-from-pr"],
|
|
"kibana_build_reuse_regexes": [
|
|
"^test/",
|
|
"^x-pack/test/",
|
|
"/__snapshots__/",
|
|
"\\.test\\.(ts|tsx|js|jsx)"
|
|
]
|
|
},
|
|
{
|
|
"repoOwner": "elastic",
|
|
"repoName": "kibana",
|
|
"pipelineSlug": "kibana-deploy-cloud-from-pr",
|
|
"skip_ci_labels": [],
|
|
"enabled": true,
|
|
"allow_org_users": true,
|
|
"allowed_repo_permissions": ["admin", "write"],
|
|
"allowed_list": ["elastic-vault-github-plugin-prod[bot]"],
|
|
"set_commit_status": true,
|
|
"commit_status_context": "kibana-deploy-cloud-from-pr",
|
|
"build_on_commit": false,
|
|
"build_on_comment": true,
|
|
"build_drafts": false,
|
|
"trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:deploy)\\W+(?:cloud))$",
|
|
"kibana_versions_check": true,
|
|
"kibana_build_reuse": true,
|
|
"kibana_build_reuse_pipeline_slugs": ["kibana-pull-request", "kibana-on-merge", "kibana-deploy-cloud-from-pr"],
|
|
"kibana_build_reuse_regexes": [
|
|
"^test/",
|
|
"^x-pack/test/",
|
|
"/__snapshots__/",
|
|
"\\.test\\.(ts|tsx|js|jsx)"
|
|
]
|
|
}
|
|
]
|
|
}
|