Skip to content

Commit bf2b224

Browse files
Merge branch 'main' into dependabot/go_modules/github.com/elastic/go-docappender/v2-2.1.3
2 parents ce57d4d + 6f707b5 commit bf2b224

14 files changed

+348
-188
lines changed

.buildkite/pull-requests.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
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"],
8-
"allowed_list": ["dependabot[bot]", "mergify[bot]"],
8+
"allowed_list": ["dependabot[bot]", "mergify[bot]", "github-actions[bot]"],
99
"set_commit_status": true,
1010
"build_on_commit": true,
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": [ ],
16-
"skip_ci_on_only_changed": [ "changelog", "docs", "README.md", "sonar-project.properties", "docker-compose.yml", ".pre-commit-config.yaml", "skaffold.yaml", "Dockerfile.skaffold", "Dockerfile"],
16+
"skip_ci_on_only_changed": [ "^.ci/", "^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"],
24-
"allowed_list": ["dependabot[bot]", "mergify[bot]"],
25+
"allowed_list": ["dependabot[bot]", "mergify[bot]", "github-actions[bot]"],
2526
"set_commit_status": true,
2627
"build_on_commit": true,
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": [ ],
32-
"skip_ci_on_only_changed": [ "changelog", "docs", "README.md", "sonar-project.properties", "docker-compose.yml", ".pre-commit-config.yaml", "skaffold.yaml", "Dockerfile.skaffold", "Dockerfile"],
33+
"skip_ci_on_only_changed": [ "^.ci/", "^changelog", "^docs/", "\\.md$", "^sonar-project.properties", "^docker-compose.yml", "^.pre-commit-config.yaml", "skaffold.yaml", "^Dockerfile.skaffold", "^Dockerfile"],
3334
"always_require_ci_on_changed": [ ]
3435
},
3536
{

.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 (Or `buildkite test this|it`) Triggers unit test pipeline
76+
/test extended (Or `buildkite 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+
-->

.github/workflows/bump-agent-versions.yml

+5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
with:
2727
go-version: 1.21
2828

29+
- name: Set git config
30+
run: |
31+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
32+
git config --global user.name "github-actions[bot]"
33+
2934
- name: Set up branch
3035
run: git checkout -b update-agent-versions-$GITHUB_RUN_ID
3136

.github/workflows/fragment-in-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
if: "!contains(github.event.pull_request.labels.*.name, 'skip-changelog') && !contains(github.event.pull_request.labels.*.name, 'backport')"
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- uses: actions/setup-go@v5
1313
with:
1414
go-version-file: .go-version

.github/workflows/golangci-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: lint
1919
runs-on: ${{ matrix.os }}
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- uses: actions/setup-go@v5
2424
with:

.github/workflows/post-dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
contents: write
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- uses: actions/setup-go@v5
2222
with:

0 commit comments

Comments
 (0)