Commit graph

212 commits

Author SHA1 Message Date
Rory Hunter
f34d9adc49
New release notes generator tasks (#71125)
Part of #67335.

Add tasks for generating release notes, using information stored in files
in the repository:

   * `generateReleaseNotes` - generates new release notes, release
     highlights and breaking changes
   * `validateChangelogs` - validates that all the changelog YAML files are
     well-formed (confirm to schema, have required fields depending on the
     `type` value)

I also changed `Version` to allow a `v` prefix in relaxed mode
2021-07-28 12:09:58 +01:00
Rene Groeschke
27d6d51d3c
Remove usage of deprecated JavaPluginConvention (#75106)
this has been deprecated and will be removed in Gradle 8.0. We use
JavaPluginExtension instead from now on.
2021-07-27 11:18:50 -04:00
Rene Groeschke
c328cb7555
Fix task dependency wiring for multi node test clusters (#74692)
* Fix task dependency wiring for multi node test clusters

for multi node test cluster configurations we accidentally miss calculating the proper
task dependencies in TestClusterAware. This moves the task dependency declaration
in TestClusterAware to use the live collection method nodes#all instead of nodes.forEach
which will also take nodes into account that are added later to the cluster _after_
this configuration block is triggered.

* Fix duplicate lines
2021-06-30 04:30:48 -04:00
Rene Groeschke
4ab100b7be
Cleanup root build script (#74183)
- No manual show task dependencies logic needed. we can use build scans instead for that.
- Move common plugin configuration into according plugins
- Reduce overall callbacks in root script, remove unneeded logic in afterEvaluate hooks
2021-06-28 11:15:24 +02:00
Mark Vieira
a02e73245e
Clean up build tools dependencies and fix maven coordinates (#74520) 2021-06-24 08:55:21 -07:00
Rene Groeschke
7df3771a2c
Simplify applying build tools conventions (#73877)
Share common conventions for build tools in one plugin.
e.g. we always apply the license headers check for build tools too
2021-06-23 11:44:49 +02:00
Rene Groeschke
e08d117f46
Remove BuildParams.isInternal (#74329)
After breaking up build logic between internal and external we can remove BuildParams.isInternal().
We also resolve bwc versions lazy and not eagerly. This makes configuration of non bwc builds easier and
also makes integration tests easier to setup.
2021-06-22 09:24:59 +02:00
Rene Groeschke
c2e86258d8
Update wrapper to 7.1 (#73941)
- Fix new introduced deprecated usages
- Update to newer ospackage snapshot to include provided PR for fixing deprecated usage

This gradle release comes with improvements on incremental compilation which we should benefit from
2021-06-17 10:59:22 +02:00
Rene Groeschke
6ff0b1b56a
Fix eclipse for build tools (#73699)
apply common eclipse config to all projects across the elasticsearch workspace 
including build tools projects
2021-06-08 15:26:21 +02:00
Ryan Ernst
64054de1ac
Rename bootstrap package in core jar (#73788)
The org.elasticsearch.bootstrap package exists in server with classes
for starting up Elasticsearch. The elasticsearch-core jar has a handful
of classes that were split out from there, namely java version parsing
and jarhell. This commit moves those classes to a new
org.elasticsearch.jdk package so as to not split the server owned
bootstrap package.

relates #73784
2021-06-07 08:14:44 -07:00
Mark Vieira
7bbd3113fa
Use production-similar GC settings for internal cluster tests (#73701) 2021-06-02 16:12:29 -07:00
Rene Groeschke
b2a183baf0
Move public build api into included build (#72861)
This moves the public build api and plugins into a separete included build called 'build-tools' 
and we removed the duplication of included buildSrc twice (2nd import as build-tools).

The elasticsearch internal build logic is kept in build-tools-internal as included build which allows us better handling of this project that its just being an buildSrc project (e.g. we can reference tasks directly from the root build etc.)

Convention logic applied to both projects will live in a new build-conventions project.
2021-06-01 11:19:30 +02:00