Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference config properties specific to the system #38

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions cars/v1/default_distro/config.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
[variables]
# deprecated
build_command=./gradlew :distribution:archives:linux-tar:assemble
# new
system.build_command = ./gradlew :distribution:archives:{{OSNAME}}-tar:assemble
# deprecated
artifact_path_pattern=distribution/archives/linux-tar/build/distributions/*.tar.gz
# new
system.artifact_path_pattern = distribution/archives/{{OSNAME}}-tar/build/distributions/*.tar.gz
# deprecated
release_url=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{VERSION}}-linux-x86_64.tar.gz
# new
jdk.bundled.release_url = https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{VERSION}}-{{OSNAME}}-{{ARCH}}.tar.gz
jdk.unbundled.release_url = https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{VERSION}}-no-jdk-{{OSNAME}}-{{ARCH}}.tar.gz
docker_image=docker.elastic.co/elasticsearch/elasticsearch
11 changes: 11 additions & 0 deletions cars/v1/vanilla/config.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
[variables]
clean_command = ./gradlew clean
# deprecated
build_command = ./gradlew :distribution:archives:oss-linux-tar:assemble
# new
system.build_command = ./gradlew :distribution:archives:oss-{{OSNAME}}-tar:assemble
# deprecated
artifact_path_pattern = distribution/archives/oss-linux-tar/build/distributions/*.tar.gz
# new
system.artifact_path_pattern = distribution/archives/oss-{{OSNAME}}-tar/build/distributions/*.tar.gz
# deprecated
release_url = https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-{{VERSION}}-linux-x86_64.tar.gz
# new
jdk.bundled.release_url = https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-{{VERSION}}-{{OSNAME}}-{{ARCH}}.tar.gz
jdk.unbundled.release_url = https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-{{VERSION}}-no-jdk-{{OSNAME}}-{{ARCH}}.tar.gz

docker_image=docker.elastic.co/elasticsearch/elasticsearch-oss
# major version of the JDK that is used to build Elasticsearch
build.jdk = 13
Expand Down