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

Revert changes requiring CGO and disable CGO for linting on darwin #441

Merged
merged 3 commits into from
May 19, 2022

Conversation

kvch
Copy link
Contributor

@kvch kvch commented May 18, 2022

What does this PR do?

This PR reverts the CGO changes introduced in #344

It includes removing the GH action on macos and movin the metrics setup to elastic-agent-system-metrics.

Why is it important?

Avoid dependency on CGO in the build.

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.

@mergify mergify bot assigned kvch May 18, 2022
@mergify
Copy link
Contributor

mergify bot commented May 18, 2022

This pull request does not have a backport label. Could you fix it @kvch? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 8./d branch. /d is the digit

NOTE: backport-skip has been added to this pull request.

@elasticmachine
Copy link
Contributor

elasticmachine commented May 18, 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-05-18T10:05:16.182+0000

  • Duration: 17 min 35 sec

Test stats 🧪

Test Results
Failed 0
Passed 3853
Skipped 21
Total 3874

🤖 GitHub comments

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

  • /test : Re-trigger the build.

  • /package : Generate the packages.

  • run integration tests : Run the Elastic Agent Integration tests.

  • run end-to-end tests : Generate the packages and run the E2E Tests.

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

@kvch kvch force-pushed the revert-cgo-changes branch from 0826381 to 3fca911 Compare May 18, 2022 09:49
@elasticmachine
Copy link
Contributor

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 95.652% (66/69) 👍
Files 69.856% (146/209) 👎 -0.144
Classes 69.359% (292/421) 👎 -0.073
Methods 52.933% (803/1517) 👍 0.147
Lines 39.165% (8673/22145) 👍 0.08
Conditionals 100.0% (0/0) 💚

@kvch kvch changed the title Revert cgo changes Revert changes requiring CGO and disable CGO for linting on darwin May 18, 2022
@kvch kvch marked this pull request as ready for review May 18, 2022 10:36
@kvch kvch requested a review from a team as a code owner May 18, 2022 10:36
@kvch kvch requested review from narph and blakerouse and removed request for a team May 18, 2022 10:36
@kvch kvch merged commit 42c2c1b into elastic:main May 19, 2022
v1v added a commit to v1v/elastic-agent that referenced this pull request May 19, 2022
…use-orka

* 'main' of github.com:elastic/elastic-agent:
  Initialize logger directory to allow group access (elastic#433)
  Revert changes requiring CGO and disable CGO for linting on darwin (elastic#441)
  [Automation] Update elastic stack version to 8.3.0-a55286cc for testing (elastic#447)
  Documentation enhancements in order to build elastic agent (elastic#442)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants