[Packetbeat] Create x-pack magefile#21979
Conversation
andrewkroh
left a comment
There was a problem hiding this comment.
The top-level Makefile should be update to reflect that there is now an independent build for x-pack/packetbeat.
So far the
It only runs:
|
v1v
left a comment
There was a problem hiding this comment.
See my previous comment regarding supporting arm/linux builds/tests, since it's only building/unit testing for Windows-2019 on a PR basis and windows-2012/2016 for everything.
Updated with arm, mac, and linux targets
|
/package |
|
/test |
v1v
left a comment
There was a problem hiding this comment.
The default stages are:
- build
- windows
I just added a few labels to test the arm, windows-2016, macos and windows-2012 builds within this PR.
Let's wait for the outcome
|
Jenkins run the tests please |
v1v
left a comment
There was a problem hiding this comment.
From the CI point of view everything looks fine. 👍
|
I've just found the main Jenkinsfile.yml didn't have uncommented the entry for the x-pack/packetbeat, I'll raise a PR to enable this |
* upstream/master: (93 commits) Update commands used in the quick start (elastic#22248) Add interval documentation to `monitor` metricset (elastic#22152) [CI] enable x-pack/packetbeat in the CI (elastic#22252) Fix awscloudwatch input documentation (elastic#22247) Add support for different Azure Cloud environments in the metricbeat azure module (elastic#21044) [CI] support windows-2008-r2 (elastic#19791) protect against accessing undefined variables in sysmon module (elastic#22236) [CI] archive only if failed steps (elastic#22220) Add pe fields to Sysmon module (elastic#22217) [CI][flaky] Support 7.x branches and PRs (elastic#22197) Perfmon - Fix regular expressions to comply to multiple parentheses in instance name and object (elastic#22146) ci: improve linting speed (elastic#22103) Move cloudfoundry tags with metadata to common metadata fields (elastic#22150) [Docs] Update custom beat docs (elastic#22194) [Ingest Manager] Agent fix snapshot download for upgrade (elastic#22175) Update shared-autodiscover.asciidoc (elastic#21827) [DOCS] Warn about compression and Azure Event Hub for Kafka (elastic#21578) [CI][flaky] reporting for PRs in GitHub (elastic#21853) [Packetbeat] Create x-pack magefile (elastic#21979) [Elastic Agent] Fix deb/rpm installation (elastic#22153) ...
* upstream/master: (93 commits) Update commands used in the quick start (elastic#22248) Add interval documentation to `monitor` metricset (elastic#22152) [CI] enable x-pack/packetbeat in the CI (elastic#22252) Fix awscloudwatch input documentation (elastic#22247) Add support for different Azure Cloud environments in the metricbeat azure module (elastic#21044) [CI] support windows-2008-r2 (elastic#19791) protect against accessing undefined variables in sysmon module (elastic#22236) [CI] archive only if failed steps (elastic#22220) Add pe fields to Sysmon module (elastic#22217) [CI][flaky] Support 7.x branches and PRs (elastic#22197) Perfmon - Fix regular expressions to comply to multiple parentheses in instance name and object (elastic#22146) ci: improve linting speed (elastic#22103) Move cloudfoundry tags with metadata to common metadata fields (elastic#22150) [Docs] Update custom beat docs (elastic#22194) [Ingest Manager] Agent fix snapshot download for upgrade (elastic#22175) Update shared-autodiscover.asciidoc (elastic#21827) [DOCS] Warn about compression and Azure Event Hub for Kafka (elastic#21578) [CI][flaky] reporting for PRs in GitHub (elastic#21853) [Packetbeat] Create x-pack magefile (elastic#21979) [Elastic Agent] Fix deb/rpm installation (elastic#22153) ...
* Create packetbeat x-pack magefile * add changelog entry * Fix up packetbeat magefile * Add makefile for x-pack directory * Uncomment packaging * Add desired platforms to Jenkinsfile * Add back in fields yml and kibana dashboards on package * Add generated configs in x-pack/packetbeat * Suggested changes (cherry picked from commit 3e73c99)
* [Packetbeat] Create x-pack magefile (#21979) * Create packetbeat x-pack magefile * add changelog entry * Fix up packetbeat magefile * Add makefile for x-pack directory * Uncomment packaging * Add desired platforms to Jenkinsfile * Add back in fields yml and kibana dashboards on package * Add generated configs in x-pack/packetbeat * Suggested changes (cherry picked from commit 3e73c99) * Fix up changelog
What does this PR do?
This PR modifies the way that x-pack packetbeat builds in order to support the build process used in elastic-agent. I'm not entirely sure if there are any other places required for me to modify in order to have CI run
mage packagefrom the x-pack directory rather than OSS, but this should be all we need to getelastic-agentto know how to build packetbeat itself.The
elastic-agentchange and packetbeat modifications for config files for elastic-agent configuration syntax are coming in subsequent PRs.Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.