Commit graph

917 commits

Author SHA1 Message Date
Mark Vieira
489704406a
Don't run validate changelogs task during 'check' tasks (#116028) (#116035) 2024-11-01 05:06:07 +11:00
Rene Groeschke
7ee9a24177
Ignore configs from DistributionDownload plugin and bwc for resolveAllDependencies (#110828) (#110834) 2024-07-13 02:23:27 +10:00
Rene Groeschke
8ac3e3dd90
Update Gradle wrapper to 8.8 (#108021)
Fix incompatibility with 8.8 and our internal api usages

- Update ospackage to a version that contains a fix we provided
- Tweak build logic to avoid deprecation warnings
- Use newer permission api
- Use custom shadowplugin
- Rework ElasticsearchDistribution dependencies resolution
- Update Gradle wrapper to 8.8
2024-06-04 12:43:02 +02:00
Brian Seeders
7eae95620b
[ci] Move multi-node tests from check part2 to part5 (#107553) 2024-04-29 11:15:43 -04:00
Mark Vieira
392a7599c1
Update verifyVersion task after #106143 2024-03-27 14:49:53 -07:00
Mark Vieira
b1e4407c0a
Reduce BWC testing to include only latest patch releases (#106143)
This commit alters our backward compatibility testing logic to restrict
testing to the latest patch release for any given minor version. Since
our policy is not to do any kind of breaking changes in patches, most of
this testing is superfluous. This change reduces the number of versions
we need to test by over 70%.
2024-03-27 10:31:48 -07:00
Brian Seeders
6f8280c12a
[ci] Refactor BWC templating in Buildkite pipelines to handle more scenarios (#106084) 2024-03-07 16:56:07 -05:00
Mark Vieira
9da3caa0b2
Split out Java matrix BWC tasks (#106078) 2024-03-07 10:36:35 -08:00
ChrisHegarty
237db902d2 Update to 9.9.0 RC 2023-12-04 13:03:55 +00:00
ChrisHegarty
d2584ecfa2 Bump to lucene 9.9.0 RC2 2023-11-30 18:57:48 +00:00
ChrisHegarty
0f394d0606 Use lucene 9.0.0 RC1 2023-11-29 21:35:55 +00:00
Rene Groeschke
19f5bc444c
Fix creation of large build job archives (#102023)
* Fix large file and large path handling in build tar creating
2023-11-21 20:29:27 +01:00
Rene Groeschke
3d6ba88531
Splitup x-pack testing in more build steps (#101987)
We want to keep pull request and intake build time as short as possible.

While testing this I noticed though that all those checkPartX runs are basically building core modules e.g. like :server by themself not leveraging the gradle cache ideally as all 4 checkPart jobs running in parallel likely run :server:compileJava in parallel. Not sure this is a big deal. I remember within the gradle team we had similar issues and addressed this by
quick dedicated "populating build cache" pipeline steps. Not something we need to look into now, but at one point investigating this approach might be valuable for certain scenarios.
2023-11-14 11:02:21 +01:00
Rene Groeschke
e70da0491a
Revert "Keep old plugin name for build complete plugin (#101995)" (#102026)
This reverts commit 46f545cf45 as we need
to sort out the cause of #102022 first
2023-11-10 12:07:20 -05:00
Rene Groeschke
46f545cf45
Keep old plugin name for build complete plugin (#101995)
Fixes incompatibility with serverless builds
2023-11-10 03:11:58 -05:00
Rene Groeschke
841f711a0a
Make gradle build finished logic CC compatible (#96475)
* Make gradle build finished logic CC compatible
* Make ElasticsearchBuildFinishedPlugin configuration cache aware
* Add gradle enterprise plugin to buildlibs version catalogue
2023-11-10 08:05:13 +01:00
Mark Vieira
6d96998ef1
Disable BWC tests in encryption at rest CI job (#100784) 2023-10-12 16:19:53 -07:00
Mark Vieira
6a902684c5
Exclude BWC tests in platform support testing matrix (#100643) 2023-10-11 08:51:25 -07:00
Brian Seeders
4731ceaa1c
[buildkite] Migrate intake pipeline (#99133) 2023-09-06 10:32:44 -04:00
Brian Seeders
077aaf5141
[buildkite] Add most of the remaining periodic pipelines (#98043) 2023-09-05 11:07:57 -04: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
Andrei Dan
c632108aa1
Remove feature flag checks from DLM serialisation (#96583)
Remove feature flag checks from DLM serialisation.
2023-06-07 13:13:28 +01:00
Andrei Dan
b73babfefe
Disable bwc tests in preparation for DLM updates (#96644) 2023-06-07 10:51:55 +01:00
Rene Groeschke
4e2f852c08
Resolve runtime java via Gradle tool chain provider (#95319)
Using gradle toolchain support in gradle requires refactoring how the composite build is composed. 
We added three toolchain resolver
1. Resolver for resolving defined bundled version from oracle as openjdk
2. Resolve all available jdks from Adoption
3. Resolve archived Oracle jdk distributions. 

We should be able to remove the JdkDownloadPlugin altogether without having that in place, but we'll do that in a separate effort.

Fixes #95094
2023-05-03 15:28:47 +02:00
Rene Groeschke
9ce5baed0c
Update Gradle wrapper to 8.0.2 (#92751)
- Remove custom checksum build logic in wrapper task
- Adjust jdk home handling adjusting the change in behaviour in gradle. Requires providing canonical paths for provisioned jdk homes.
- Fix test by add workaround to bug in configuration cache
2023-03-09 13:00:12 +01:00
Mark Vieira
c80f7912c5
Avoid building test fixtures when building release artifacts (#94200)
We don't want to build test fixture projects when building our release
artifacts.
2023-02-28 13:09:42 -05:00
Rene Groeschke
08845b78f2
Update Gradle Wrapper to 7.6.1 (#89796) (#92241) (#94122)
This updates the gradle wrapper to 7.6.1. This patch release contains a
fix for  incremental compilation of java modules we have raised against
gradle 7.6

see https://github.com/gradle/gradle/issues/23067
2023-02-24 11:48:08 -05:00
David Kyle
3a8fdf18de
[ML] Adapt Inference actions for backport and reenable BWC
Due to #92819
2023-01-11 16:53:39 +00:00
David Kyle
6acfbbcd8b
[ML] Utilise parallel allocations where the inference request contains multiple documents (#92359)
Divide work from the _infer API among all allocations
2023-01-11 12:38:35 +00:00
David Turner
bdf634f9f5
Fixup BWC after backport of #92259 (#92280)
Adjusts the BWC version for the wire protocol and re-enables the BWC
tests.
2022-12-12 08:36:27 -05:00
David Turner
296eacd1a3 Disable BWC tests for #92277 2022-12-12 12:53:51 +00:00
Rene Groeschke
8b9f3b595f
Revert "Update to Gradle 7.6 (#89796)" (#92241)
We have seen reports of broken compilation after a clean build
after updating to gradle 7.6.

This reverts commit deaf92878a.
2022-12-08 17:55:45 +01:00
Rene Groeschke
deaf92878a
Update to Gradle 7.6 (#89796)
* Fix TestResultProcessor api changes
* Fix inputs for generateProviderManifest
* Ignore tests for now until gradle has fixed reporting issue
* Fix dependency substitution in example plugins build
* Use right java bin path on windows
* Add hint to task onlyif when no docker is available
2022-12-08 11:11:13 +01:00
David Kyle
a04d023547
[ML] Adjust serialisation of inference requests for BWC (#92157)
Adjust serialisation for BWC
2022-12-06 15:09:32 +00:00
David Roberts
92d096cd4b
Muting BWC tests while serialization fix is tested (#92158)
Relates #92153, #92157
2022-12-06 08:38:05 -05:00
Adrien Grand
2e8200a05a
Re-enable bwc tests after #91823. (#91881) 2022-11-28 11:18:29 +01:00
Adrien Grand
84b940c3f4
Upgrade Lucene to version 9.4.2. (#91823)
Most interestingly, this includes a fix for KNN vectors: apache/lucene#11905.
2022-11-23 09:08:40 +01:00
Ignacio Vera
2a81993995
Enable BWC test after backporting upgrade to lucene-9.4.1 (#91093)
Adjust the version of lucene for Elasticsearch 8.5.0

relates https://github.com/elastic/elasticsearch/pull/91090
2022-10-24 12:07:29 -04:00
Ignacio Vera
1212265b2f
Disable BWC test for backport lucene 9.4.1 upgrade (#91092) 2022-10-24 16:53:09 +02:00
David Kyle
b61f39a925
Enable BWC tests (#90522) 2022-09-29 18:59:16 +01:00
David Kyle
b935be1d37
Disable BWC tests (#90518)
For #90516
2022-09-29 23:02:01 +09:30
Ignacio Vera
b6e7b34916
enable bwc after upgrade to lucene-9.4.0-snapshot-d2e22e18c6c (#90411)
Change has been backported to 8.5 so we can enable BWC again.
2022-09-28 00:58:12 +09:30
Ignacio Vera
1cb534f109
upgrade to lucene-9.4.0-snapshot-d2e22e18c6c (#90400) 2022-09-27 15:21:37 +02:00
Ignacio Vera
5a9a4571b2
re-enable bwc after upgrade lucene to 9.4.0-snapshot-f5d0646daa5 (#90344) 2022-09-26 15:11:18 +02:00
Ignacio Vera
ad6b4137cb
upgrade lucene to 9.4.0-snapshot-f5d0646daa5 (#90230) 2022-09-26 11:15:55 +02:00
Jake Landis
20ed7e3fd9
Better support for multi cluster for run task (#89442)
This commit introduces a `./gradlew run-ccs` task with the following goals:
* mirror the ease of use of `./gradlew run` for manual cross cluster search development
  * same credentials
  * same well known ports
  * uses ccs specific naming
  * enable debugging across both clusters

This is admittedly kinda hacky. Test clusters have support multi-cluster and are in use for 
 for automated testing. There are some nuances that make that setup (and this setup) 
a bit cumbersome..specifically needing to read one cluster's config to configure another cluster. 

The run task adds a bit more config (well defined ports, etc.) than the tests need to 
so that also complicates this abit more. I found that without the additions here I was unable to get both 
sharing of cluster configuration (like in the [tests](https://github.com/elastic/elasticsearch/blob/main/qa/ccs-common-rest/build.gradle#L55)) 
and the run task's hard coded config to work well together. Hopefully the additions to the run task are not
too hacky as I could not find any other way.
2022-08-18 12:54:03 -05:00
Lee Hinman
857fe2ec86
Update version serialization for CCR backport and re-enable BWC tests (#88998)
Updates versions for backport (#88995) of original fix (#88875)

Relates to #88997
2022-08-02 03:38:31 +09:30
Lee Hinman
6121a8ad5d
Disable BWC tests for backport of #88875 (#88997) 2022-08-01 10:30:50 -06:00
Mark Vieira
3909b0b182 Replace missed reference to master branch in error message 2022-07-27 13:36:36 -07:00
Mark Vieira
d2c52ef495
Split x-pack testing into multiple CI jobs (#88697) 2022-07-27 12:58:31 -07:00