Skip to content

Commit 1dcadde

Browse files
author
kaiyan-sheng
committed
Revert "Merge remote-tracking branch 'upstream'"
This reverts commit e887c1a, reversing changes made to 0d322bf.
1 parent 0c8b1b1 commit 1dcadde

36 files changed

Lines changed: 81 additions & 78 deletions

‎.ci/apm-beats-update.groovy‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pipeline {
8181
when {
8282
beforeAgent true
8383
anyOf {
84-
branch 'main'
84+
branch 'master'
8585
branch "\\d+\\.\\d+"
8686
branch "v\\d?"
8787
tag "v\\d+\\.\\d+\\.\\d+*"

‎.ci/beats-tester-bc.groovy‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pipeline {
2424
}
2525
parameters {
2626
string(name: 'version', defaultValue: '', description: 'Id of the Build Candidate (7.10.0-b55684ff).')
27-
string(name: 'BRANCH_REFERENCE', defaultValue: 'main', description: 'Branch to grab the Groovy script(for test changes).')
27+
string(name: 'BRANCH_REFERENCE', defaultValue: 'master', description: 'Branch to grab the Groovy script(for test changes).')
2828
}
2929
stages {
3030
stage('Run Beat Tester') {

‎.ci/beats-tester.groovy‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ pipeline {
5050
setEnvVar('VERSION', sh(script: "grep ':stack-version:' ${BASE_DIR}/libbeat/docs/version.asciidoc | cut -d' ' -f2", returnStdout: true).trim())
5151
}
5252
}
53-
stage('Build main') {
53+
stage('Build master') {
5454
options { skipDefaultCheckout() }
55-
when { branch 'main' }
55+
when { branch 'master' }
5656
steps {
5757
runBeatsTesterJob(version: "${env.VERSION}-SNAPSHOT")
5858
}
@@ -78,7 +78,7 @@ pipeline {
7878
when {
7979
not {
8080
anyOf {
81-
branch comparator: 'REGEXP', pattern: '(main|.*x)'
81+
branch comparator: 'REGEXP', pattern: '(master|.*x)'
8282
changeRequest()
8383
}
8484
}

‎.ci/build-docker-images.groovy‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pipeline {
2929
}
3030
parameters {
3131
booleanParam(name: "RELEASE_TEST_IMAGES", defaultValue: "true", description: "If it's needed to build & push Beats' test images")
32-
string(name: 'BRANCH_REFERENCE', defaultValue: "main", description: "Git branch/tag to use")
32+
string(name: 'BRANCH_REFERENCE', defaultValue: "master", description: "Git branch/tag to use")
3333
}
3434
stages {
3535
stage('Checkout') {

‎.ci/jobs/apm-beats-update.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- job:
22
name: Beats/apm-beats-update
33
display-name: 'APM Server Beats update'
4-
description: 'Check if the Beats lib update works on the APM server main branch'
4+
description: 'Check if the Beats lib update works on the APM server master branch'
55
view: Beats
66
concurrent: true
77
project-type: multibranch
@@ -18,7 +18,7 @@
1818
discover-pr-forks-trust: 'permission'
1919
discover-pr-origin: 'merge-current'
2020
discover-tags: true
21-
head-filter-regex: '(main|7\.1[6789]|8\.\d+|PR-.*|v\d+\.\d+\.\d+)'
21+
head-filter-regex: '(master|7\.1[6789]|8\.\d+|PR-.*|v\d+\.\d+\.\d+)'
2222
disable-pr-notifications: true
2323
notification-context: 'apm-beats-update'
2424
repo: 'beats'
@@ -33,7 +33,7 @@
3333
ignore-tags-newer-than: 30
3434
- named-branches:
3535
- exact-name:
36-
name: 'main'
36+
name: 'master'
3737
case-sensitive: true
3838
- regex-name:
3939
regex: '7\.1[6789]'

‎.ci/jobs/beats-schedule-daily.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
parameters:
99
- string:
1010
name: branch_specifier
11-
default: main
11+
default: master
1212
description: the Git branch specifier to build
1313
pipeline-scm:
1414
script-path: .ci/schedule-daily.groovy

‎.ci/jobs/beats-schedule-weekly.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
parameters:
99
- string:
1010
name: branch_specifier
11-
default: main
11+
default: master
1212
description: the Git branch specifier to build
1313
pipeline-scm:
1414
script-path: .ci/schedule-weekly.groovy

‎.ci/jobs/beats-test-infra.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
credentials-id: f6c7695a-671e-4f4f-a331-acdce44ff9ba
1818
reference-repo: /var/lib/jenkins/.git-references/apm-test-pipeline.git
1919
branches:
20-
- main
20+
- master
2121
triggers:
2222
- timed: 'H H(3-4) * * 1-5'

‎.ci/jobs/beats-tester-bc.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
parameters:
1010
- string:
1111
name: BRANCH_REFERENCE
12-
default: main
12+
default: master
1313
description: the Git branch specifier
1414
pipeline-scm:
1515
script-path: .ci/beats-tester-bc.groovy

‎.ci/jobs/beats-tester.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
discover-pr-forks-trust: 'permission'
1515
discover-pr-origin: 'merge-current'
1616
discover-tags: true
17-
head-filter-regex: '(main|7\.1[6789]|8\.\d+|PR-.*|v\d+\.\d+\.\d+)'
17+
head-filter-regex: '(master|7\.1[6789]|8\.\d+|PR-.*|v\d+\.\d+\.\d+)'
1818
disable-pr-notifications: true
1919
notification-context: 'beats-tester'
2020
repo: 'beats'
@@ -29,7 +29,7 @@
2929
ignore-tags-newer-than: 30
3030
- named-branches:
3131
- exact-name:
32-
name: 'main'
32+
name: 'master'
3333
case-sensitive: true
3434
- regex-name:
3535
regex: '7\.1[6789]'

0 commit comments

Comments
 (0)