Skip to content

Commit

Permalink
Reference config properties specific to the system (#38)
Browse files Browse the repository at this point in the history
With this commit we introduce new configuration properties that allow
Rally to change behavior (e.g. which build command is executed) based on
template variables. This enables us to build and download
system-specific artifacts which is needed e.g. in order to use the
bundled JDK.
  • Loading branch information
danielmitterdorfer committed Jan 9, 2020
1 parent 7cbc17f commit 1c06fe2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cars/v1/vanilla/config.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
[variables]
clean_command = ./gradlew clean
# deprecated
build_command = ./gradlew :distribution:archives:tar:assemble
# new
system.build_command = ./gradlew :distribution:archives:tar:assemble
# deprecated
artifact_path_pattern = distribution/archives/tar/build/distributions/*.tar.gz
# new
system.artifact_path_pattern = distribution/archives/tar/build/distributions/*.tar.gz
# deprecated
release_url = https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{VERSION}}.tar.gz
# new
jdk.unbundled.release_url = https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{VERSION}}.tar.gz

docker_image=docker.elastic.co/elasticsearch/elasticsearch
# major version of the JDK that is used to build Elasticsearch (only required for plugin builds)
build.jdk = 8
Expand Down

0 comments on commit 1c06fe2

Please sign in to comment.