Skip to content

Commit

Permalink
Ensure beats are bundled in Cloud docker image during DRA builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Nov 16, 2022
1 parent 393acb4 commit 210d457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void addBuildDockerContextTask(Architecture architecture, DockerBase base) {
// infer that we're not at the Docker building stage of the build, and therefore
// we should skip the beats part of the build.
String buildId = providers.systemProperty('build.id').forUseAtConfigurationTime().getOrNull()
boolean includeBeats = VersionProperties.isElasticsearchSnapshot() == true || buildId != null
boolean includeBeats = VersionProperties.isElasticsearchSnapshot() == true || buildId != null || useDra

if (includeBeats) {
from configurations.filebeat
Expand Down

0 comments on commit 210d457

Please sign in to comment.