Skip to content

Commit

Permalink
Add the required --runtime-jdk parameter to Vagrantfile (elastic#279)
Browse files Browse the repository at this point in the history
Since elastic#264 night-rally requires runtime JDK to be specified as cmd
param.

Relates to elastic/night-rally#264
  • Loading branch information
ebadyano committed Jun 23, 2020
1 parent 4249093 commit 7692687
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions night_rally/fixtures/ansible/Vagrantfile
Expand Up @@ -164,16 +164,16 @@ def install_night_rally_test_script(base_ip, target_node_ip_addresses)
set -eo pipefail
source /var/lib/jenkins/env_test_script
# release-license is oss just because it's the default option in the JJB dropdown; will be ignored in nightly mode
night_rally --target-host="${TARGET_HOSTS}" --race-configs="resources/race-configs-group-1.json" --effective-start-date="" --mode="nightly" --version="master" --release-license="oss" --release-x-pack-components=""
night_rally --target-host="${TARGET_HOSTS}" --race-configs="resources/race-configs-group-2.json" --effective-start-date="" --mode="nightly" --version="master" --release-license="oss" --release-x-pack-components=""
night_rally --target-host="${TARGET_HOSTS}" --race-configs="resources/race-configs-group-1.json" --effective-start-date="" --mode="nightly" --version="master" --release-license="oss" --release-x-pack-components="" --runtime-jdk="bundled"
night_rally --target-host="${TARGET_HOSTS}" --race-configs="resources/race-configs-group-2.json" --effective-start-date="" --mode="nightly" --version="master" --release-license="oss" --release-x-pack-components="" --runtime-jdk="bundled"
EOF2
cat >/var/lib/jenkins/test_release.sh <<"EOF2"
#!/usr/bin/env bash
set -eo pipefail
source /var/lib/jenkins/env_test_script
night_rally --target-host="${TARGET_HOSTS}" --race-configs="resources/race-configs-group-1.json" --effective-start-date="" --mode="release" --version="6.8.7" --release-license="oss" --release-x-pack-components=""
night_rally --target-host="${TARGET_HOSTS}" --race-configs="resources/race-configs-group-2.json" --effective-start-date="" --mode="release" --version="6.8.7" --release-license="oss" --release-x-pack-components=""
night_rally --target-host="${TARGET_HOSTS}" --race-configs="resources/race-configs-group-1.json" --effective-start-date="" --mode="release" --version="6.8.7" --release-license="oss" --release-x-pack-components="" --runtime-jdk="14"
night_rally --target-host="${TARGET_HOSTS}" --race-configs="resources/race-configs-group-2.json" --effective-start-date="" --mode="release" --version="6.8.7" --release-license="oss" --release-x-pack-components="" --runtime-jdk="14"
EOF2
cat >/var/lib/jenkins/test_longrunning.sh <<"EOF2"
Expand Down

0 comments on commit 7692687

Please sign in to comment.