Skip to content

Commit b439980

Browse files
authored
Exclude plugin manager and keystore cli from observabilitySRE artifact
1 parent c8992ce commit b439980

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

rakelib/artifacts.rake

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,13 @@ namespace "artifact" do
233233
task "archives_docker_observabilitySRE" => ["prepare-observabilitySRE", "generate_build_metadata"] do
234234
#with bundled JDKs
235235
@bundles_jdk = true
236-
# rejection point: if `license_details` has a third entry, it is used in place of the default_exclude_paths
237-
# license_details = ['ELASTIC-LICENSE','-observability-sre', default_exclude_paths]
238-
license_details = ['ELASTIC-LICENSE','-observability-sre']
236+
exclude_paths = default_exclude_paths + %w(
237+
bin/logstash-plugin
238+
bin/logstash-plugin.bat
239+
bin/logstash-keystore
240+
bin/logstash-keystore.bat
241+
)
242+
license_details = ['ELASTIC-LICENSE','-observability-sre', exclude_paths]
239243
%w(x86_64 arm64).each do |arch|
240244
create_archive_pack(license_details, arch, "linux") do |dedicated_directory_tar|
241245
# injection point: Use `DedicatedDirectoryTarball#write(source_file, destination_path)` to

0 commit comments

Comments
 (0)