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 213dde8 commit 615b59c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion cars/v1/vanilla/config.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
[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)
# major version of the JDK that is used to build Elasticsearch
build.jdk = 9
# list of JDK major versions that are used to run Elasticsearch
runtime.jdk = 9,8
Expand Down

0 comments on commit 615b59c

Please sign in to comment.