Commit graph

344 commits

Author SHA1 Message Date
Mark Vieira
f5cc243525
[7.17] Avoid resolving project dependencies in 'resolveAllDependencies' task (#115888) (#115949)
* Avoid resolving project dependencies in 'resolveAllDependencies' task (#115888)

# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ResolveAllDependencies.java

* Ooops
2024-10-31 03:03:12 +11:00
elasticsearchmachine
d7084af836 Bump versions after 7.17.25 release 2024-10-22 20:43:46 +00:00
Mark Vieira
59344a3f1b
Revert "Ignore additional warnings when compiling with newer JDKs"
This reverts commit 4eab6a9e44.
2024-10-22 12:06:21 -07:00
Ryan Ernst
9bfac6bf35
Update bundled jdk to 22.0.2 (#115055)
This will apply to 8.15 and 7.17.
2024-10-22 20:23:45 +02:00
Mark Vieira
4eab6a9e44
Ignore additional warnings when compiling with newer JDKs 2024-10-22 11:17:03 -07:00
Mark Vieira
21df4f545c
Update spotless (#115349) 2024-10-22 10:49:29 -07:00
Mark Vieira
ade82f21b7
Timeout on buildkite uploads but don't fail the build 2024-10-22 08:59:32 -07:00
Slobodan Adamović
23e7520bdd
Upgrade protobufer to 3.25.5 (#113869) (#114119)
Updating `com.google.protobuf:protobuf-java-util` and
`com.google.protobuf:protobuf-java` dependencies to
the latest 3.x version.

(cherry picked from commit ddf019a1a5)

# Conflicts:
#	build-tools-internal/version.properties
#	gradle/verification-metadata.xml
2024-10-04 14:21:42 +02:00
Rene Groeschke
0759402ab6
Update Gradle wrapper to 8.10.2 (#113603) (#113720)
Update Gradle wrapper to 8.10.2
2024-09-28 05:49:48 +10:00
Rene Groeschke
1ac1349e01
Update Gradle wrapper to 8.10.1 (#112948) (#113204) 2024-09-20 04:19:52 +10:00
elasticsearchmachine
9603be32a0 Bump versions after 7.17.24 release 2024-09-10 11:13:40 +00:00
Simon Cooper
9a80a37d78
[7.17] Use CLDR locale provider on JDK 23 (#110222) (#112544)
Backports #110222 to 7.17.

JDK 23 removes the COMPAT locale provider, leaving CLDR as the only option. This commit configures Elasticsearch
to use the CLDR provider when on JDK 23, but still use the existing COMPAT provider when on JDK 22 and below.

This causes some differences in locale behaviour; this also adapts various tests to still work whether run on COMPAT or CLDR.
2024-09-06 16:24:37 +01:00
Rene Groeschke
cba614ab55
Update Gradle wrapper to 8.10 (#111736) (#112096)
(cherry picked from commit fb6c5a55dd)
2024-08-22 22:04:51 +10:00
elasticsearchmachine
d2c120d00f Bump versions after 7.17.23 release 2024-08-01 14:25:01 +00:00
Mark Vieira
aabe0a39ab
Don't run BWC plugin setup tests on Windows (#111166) 2024-07-22 13:59:03 -07:00
Rene Groeschke
f01427f9ce
Update Gradle wrapper to 8.9 (#110109) (#111097)
(cherry picked from commit cb0ecb86df)
2024-07-19 15:39:44 +02:00
Mark Vieira
c364c6017c
Add runtime classpath as input to ThirdPartyAuditTask (#110882) (#110888)
The runtime classpath of `ThirdPartyAuditTask` was not being tracked as
an input which can cause issues with task output caching and build
avoidance.
2024-07-16 04:29:06 +10:00
Rene Groeschke
1e0b61419a
[7.17] Update Gradle wrapper to 8.8 (#108021) (#109348)
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
- Fix one more deprecated permission api usage
- Fix DistroTest dependencies
- Fix permissions in package init.d folder
2024-06-18 16:45:31 +02:00
elasticsearchmachine
10670ce5ad Bump versions after 7.17.22 release 2024-06-13 15:15:24 +00:00
Ryan Ernst
6f20cba5a1
Update bundled JDK to Java 22 (again) (#108654) (#108689)
* Update bundled JDK to Java 22 (again) (#108654)

This commit re-bumps the bundled JDK to Java 22 now that we have
a tested workaround for the G1GC bug
(https://bugs.openjdk.org/browse/JDK-8329528).

relates #108571
relates #106987

* copy main openjdk toolchain resolver

* use 2 lines for workaround

* fix test

* update adoptium test
2024-05-16 10:18:18 -04:00
Athena Brown
853958388f AwaitsFix: https://github.com/elastic/elasticsearch/issues/108441 2024-05-08 15:48:30 -06:00
Athena Brown
766ba1c6c8
[7.17] Align all usages of protobuf to be 3.21.9 (#95431)
Updating repository-hdfs, repository-gcs, and vector-tile to all use the same more recent protobuf.

Co-authored-by: Keith Massey <keith.massey@elastic.co>
2024-05-08 14:59:53 -06:00
Jake Landis
847404300f
upgrade bouncy castle (non-fips) to 1.78.1 (#108223) (#108274) 2024-05-03 18:40:35 -04:00
elasticsearchmachine
371e4f8a78 Bump versions after 7.17.21 release 2024-05-03 15:39:48 +00:00
Mark Vieira
c24f611466
Move muted tests file and allow for additional files to be configured (#107916) (#108035)
Some refactoring to the muted tests plugin to better support usage in a
composite build configuration.
# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/MutedTestPlugin.java
#	build-tools/src/testFixtures/groovy/org/elasticsearch/gradle/fixtures/AbstractGradleFuncTest.groovy
2024-04-29 14:16:57 -04:00
Brian Seeders
52fb2dbb68
[ci] Add Buildkite metrics/logs links to buildscans (#107719) (#107728)
(cherry picked from commit 1100689b50)
2024-04-22 17:38:03 -04:00
Mark Vieira
9b58752f62
[7.17] Muted test automation (#106784) (#107638)
* Muted test automation (#106784)

# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java
#	build-tools/src/testFixtures/groovy/org/elasticsearch/gradle/fixtures/AbstractGradleFuncTest.groovy

* Spotless

---------

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2024-04-18 15:02:15 -04:00
Brian Seeders
1f53c9208b
Bump versions after 7.17.20 release 2024-04-10 11:54:50 -04:00
Chris Hegarty
ed09ff580e
[7.17.20] Downgrade the bundled JDK to JDK 21.0.2 (#107142)
This commit downgrades the bundled JDK to JDK 21.0.2.
2024-04-05 15:31:43 +01:00
elasticsearchmachine
af2c523cdf Bump versions after 7.17.19 release 2024-03-26 20:00:24 +00:00
Rene Groeschke
eb0e1ad3e2
Update Gradle wrapper to 8.7 (#105854) (#106722)
removed tiny issue on build script that seems like an oversight and doesn't do anything at all

(cherry picked from commit c15f727f2d)

# Conflicts:
#	x-pack/plugin/ent-search/build.gradle
2024-03-26 08:33:29 +01:00
Mark Vieira
b0cd02b712
[7.17] Update bundled JDK to Java 22 (#106482) (#106509)
* Update bundled JDK to Java 22 (#106482)

# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/toolchain/AdoptiumJdkToolchainResolver.java
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/toolchain/OracleOpenJdkToolchainResolver.java
#	build-tools-internal/src/test/groovy/org/elasticsearch/gradle/internal/toolchain/AdoptiumJdkToolchainResolverSpec.groovy
#	gradle/verification-metadata.xml

* Revert toolchain resolver changes
2024-03-19 16:29:57 -04:00
Benjamin Trent
ee99b6c2e9
Update to latest Lucene bugfix version 8.11.3 (#106365) 2024-03-18 07:19:07 -04:00
Rene Groeschke
03dc8edaf2
[7.17] Allow resolving runtime java via Gradle tool chain provider (#105916)
* [7.17] Resolve runtime java via Gradle tool chain provider #95319
* Cleanup VersionPropertiesPlugin
2024-03-05 11:17:44 +01:00
Simon Cooper
67725a429e
Upgrade joda time to 2.12.6 (#104720) 2024-02-23 10:30:50 +00:00
Mark Vieira
d1117aeb3e
Update Gradle wrapper to 8.6 (#103796) (#105466)
Co-authored-by: Rene Groeschke <rene@elastic.co>
2024-02-13 15:14:48 -05:00
elasticsearchmachine
23f055a3f0 Bump versions after 7.17.18 release 2024-02-06 17:48:38 +00:00
Przemyslaw Gomulka
8682172c21
Update build tools changelog schema for new Core/Infra/Metrics label (#105016) (#105032)
a new Core/Infra/Metrics label has been added, this commit updates the schema
2024-02-01 14:10:57 -05:00
Rene Groeschke
0b6cd20470
Fix dependency check for ignored licenses (#104736) (#104743)
if there are no dependencies declared and the license file is marked as
ignored, no exception should be thrown and dependencylicense check
should pass.

Fixes issues we identified in #104628
2024-01-25 06:37:29 -05:00
Simon Cooper
a307e81bd7
Ensure there's only one newline added with new version declarations (#104519) (#104689)
Backport #104519 to 7.17
2024-01-24 12:11:17 +00:00
Brian Seeders
23bb7612ca
Bump versions after 7.17.17 release 2024-01-23 12:32:08 -05:00
Simon Cooper
4ba1572dc5
Create extract/tag versions gradle task for 7.17 (#104532)
Create a gradle task to extract version information for the new build release tag build infrastructure.
This also defines a dummy tagVersions task that is implemented on v8 but doesn't have anything to do on 7.17.
2024-01-22 11:25:05 +00:00
Mark Vieira
aba4da413a
[7.17] Upgrade bundled JDK to 21.0.2 (#104481) (#104486)
* Upgrade bundled JDK to 21.0.2 (#104481)

# Conflicts:
#	gradle/verification-metadata.xml

* Update verification metadata
2024-01-17 15:44:50 -05:00
Simon Cooper
aed04c0577
Backport update versions task to 7.17 (#104303)
Copy update version gradle task from #103335 to 7.17 for future 7.17 releases
2024-01-12 16:01:23 +00:00
Mark Vieira
9923a8719f
Remove BWC testing of snapshot 6.8 versions (#104226) 2024-01-10 14:21:56 -08:00
Mark Vieira
d035dffd5d
Tag individual CI job name axis in build scans (#104168) (#104178)
# Conflicts:
#	.buildkite/pipelines/periodic.template.yml
2024-01-09 19:24:14 -05:00
Jake Landis
034b8ece08
[7.x] Bump commons codec version (#104106)
This commit bumps common-codec from 1.11 to 1.15
2024-01-09 09:19:44 -06:00
Jake Landis
2aeecfd084
[7.17] Manual backport of 103944 (#104016)
* Manual backport of 103944

* copy RegisteredDomainProcessorTests#testBasic from main
2024-01-08 11:31:01 -05:00
Jake Landis
77bf12f0a0
Upgrade Bouncy Castle jars (except for the FIPS jars) (#103818)
This commit upgrades the non-FIPS jars to the lastest available versions for 7.17.

Bouncy Castle slightly changed their naming as evident by bouncycastle.org/latest_releases.html
They no longer maintain a jdk15on library and instead use strategy for [1.5->1.8) and [1.8 -> ). This commit
adopts the jdk18on libraries with the latest version.

related: #100923
2024-01-05 16:32:05 -06:00
Jake Landis
8b620012de
bump junit version (#103941) (#103989)
This commit bumps the junit version from 4.12 to 4.13.2
2024-01-05 11:04:51 -05:00