mirror of
https://github.com/elastic/logstash.git
synced 2025-06-28 09:46:03 -04:00
add boostrap to docker build to fix missing jars (#16622)
The DRA build failed because the required jars were missing, as they had been removed during the Docker build process.
This commit is contained in:
parent
0006937e46
commit
00da72378b
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,7 @@ namespace "artifact" do
|
||||||
@bundles_jdk = true
|
@bundles_jdk = true
|
||||||
create_archive_pack(license_details, "x86_64", "linux", "darwin")
|
create_archive_pack(license_details, "x86_64", "linux", "darwin")
|
||||||
create_archive_pack(license_details, "arm64", "linux", "darwin")
|
create_archive_pack(license_details, "arm64", "linux", "darwin")
|
||||||
|
safe_system("./gradlew bootstrap") # force the build of Logstash jars
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_archive_pack(license_details, arch, *oses)
|
def create_archive_pack(license_details, arch, *oses)
|
||||||
|
@ -227,6 +228,7 @@ namespace "artifact" do
|
||||||
license_details = ['APACHE-LICENSE-2.0', "-oss", oss_exclude_paths]
|
license_details = ['APACHE-LICENSE-2.0', "-oss", oss_exclude_paths]
|
||||||
create_archive_pack(license_details, "x86_64", "linux", "darwin")
|
create_archive_pack(license_details, "x86_64", "linux", "darwin")
|
||||||
create_archive_pack(license_details, "arm64", "linux", "darwin")
|
create_archive_pack(license_details, "arm64", "linux", "darwin")
|
||||||
|
safe_system("./gradlew bootstrap") # force the build of Logstash jars
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Build an RPM of logstash with all dependencies"
|
desc "Build an RPM of logstash with all dependencies"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue