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

[Fleet] Automate Update of Bundled Packages #127974

Open
kpollich opened this issue Mar 17, 2022 · 3 comments
Open

[Fleet] Automate Update of Bundled Packages #127974

kpollich opened this issue Mar 17, 2022 · 3 comments
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kpollich
Copy link
Member

kpollich commented Mar 17, 2022

Ref #112095

In 8.1, we introduced support in Fleet for "bundled packages," which are fetched at build-time and bundled with the Kibana distributable. These packages are configured through a fleet_packages.json file at the top level of the Kibana repository.

Currently, any time a new version of one of these bundled packages is deployed and considered ready for release, we need to manually update its entry in fleet_packages.json to ensure we bundle the latest version of that package. This adds an additional, manual step to the package promotion process for these packages, and adds room for human error.

It'd be ideal to automate this process using Kibana CI to ensure fleet_packages.json stays up to date with the latest version of each package as served by the package registry. We also likely want these updates to go through a final review step, so proposing the updates to fleet_package.json via a PR labeled for appropriate code owner review would be ideal.

A few potential solutions could be:

  1. A nightly job that queries EPR for each package in fleet_packages.json and updates the version accordingly via GitHub PR
  2. Alter the existing build job to always fetch the latest version of packages from EPR
  3. Update elastic-package CLI tooling or CI to also handle the update of fleet_packages.json via GitHub PR, see Add guidance for updating bundled packages in Kibana elastic-package#733
@kpollich kpollich added Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team labels Mar 17, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Feature:EPM)

@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kpollich
Copy link
Member Author

cc @joshdover for any input on the proposed solutions and use cases above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:EPM Fleet team's Elastic Package Manager (aka Integrations) project Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

2 participants