Skip to content

Commit

Permalink
Remove DEV=true for snapshot packaging (#41365) (#41374)
Browse files Browse the repository at this point in the history
Packaging with `DEV=true` adds additional Go flags that sometimes lead
to linker failures using the old versions of `ld.gold`.

See #41270

(cherry picked from commit af46682)

Co-authored-by: Denis <[email protected]>
  • Loading branch information
mergify[bot] and rdner authored Oct 22, 2024
1 parent 7895d5e commit 3c4c8bf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .buildkite/packaging.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ steps:
env:
PLATFORMS: "${PLATFORMS}"
SNAPSHOT: true
DEV: true
# packaging with `DEV=true` may cause linker issues while crosscompiling https://github.com/elastic/beats/issues/41270
DEV: false
command: ".buildkite/scripts/packaging/package-dra.sh {{matrix}}"
agents:
provider: gcp
Expand Down Expand Up @@ -122,7 +123,8 @@ steps:
PLATFORMS: "${PLATFORMS_ARM}"
PACKAGES: "docker"
SNAPSHOT: true
DEV: true
# packaging with `DEV=true` may cause linker issues while crosscompiling https://github.com/elastic/beats/issues/41270
DEV: false
command: ".buildkite/scripts/packaging/package-dra.sh {{matrix}}"
agents:
provider: "aws"
Expand Down Expand Up @@ -152,7 +154,8 @@ steps:
env:
PLATFORMS: "${PLATFORMS}"
SNAPSHOT: true
DEV: true
# packaging with `DEV=true` may cause linker issues while crosscompiling https://github.com/elastic/beats/issues/41270
DEV: false
command: ".buildkite/scripts/packaging/package-dra.sh x-pack/agentbeat"
agents:
provider: gcp
Expand Down

0 comments on commit 3c4c8bf

Please sign in to comment.