Skip to content

Commit

Permalink
Add drop path to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
pazone committed Apr 8, 2024
1 parent 2a64964 commit f74966d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ steps:
export MAGEFILE_VERBOSE=$(buildkite-agent meta-data get MAGEFILE_VERBOSE --default "0")
fi
.buildkite/x-pack/elastic-agent/scripts/steps/package.sh
ls -lah x-pack/elastic-agent/build/distributions/
ls -lah x-pack/elastic-agent/build/distributions/elastic-agent-drop/
artifact_paths:
- "x-pack/elastic-agent/build/distributions/**/*"
agents:
Expand Down
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ func packageAgent(requiredPackages []string, packagingFn func()) {
}

// cleanup after build
defer os.RemoveAll(dropPath)
// defer os.RemoveAll(dropPath)
defer os.Unsetenv(agentDropPath)

packedBeats := []string{"filebeat", "heartbeat", "metricbeat", "osquerybeat"}
Expand Down

0 comments on commit f74966d

Please sign in to comment.