-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
222d95a
commit 26dfe02
Showing
15 changed files
with
54 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ restResources { | |
restApi { | ||
include '_common', 'bulk', 'cluster', 'nodes', 'indices', 'index', 'search' | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters