Commit graph

316 commits

Author SHA1 Message Date
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
Rene Groeschke
8e5de133fa
Support different snyk organisations (#97808) (#103825)
Tweaks our snyk integration to support different snyk orgs which is
required to have support for elasticsearch serverless. Also replaces
hardcoded remote url property by a dynamic version that resolves that
property from the git origin url.

(cherry picked from commit 3e13bd4d4c)
2024-01-02 17:44:09 -05:00
Brian Seeders
4c7876dcb1
Bump versions after 7.17.16 release 2023-12-13 10:48:34 -05:00
Mark Vieira
e7dabf066b
Disable incremental compilation in CI environments (#103346) (#103349) 2023-12-12 17:07:11 -05:00
Rene Groeschke
5661f5fbd0
[7.17] Update gradle wrapper to 8.5 (#102154) (#102816)
* Update gradle wrapper to 8.5 (#102154)

Update BuildLayout references

* Remove non existent project
2023-11-30 15:03:30 -05:00
Lorenzo Dematte
1a67f09021 Bump versions after 7.17.15 release 2023-11-14 08:29:05 +01:00
Brian Seeders
0b8ecfb437
[ci] Fix build scan annotations on Windows (#101990) (#102028)
(cherry picked from commit f20ae0e363)
2023-11-10 12:07:48 -05:00
Mark Vieira
8bb7093d0f
Use separate buildkite annotation context for failed build scans (#101740) (#101749) 2023-11-03 10:11:12 -07:00
Brian Seeders
eaf05916b5
[ci] Don't generate CI artifact for nested builds, tweak build scan data (#101690) (#101732)
(cherry picked from commit 367e850da9)
2023-11-02 15:47:58 -04:00
Brian Seeders
2939c26b57
[7.17] [buildkite] Upload build artifact and add to build scan (#100842) (#100861) 2023-10-30 13:13:01 -04:00
Mark Vieira
51d907b636
[7.17] Include branch information in build scans for buildkite jobs (#101284) (#101290)
* Include branch information in build scans for buildkite jobs (#101284)

# Conflicts:
#	build-tools-internal/src/main/groovy/elasticsearch.build-scan.gradle

* Align with other branches
2023-10-24 18:36:28 -04:00
Rene Groeschke
ac783bb685
Update bundled JDK to 21.0.1 (#101133) (#101228)
* Update docs/changelog/101133.yaml

(cherry picked from commit f0ef872c2c)
2023-10-24 16:05:08 +02:00
Rene Groeschke
468bef1b9e
[7.17] Update gradle wrapper to 8.4 (#99856) (#100926)
* Remove deprecated forConfigurationTime usage
2023-10-17 13:44:48 +02:00
Rene Groeschke
a080bb2bbe
[7.17] Update gradle wrapper to 8.3 (#97838) (#100715)
* 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.

(cherry picked from commit b23e000c30)

# Conflicts:
#	build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/LegacyYamlRestCompatTestPluginFuncTest.groovy
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaModulePathPlugin.java
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/compat/compat/AbstractYamlRestCompatTestPlugin.java
#	build-tools-internal/src/main/resources/minimumGradleVersion
#	gradle/verification-metadata.xml
#	gradle/wrapper/gradle-wrapper.jar
#	gradlew
#	x-pack/plugin/watcher/qa/with-monitoring/src/javaRestTest/java/org/elasticsearch/smoketest/MonitoringWithWatcherRestIT.java

* [7.17] Use patched nebula os package gradle plugin

* Update testingconvention precommit integ test
2023-10-16 06:18:08 -04:00
Mark Vieira
ac4022c729
Capture JVM crash dump logs in uploaded artifact bundle (#100627) (#100632) 2023-10-10 15:24:26 -04:00
Jason Bryan
d92ea26308
Bump versions after 7.17.14 release 2023-10-10 12:52:02 -04:00
Mark Vieira
774e3bfa4d
Ensure all docker compose tasks are disabled when appropriate (#100355)
We mistakenly weren't skipping `DockerBuild` tasks when docker is
unavailable on the host machine.
2023-10-05 15:28:57 -04:00
Mark Vieira
1e8696f2b2
Never support Docker build features on Windows (#100218) (#100225) 2023-10-03 15:40:00 -04:00
Mark Vieira
f1f2e8d289
Revert back to using docker compose v1 CLI for test fixtures (#100206) (#100216)
# Conflicts:
#	build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java
2023-10-03 14:20:49 -04:00
Brian Seeders
adb59f59d3
[7.17] [buildkite] Migrate pull-request pipelines from Jenkins (#99449) (#100091) 2023-09-29 15:27:18 -04:00
Rene Groeschke
5afd06ae57
[7.17] Update Gradle Wrapper to 8.2 (#96686) (#97484)
* Update Gradle Wrapper to 8.2 (#96686)

- Convention usage has been deprecated and was fixed in our build files
- Fix test dependencies and deprecation
2023-09-27 08:46:44 +02:00
Ryan Ernst
054e8219ca
Upgrade bundled JDK to Java 21 (#99724) (#99756)
Java 21 is now GA making Java 20 EOL.
2023-09-21 10:32:51 -04:00
Craig Taverner
c6a86e8269 Bump versions after 7.17.13 release 2023-09-07 17:18:38 +02:00
Rene Groeschke
b8b6316081
Build bwc without es runtime 7x (#99180)
* Fix 6.x bwc build incompatibility with current es java runtime
2023-09-05 07:15:44 +02:00
Brian Seeders
a95036757b
[7.17] [buildkite] Add Windows packaging and platform support tests to periodic pipeline (#98072) (#98329)
* [buildkite] Add Windows packaging and platform support tests to periodic pipeline (#98072)

(cherry picked from commit dfadca83f6)
2023-08-28 13:26:12 -04:00
Brian Seeders
1b6be92751
Add java-matrix and java-fips-matrix Buildkite pipelines (#97253) (#98040) 2023-07-28 17:50:19 -04:00
Ryan Ernst
fe8d4a23ae
Bump versions after 7.17.12 release 2023-07-25 11:24:15 -07:00
Mark Vieira
ca0aa27289
Upgrade bundle JDK to Java 20.0.2 (#97758) (#97762)
# Conflicts:
#	gradle/verification-metadata.xml

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-07-18 20:22:23 -04:00
Mark Vieira
6a55b8789e
Bump versions after 7.17.11 release 2023-06-29 13:30:37 -07:00