elasticsearch/build-tools-internal
Jake Landis 26dfe02a0b
Update task names for rest compatiblity (#75267)
This commit updates two task names:
```
yamlRestCompatTest -> yamlRestTestV7CompatTest
transformV7RestTests -> yamlRestTestV7CompatTransform 
```

`7` is the N-1 version and calculated, such that when `8` is 
N-1 version the task names will be  `yamlRestTestV8CompatTest` and 
`yamlRestTestV8CompatTransform`

The motivation for `yamlRestCompatTest -> yamlRestTestV7CompatTest`  is that 
many projects have configured `yamlRestCompatTest` 
but that configuration is specific to the N-1 version. For example, 
if we blacklist tests when running compatibility with v7, we don't also
want to blacklist those tests when running compatibility with v8.

By introducing a version-specific identifier in the name, the task will not
even exist when bumping the version creating the need to (correctly) remove
the version-specific condition.

The motivation for `transformV7RestTests -> yamlRestTestV7CompatTransform` 
is to provide more consistent naming. 

The idea behind the naming is the main task people
are likely familiar with is :

`yamlRestTest` so we will use that as a base.
`yamlRestTestV7CompatTest` to run the version-specific compat tests
`yamlRestTestV7CompatTransform` to run the version-specific transformations for the compat tests

CI should be un-effected since since we introduced a lifecycle task 
name `checkRestCompat` which is what CI should be configured to use.
2021-09-03 11:26:11 -05:00
..
gradle/wrapper Update Gradle wrapper to 7.2 (#75894) 2021-08-18 05:11:28 -04:00
src Update task names for rest compatiblity (#75267) 2021-09-03 11:26:11 -05:00
.gitignore Move public build api into included build (#72861) 2021-06-01 11:19:30 +02:00
build.gradle Introduce simple public yaml-rest-test plugin (#76554) 2021-08-31 08:45:52 +02:00
elastic.importorder Move public build api into included build (#72861) 2021-06-01 11:19:30 +02:00
formatterConfig.xml Move public build api into included build (#72861) 2021-06-01 11:19:30 +02:00
settings.gradle Move public build api into included build (#72861) 2021-06-01 11:19:30 +02:00
version.properties Use Adoptium builds for bundled JDK (#76631) 2021-08-18 09:52:22 -07:00