Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flags for dev build #31955

Merged
merged 2 commits into from
Jun 17, 2022
Merged

Fix flags for dev build #31955

merged 2 commits into from
Jun 17, 2022

Conversation

belimawr
Copy link
Contributor

@belimawr belimawr commented Jun 16, 2022

What does this PR do?

Fix the flags used when the environmet varialbe DEV=true is set. This
allows to generate binaries without code optmisation and debug
symbols.

Why is it important?

It allows us to easily generate binaries for debugging.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

## Author's Checklist
## How to test this PR locally
## Related issues
## Use cases
## Screenshots
## Logs

Fix the flags used when the environmet varialbe DEV=true is set. This
allows to generate binaries without code optmisation and debug
symbols.
@belimawr belimawr added the bug label Jun 16, 2022
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 16, 2022
@belimawr belimawr added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Jun 16, 2022
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jun 16, 2022
@belimawr belimawr marked this pull request as ready for review June 16, 2022 09:41
@belimawr belimawr requested a review from a team as a code owner June 16, 2022 09:41
@belimawr belimawr requested review from faec and leehinman and removed request for a team June 16, 2022 09:41
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 16, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-06-17T06:57:31.966+0000

  • Duration: 75 min 22 sec

Test stats 🧪

Test Results
Failed 0
Passed 22268
Skipped 1937
Total 24205

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
@belimawr belimawr merged commit a787169 into elastic:main Jun 17, 2022
@belimawr belimawr deleted the fix-dev-build branch June 17, 2022 12:35
cmacknz added a commit to cmacknz/beats that referenced this pull request Jul 7, 2022
cmacknz added a commit that referenced this pull request Jul 7, 2022
v1v added a commit to v1v/beats that referenced this pull request Jul 7, 2022
…tomation

* upstream/main:
  [main](backport elastic#32235) docs: Prepare Changelog for 8.3.2 (elastic#32253)
  Revert "Fix flags for dev build (elastic#31955)" (elastic#32250)
  [Automation] Update elastic stack version to 8.4.0-d0a4da44 for testing (elastic#32243)
  x-pack/filebeat/module/cisco: fix handling of user parsing with sgt fields (elastic#32196)
  packetbeat/route: make use of newly added GetBestInterfaceEx in x/sys/windows (elastic#32180)
cmacknz added a commit to cmacknz/beats that referenced this pull request Jul 8, 2022
cmacknz added a commit that referenced this pull request Jul 8, 2022
* Force DEV=0 when cross compiling for darwin/amd64.

elastic/golang-crossbuild#217

* Revert "Revert "Fix flags for dev build (#31955)" (#32250)"

This reverts commit ba5d0cb.
chrisberkhout pushed a commit that referenced this pull request Jun 1, 2023
Fix the flags used when the environmet varialbe DEV=true is set. This
allows to generate binaries without code optmisation and debug
symbols.

Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
chrisberkhout pushed a commit that referenced this pull request Jun 1, 2023
chrisberkhout pushed a commit that referenced this pull request Jun 1, 2023
* Force DEV=0 when cross compiling for darwin/amd64.

elastic/golang-crossbuild#217

* Revert "Revert "Fix flags for dev build (#31955)" (#32250)"

This reverts commit ba5d0cb.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants