Skip to content

Commit

Permalink
packaging: staging artifacts with DEV=false (#33620)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored and chrisberkhout committed Jun 1, 2023
1 parent 4f449fb commit 261629b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,10 @@ def prepareE2ETestForPackage(String beat){

def release(type){
withBeatsEnv(type){
// As agreed DEV=false for staging otherwise DEV=true
// this should avoid releasing binaries with the debug symbols and disabled most build optimizations.
withEnv([
"DEV=true"
"DEV=${!type.equals('staging')}"
]) {
dockerLogin(secret: "${DOCKERELASTIC_SECRET}", registry: "${DOCKER_REGISTRY}")
dir("${env.BEATS_FOLDER}") {
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ https://github.com/elastic/beats/compare/v8.2.0\...main[Check the HEAD diff]

*Affecting all Beats*

- Re-enable build optimizations to reduce binary size and improve performance. {pull}33620[33620]
- Fix namespacing for agent self-monitoring, CPU no longer reports as zero. {pull}32336[32336]
- Fix namespacing on self-monitoring {pull}32336[32336]
- Expand fields in `decode_json_fields` if target is set. {issue}31712[31712] {pull}32010[32010]
Expand Down

0 comments on commit 261629b

Please sign in to comment.