Skip to content
Merged
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
9 changes: 5 additions & 4 deletions rakelib/artifacts.rake
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace "artifact" do
"vendor/jruby/bin/.jruby.module_opts",
"Gemfile",
"Gemfile.lock",
"x-pack/**/*",
"x-pack/lib/**/*",
]
if @bundles_jdk
res += [
Expand Down Expand Up @@ -283,9 +283,10 @@ namespace "artifact" do
)
license_details = ['ELASTIC-LICENSE','-observability-sre', exclude_paths]
create_archive_pack(license_details, ARCH, "linux") do |dedicated_directory_tar|
# injection point: Use `DedicatedDirectoryTarball#write(source_file, destination_path)` to
# copy additional files into the tarball
puts "HELLO(#{dedicated_directory_tar})"
Dir.glob("x-pack/distributions/internal/observabilitySRE/config/**/*").each do |source_file|
next if File.directory?(source_file)
dedicated_directory_tar.write(source_file)
end
end
safe_system("./gradlew dockerBootstrap") # force the build of Logstash jars + env2yaml
end
Expand Down