Skip to content

Commit

Permalink
add boostrap to docker build to fix missing jars (#16622) (#16623)
Browse files Browse the repository at this point in the history
The DRA build failed because the required jars were missing, as they had been removed during the Docker build process.

(cherry picked from commit 00da723)

Co-authored-by: kaisecheng <[email protected]>
  • Loading branch information
github-actions[bot] and kaisecheng authored Nov 1, 2024
1 parent 6c8e086 commit 2bcb5ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rakelib/artifacts.rake
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ namespace "artifact" do
@bundles_jdk = true
create_archive_pack(license_details, "x86_64", "linux", "darwin")
create_archive_pack(license_details, "arm64", "linux", "darwin")
safe_system("./gradlew bootstrap") # force the build of Logstash jars
end

def create_archive_pack(license_details, arch, *oses)
Expand Down Expand Up @@ -228,6 +229,7 @@ namespace "artifact" do
license_details = ['APACHE-LICENSE-2.0', "-oss", oss_exclude_paths]
create_archive_pack(license_details, "x86_64", "linux", "darwin")
create_archive_pack(license_details, "arm64", "linux", "darwin")
safe_system("./gradlew bootstrap") # force the build of Logstash jars
end

desc "Build an RPM of logstash with all dependencies"
Expand Down

0 comments on commit 2bcb5ad

Please sign in to comment.