Commit Graph

745 Commits

Author SHA1 Message Date
Mark Vieira 5446d88e3b
Include branch information in build scans for buildkite jobs (#101284) 2023-10-24 14:08:21 -07:00
Rene Groeschke 84afa5cee3
Use gradle toolchain to resolve JDKs by BWC builds (#101224)
Fixes a problem when a versioned java home has been defined but not properly propagated
to the BWC build
2023-10-23 18:54:43 +02:00
Rene Groeschke f7ba5efcb0
Fix generation of xcontent provider Manifest (#101200)
Fixes #101191
2023-10-23 06:35:02 -04:00
Rene Groeschke f0ef872c2c
Update bundled JDK to 21.0.1 (#101133)
* Update docs/changelog/101133.yaml
2023-10-23 10:10:18 +02:00
Rene Groeschke d9ca42bf7d
Use custom task implementation for use generate manifest (#101165)
Follow up on #101161 to make this behave better when using gradle
configuration cache
2023-10-19 17:18:21 -04:00
Rene Groeschke a7326334bd
Make GenerateProviderManifest configuration cache compatible (#101161) 2023-10-19 14:54:25 -04:00
Rene Groeschke 7eb5f44266
Update forbidden apis gradle plugin (#101160) 2023-10-19 14:39:55 -04:00
Rene Groeschke 9273c7d5a6
Make BWC build logic configuration cache compliant (#101070) 2023-10-19 12:14:59 +02:00
Rene Groeschke d8f1627e27
Remove vagrant support for OS packaging tests (#100987)
- This hasnt been maintained in a while and the vagrant gradle plugin also broke compatibiliy for gradle 
  --configuration-cache. Also this removes a lot maintenance burden.
- Rework DistroTestPlugin and simplify task dependencies
- Rename :qa:os to :qa:packaging
- Update testing doc recommending buildkite tools for debugging packaging tests
2023-10-19 12:10:58 +02:00
Brian Seeders 17ef0af4f8
[buildkite] Upload build artifact and add to build scan (#100842) 2023-10-13 16:35:32 -04:00
Rene Groeschke 8a6df32de6
Update gradle wrapper to 8.4 (#99856)
* Remove deprecated forConfigurationTime usage
2023-10-11 17:02:27 +02:00
Mark Vieira 4b0a6cd598
Capture JVM crash dump logs in uploaded artifact bundle (#100627) 2023-10-10 11:24:54 -07:00
Rene Groeschke 1fa816ee8c
Use toolchain in favor of custom jdk plugin for runtime jdk setup (#99922)
* Use toolchain in favor of custom jdk plugin for runtime jdk setup
* Remove logic for Passing runtime java version via JAVAX_HOME
* Cleanup runtime provisioning gradle script
2023-10-09 13:46:00 +02:00
Matt Culbreth 132220bf83 Bump to version 8.12.0 2023-10-04 09:09:08 -04:00
Mark Vieira 788006b1bf
Never support Docker build features on Windows (#100218) 2023-10-03 11:42:40 -07:00
Mark Vieira a5f65a5af4
Revert back to using docker compose v1 CLI for test fixtures (#100206) 2023-10-03 10:30:41 -07:00
Luca Cavanna 689a1e490a Merge branch 'main' into lucene_snapshot_9_8 2023-10-02 13:56:12 +02:00
Luca Cavanna 606db050b8
Upgrade Lucene to 9.8.0 (#100128)
Lucene 9.8.0 has been released, this commit updates the Elasticsearch dependency from
the latest 9.8 snapshot to the finally released artifact
2023-10-02 13:47:53 +02:00
Brian Seeders 917975b62a
[buildkite] Migrate pull-request pipelines from Jenkins (#99449) 2023-09-29 14:00:12 -04:00
Luca Cavanna 15c87b681c Merge branch 'main' into lucene_snapshot_9_8 2023-09-28 12:19:14 +02:00
Rene Groeschke b23e000c30
Update gradle wrapper to 8.3 (#97838)
Gradle now fully supports compiling, testing and running on Java 20. 
Among other general performance improvements this release introduces --test-dry-run command line option that allows checking if tests are filtered or not by gradle.
Required updating nebula ospackage plugin as setuid was broken in gradle 8.3.
2023-09-27 08:48:21 +02:00
Simon Cooper 5f43cd8f46
Retry rolling upgrade junit tests (#99760)
Re-applies the changes from #99572 to move some bwc tests to a junit-based build infrastructure. Some tests that did not handle the move well have been kept in rolling-upgrade-legacy using the old gradle-based infrastructure
2023-09-22 15:52:59 +01:00
Luca Cavanna b3e769987d Merge branch 'main' into lucene_snapshot_9_8 2023-09-22 13:11:10 +02:00
Simon Cooper 06f09d861d
Revert "Migrate rolling upgrade tests to new junit format" (#99750)
Reverts elastic/elasticsearch#99572 and #99733

The new tests are unstable, and don't work on CI. This re-opens
https://github.com/elastic/elasticsearch/issues/97200
2023-09-21 09:42:04 -04:00
Ryan Ernst 61abe140c7
Upgrade bundled JDK to Java 21 (#99724)
Java 21 is now GA making Java 20 EOL.
2023-09-21 06:37:26 -07:00
Luca Cavanna 270de88ea0 Merge branch 'main' into lucene_snapshot_9_8 2023-09-20 20:41:55 +02:00
Simon Cooper aae2535235
Migrate rolling upgrade tests to new junit format (#99572)
Two test suites did not react well to the junit-based bwc infrastructure, so those have been separated into a legacy module using the old gradle-based system until they can be looked at properly.
This unblocks the 8.11 release.
2023-09-20 16:55:34 +01:00
elasticsearchmachine 26ece3d37b Merge remote-tracking branch 'origin/main' into lucene_snapshot 2023-09-19 10:06:38 +00:00
Rene Groeschke 9cda6d1e95
Restrict access to Legacy Gradle plugins (#99581)
This ensures new projects will not use legacy gradle plugins
2023-09-18 17:07:22 +02:00
Jake Landis 6c26ca0751
Minor clean up of guava dependencies (#99593)
This commit bumps up the version of jimfs and jimfs_gauva and guava
that is used for security and idp plugins.
2023-09-18 10:03:03 -05:00
elasticsearchmachine c1ecf70b2f [Automated] Update Lucene snapshot to 9.8.0-snapshot-1f8e08481c2 2023-09-17 06:12:19 +00:00
elasticsearchmachine 8c8330ebe8 [Automated] Update Lucene snapshot to 9.8.0-snapshot-2c9fae0cf7c 2023-09-15 06:15:16 +00:00
elasticsearchmachine daaafffe1e Merge remote-tracking branch 'origin/main' into lucene_snapshot 2023-09-14 10:05:48 +00:00
Mark Vieira 7be3d2c191
Increase flexibility of test cluster execution environments (#99437) 2023-09-13 11:18:40 -07:00
elasticsearchmachine 42b691f786 [Automated] Update Lucene snapshot to 9.8.0-snapshot-95cdd2e9f26 2023-09-13 06:15:36 +00:00
elasticsearchmachine 5f31006ed0 [Automated] Update Lucene snapshot to 9.8.0-snapshot-d70c9113472 2023-09-11 06:13:32 +00:00
elasticsearchmachine 2bcf075403 Merge remote-tracking branch 'origin/main' into lucene_snapshot 2023-09-07 10:05:13 +00:00
elasticsearchmachine d9c7f60092 [Automated] Update Lucene snapshot to 9.8.0-snapshot-632d8c253bb 2023-09-07 06:15:29 +00:00
Adrien Grand e7356a0680
Remove now useless RegExp wrapper. (#99226)
Parsing regexps no longer raises stack overflows thanks to apache/lucene#12462.
2023-09-06 16:53:12 +02:00
William Brafford d32902cf45
Wrap transport version in cluster state (#99114)
Cluster state currently holds a cluster minimum transport version and a map of nodes to transport versions. However, to determine node compatibility, we will need to account for more types of versions in cluster state than just the transport version (see #99076). Here we introduce a wrapper class to cluster state and update accessors and builders to use the new method. (I would have liked to re-use org.elasticsearch.cluster.node.VersionInformation, but that one holds IndexVersion rather than TransportVersion.

* Introduce CompatibilityVersions to cluster state class
2023-09-06 09:52:42 -04:00
Adrien Grand fe2dd4e0ba Merge branch 'main' into lucene_snapshot 2023-09-06 13:29:57 +02:00
elasticsearchmachine 6d0aebc6c0 [Automated] Update Lucene snapshot to 9.8.0-snapshot-460b27ca9d7 2023-09-06 06:16:36 +00:00
Martijn van Groningen 0eb2181bb1
Don't ignore empty index template that have no template definition. (#98840)
A composable index template with no template defined in the body is mistakingly always assumed to not be a time series template. Even if it refers to a component template that has the index.mode setting set to time_series and the component template defines mappings with dimension fields or routing paths.

Closes #98834
2023-09-06 07:47:01 +02:00
elasticsearchmachine 34255493ea [Automated] Update Lucene snapshot to 9.8.0-snapshot-7fc939753d4 2023-09-02 06:14:19 +00:00
elasticsearchmachine e39310cefd [Automated] Update Lucene snapshot to 9.8.0-snapshot-bb7e43be5a2 2023-08-31 06:15:14 +00:00
elasticsearchmachine 2c6c8058ea Merge remote-tracking branch 'origin/main' into lucene_snapshot 2023-08-24 10:05:55 +00:00
elasticsearchmachine ca6ee79504 [Automated] Update Lucene snapshot to 9.8.0-snapshot-fb9699993c3 2023-08-24 06:14:31 +00:00
Rene Groeschke 9bcefc3ddf
Resolve java toolchains when prefilling gradle cache (#98796)
As part of creating our ci images we prefill gradle caches to reduce build times. As part of that we now
also cache the java toolchain we resolve using the gradle toolchain provider
2023-08-23 21:43:54 +02:00
elasticsearchmachine bff4caf8f9 Merge remote-tracking branch 'origin/main' into lucene_snapshot 2023-08-23 10:05:43 +00:00
Albert Zaharovits 1b468a0a3b
Upgrade to OpenSAML 4.3.0 (shadowed) (#98199)
This commit upgrades to OpenSAML v4.3.0

Versions of OpenSAML ≥ 4.1 have a hard dependency on the non-FIPS release of BouncyCastle.
This would prevent ES from being able to run in a JVM where BC-FIPS is configured as the security provider.

Closes: #71983

Co-authored-by: Tim Vernum tim@adjective.org
2023-08-23 12:59:34 +03:00