forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit BWC periodic job to compatible CI worker
- Loading branch information
1 parent
82108a7
commit ec5749c
Showing
1 changed file
with
33 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,34 @@ | ||
--- | ||
jjbb-template: matrix-gradle-unix.yml | ||
vars: | ||
- job-name: elastic+elasticsearch+%BRANCH%+periodic+bwc | ||
- job-display-name: "elastic / elasticsearch # %BRANCH% - backwards compatibility matrix" | ||
- job-description: "Testing of the Elasticsearch %BRANCH% branch backwards compatibility matrix.\n" | ||
- matrix-yaml-file: ".ci/bwcVersions" | ||
- matrix-variable: BWC_VERSION | ||
- gradle-args: "-Dbwc.checkout.align=true v$BWC_VERSION#bwcTest" | ||
- job: | ||
name: elastic+elasticsearch+%BRANCH%+periodic+bwc | ||
display-name: "elastic / elasticsearch # %BRANCH% - backwards compatibility matrix" | ||
description: "Testing of the Elasticsearch %BRANCH% branch backwards compatibility matrix.\n" | ||
project-type: matrix | ||
child-workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+bwc | ||
node: master | ||
scm: | ||
- git: | ||
wipe-workspace: false | ||
axes: | ||
- axis: | ||
type: slave | ||
name: nodes | ||
values: | ||
# Some of the versions 6.8 is compatible with do not work on cgroups2 so we pick a platform | ||
# that doesn't come with it. | ||
- "centos-7&&immutable" | ||
- axis: | ||
type: yaml | ||
filename: ".ci/bwcVersions" | ||
name: "BWC_VERSION" | ||
builders: | ||
- inject: | ||
properties-file: '.ci/java-versions.properties' | ||
properties-content: | | ||
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA | ||
RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA | ||
JAVA11_HOME=$HOME/.java/java11 | ||
JAVA15_HOME=$HOME/.java/openjdk15 | ||
- shell: | | ||
#!/usr/local/bin/runbld --redirect-stderr | ||
$WORKSPACE/.ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v$BWC_VERSION#bwcTest |