You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
Jenkins should be configured to run the lint, build, and test steps on each supported platform. The output of the build should initially be an elastic-agent-shipper binary, which can start as an empty main.go file. The https://github.com/elastic/elastic-agent repository can be used as a reference for a build process that produces a binary artifact.
Now that the initial PR is merged, we have a basic CI and a handful of custom and imported mage targets.
The biggest issue is that a lot of the glue code we'd want to have in the shipper currently lives in the the elastic-agent repo in a non-importable form. I'm not a big fan of copy-and-pasting that much code, so we need to look into migrating a lot of those existing targets and helper code back into elastic-agent-libs
I think we can close this? The shipper now has notice and all the other needed targets. There's still some rough edges, but I don't think we're actually missing anything?
Setup the shipper repository with the standard mage targets (check, build, unitTest, etc.). The mage and lint targets should match those setup for https://github.com/elastic/elastic-agent-libs and use the same golangci-lint configuration. The lint step in CI should use a Github action, see https://github.com/elastic/beats/pull/30985/files for the setup.
Jenkins should be configured to run the lint, build, and test steps on each supported platform. The output of the build should initially be an elastic-agent-shipper binary, which can start as an empty main.go file. The https://github.com/elastic/elastic-agent repository can be used as a reference for a build process that produces a binary artifact.
Automated Go version bumps should be configured: https://github.com/elastic/observability-robots/blob/main/docs/bump-versions.md#go-bump
The CI onboarding Jenkins job has already been run, resulting in the following PRs that should be reviewed and merged:
We should attempt to reuse the mage targets from the elastic agent where possible: elastic/elastic-agent#321
The text was updated successfully, but these errors were encountered: