Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into lucene_snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticsearchmachine committed Nov 7, 2023
2 parents 34afe08 + 9132f95 commit 2daa7ed
Show file tree
Hide file tree
Showing 192 changed files with 1,222 additions and 1,109 deletions.
3 changes: 0 additions & 3 deletions .buildkite/pull-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"build_on_commit": true,
"build_on_comment": true,
"trigger_comment_regex": "run\\W+elasticsearch-ci.+",
"labels": [
"buildkite-opt-in"
],
"cancel_intermediate_builds": true,
"cancel_intermediate_builds_on_comment": false
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/build-bench.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/build-bench.*'
github-hooks: true
status-context: elasticsearch-ci/build-benchmark-part1
cancel-builds-on-update: true
Expand All @@ -32,21 +33,17 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'build-benchmark'
black-list-labels:
- 'buildkite-opt-in'
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
JAVA8_HOME=$HOME/.java/java8
JAVA11_HOME=$HOME/.java/java11
- shell: |
#!/usr/local/bin/runbld --redirect-stderr
$WORKSPACE/.ci/scripts/run-gradle.sh :build-tools-internal:bootstrapPerformanceTests
$WORKSPACE/.ci/scripts/install-gradle-profiler.sh
$WORKSPACE/.ci/scripts/run-gradle-profiler.sh --benchmark --scenario-file build-tools-internal/build/performanceTests/elasticsearch-build-benchmark-part1.scenarios --project-dir . --output-dir profile-out
mkdir $WORKSPACE/build
tar -czf $WORKSPACE/build/${BUILD_NUMBER}.tar.bz2 profile-out
#!/usr/local/bin/runbld --redirect-stderr
$WORKSPACE/.ci/scripts/run-gradle.sh :build-tools-internal:bootstrapPerformanceTests
$WORKSPACE/.ci/scripts/install-gradle-profiler.sh
$WORKSPACE/.ci/scripts/run-gradle-profiler.sh --benchmark --scenario-file build-tools-internal/build/performanceTests/elasticsearch-build-benchmark-part1.scenarios --project-dir . --output-dir profile-out
mkdir $WORKSPACE/build
tar -czf $WORKSPACE/build/${BUILD_NUMBER}.tar.bz2 profile-out
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/build-bench.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/build-bench.*'
github-hooks: true
status-context: elasticsearch-ci/build-benchmark-part2
cancel-builds-on-update: true
Expand All @@ -32,21 +33,17 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'build-benchmark'
black-list-labels:
- 'buildkite-opt-in'
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
JAVA8_HOME=$HOME/.java/java8
JAVA11_HOME=$HOME/.java/java11
- shell: |
#!/usr/local/bin/runbld --redirect-stderr
$WORKSPACE/.ci/scripts/run-gradle.sh :build-tools-internal:bootstrapPerformanceTests
$WORKSPACE/.ci/scripts/install-gradle-profiler.sh
$WORKSPACE/.ci/scripts/run-gradle-profiler.sh --benchmark --scenario-file build-tools-internal/build/performanceTests/elasticsearch-build-benchmark-part2.scenarios --project-dir . --output-dir profile-out
mkdir $WORKSPACE/build
tar -czf $WORKSPACE/build/${BUILD_NUMBER}.tar.bz2 profile-out
#!/usr/local/bin/runbld --redirect-stderr
$WORKSPACE/.ci/scripts/run-gradle.sh :build-tools-internal:bootstrapPerformanceTests
$WORKSPACE/.ci/scripts/install-gradle-profiler.sh
$WORKSPACE/.ci/scripts/run-gradle-profiler.sh --benchmark --scenario-file build-tools-internal/build/performanceTests/elasticsearch-build-benchmark-part2.scenarios --project-dir . --output-dir profile-out
mkdir $WORKSPACE/build
tar -czf $WORKSPACE/build/${BUILD_NUMBER}.tar.bz2 profile-out
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/bwc-snapshots-windows.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/bwc-snapshots-windows.*'
github-hooks: true
status-context: elasticsearch-ci/bwc-snapshots-windows
cancel-builds-on-update: true
Expand All @@ -25,11 +26,6 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'test-windows'
black-list-labels:
- '>test-mute'
- 'buildkite-opt-in'
axes:
- axis:
type: slave
Expand All @@ -42,7 +38,7 @@
name: "BWC_VERSION"
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$USERPROFILE\\.java\\$ES_BUILD_JAVA
JAVA11_HOME=$USERPROFILE\\.java\\java11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,14 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/bwc.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/bwc.*'
github-hooks: true
status-context: elasticsearch-ci/bwc
cancel-builds-on-update: true
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
- 'test-full-bwc'
- 'buildkite-opt-in'
axes:
- axis:
type: slave
Expand All @@ -39,7 +36,7 @@
name: "BWC_VERSION"
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
JAVA8_HOME=$HOME/.java/java8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/cloud-deploy.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/cloud-deploy.*'
github-hooks: true
status-context: elasticsearch-ci/cloud-deploy
cancel-builds-on-update: true
Expand All @@ -24,13 +25,9 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'cloud-deploy'
black-list-labels:
- 'buildkite-opt-in'
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
- shell: |
Expand Down
8 changes: 3 additions & 5 deletions .ci/jobs.t/elastic+elasticsearch+pull-request+docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/docs-check.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/docs-check.*'
github-hooks: true
status-context: elasticsearch-ci/docs-check
cancel-builds-on-update: true
included-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
- 'buildkite-opt-in'
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
JAVA8_HOME=$HOME/.java/java8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/eql-correctness.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/eql-correctness.*'
github-hooks: true
status-context: elasticsearch-ci/eql-correctness
cancel-builds-on-update: true
Expand All @@ -23,12 +24,9 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
- 'buildkite-opt-in'
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
- shell: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/example-plugins.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/example-plugins.*'
github-hooks: true
status-context: elasticsearch-ci/example-plugins
cancel-builds-on-update: true
Expand All @@ -23,11 +24,9 @@
- build-tools/.*
- build-tools-internal/.*
- plugins/examples/.*
black-list-labels:
- 'buildkite-opt-in'
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
JAVA8_HOME=$HOME/.java/java8
Expand Down
10 changes: 3 additions & 7 deletions .ci/jobs.t/elastic+elasticsearch+pull-request+full-bwc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/full-bwc.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/full-bwc.*'
github-hooks: true
status-context: elasticsearch-ci/full-bwc
cancel-builds-on-update: true
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- 'test-full-bwc'
black-list-labels:
- '>test-mute'
- 'buildkite-opt-in'
axes:
- axis:
type: slave
Expand All @@ -40,7 +36,7 @@
name: "BWC_VERSION"
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
JAVA8_HOME=$HOME/.java/java8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-unix-sample.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/packaging-tests-unix-sample.*'
github-hooks: true
status-context: elasticsearch-ci/packaging-tests-unix-sample
cancel-builds-on-update: true
Expand All @@ -24,10 +25,6 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- ">test-mute"
- ":Delivery/Packaging"
- "buildkite-opt-in"
axes:
- axis:
type: label-expression
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-unix.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/packaging-tests-unix.*'
github-hooks: true
status-context: elasticsearch-ci/packaging-tests-unix
cancel-builds-on-update: true
Expand All @@ -24,11 +25,6 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- ":Delivery/Packaging"
black-list-labels:
- ">test-mute"
- "buildkite-opt-in"
axes:
- axis:
type: label-expression
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-windows.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/packaging-tests-windows.*'
github-hooks: true
status-context: elasticsearch-ci/packaging-tests-windows
cancel-builds-on-update: true
Expand All @@ -28,11 +29,6 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
white-list-labels:
- ':Delivery/Packaging'
black-list-labels:
- '>test-mute'
- 'buildkite-opt-in'
axes:
- axis:
type: label-expression
Expand All @@ -46,11 +42,11 @@
type: user-defined
name: PACKAGING_TASK
values:
- 'default-windows-archive'
- 'default-windows-archive-no-jdk'
- "default-windows-archive"
- "default-windows-archive-no-jdk"
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$USERPROFILE\\.java\\$ES_BUILD_JAVA
- batch: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
org-list:
- elastic
allow-whitelist-orgs-as-admins: true
trigger-phrase: '.*run\W+elasticsearch-ci/packaging-tests-windows-sample.*'
only-trigger-phrase: true
trigger-phrase: '.*run\W+jenkins\W+elasticsearch-ci/packaging-tests-windows-sample.*'
github-hooks: true
status-context: elasticsearch-ci/packaging-tests-windows-sample
cancel-builds-on-update: true
Expand All @@ -28,10 +29,6 @@
excluded-regions:
- ^docs/.*
- ^x-pack/docs/.*
black-list-labels:
- '>test-mute'
- ':Delivery/Packaging'
- 'buildkite-opt-in'
axes:
- axis:
type: label-expression
Expand All @@ -42,11 +39,11 @@
type: user-defined
name: PACKAGING_TASK
values:
- 'default-windows-archive'
- 'default-windows-archive-no-jdk'
- "default-windows-archive"
- "default-windows-archive-no-jdk"
builders:
- inject:
properties-file: '.ci/java-versions.properties'
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$USERPROFILE\\.java\\$ES_BUILD_JAVA
- batch: |
Expand Down
Loading

0 comments on commit 2daa7ed

Please sign in to comment.