Skip to content

Commit ce2439a

Browse files
committed
[CI] skip labels and CI cheatsheet
1 parent fbcf75c commit ce2439a

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.buildkite/pull-requests.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"jobs": [
33
{
4-
"enabled": true,
4+
"enabled": true,
55
"pipelineSlug": "elastic-agent",
66
"allow_org_users": true,
77
"allowed_repo_permissions": ["admin", "write"],
@@ -11,13 +11,14 @@
1111
"build_on_comment": true,
1212
"trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))|^/test$",
1313
"always_trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))|^/test$",
14-
"skip_ci_labels": [ ],
14+
"skip_ci_labels": [ "skip-ci" ],
1515
"skip_target_branches": [ ],
1616
"skip_ci_on_only_changed": [ "^.ci/", "^.github/", "^changelog", "^docs/", "\\.md$", "^docker-compose.yml", "^.pre-commit-config.yaml", "skaffold.yaml", "^Dockerfile.skaffold", "^Dockerfile"],
1717
"always_require_ci_on_changed": [ ]
1818
},
1919
{
2020
"enabled": true,
21+
"build_drafts": false,
2122
"pipelineSlug": "elastic-agent-extended-testing",
2223
"allow_org_users": true,
2324
"allowed_repo_permissions": ["admin", "write"],
@@ -27,7 +28,7 @@
2728
"build_on_comment": true,
2829
"trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:extended))|^/test extended$",
2930
"always_trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:extended))|^/test extended$",
30-
"skip_ci_labels": [ ],
31+
"skip_ci_labels": [ "skip-ci", "skip-it" ],
3132
"skip_target_branches": [ ],
3233
"skip_ci_on_only_changed": [ "^.ci/", "^.github/", "^changelog", "^docs/", "\\.md$", "^sonar-project.properties", "^docker-compose.yml", "^.pre-commit-config.yaml", "skaffold.yaml", "^Dockerfile.skaffold", "^Dockerfile"],
3334
"always_require_ci_on_changed": [ ]

.github/PULL_REQUEST_TEMPLATE.md

+10
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,13 @@ Link related issues below. Insert the issue link or reference after the word "Cl
6969
- How are we going to debug this?
7070
- What are the metrics I should take care of?
7171
- ...
72+
73+
<!-- CI Cheatsheet
74+
Trigger comments:
75+
/test Triggers unit test pipeline
76+
/test extended Triggers integration test pipeline
77+
78+
PR labels:
79+
skip-ci Skips unit and integration tests
80+
skip-it Skips integration tests
81+
-->

0 commit comments

Comments
 (0)