-
Notifications
You must be signed in to change notification settings - Fork 521
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
Automate apmpackage publishing to package-storage (snapshot) #6970
Comments
@kseniia-kolpakova is this something that the automation team could help out with? |
@v1v can you take a look? |
@simitt is this needed if we bundle the package with Kibana? |
I am not certain how to packages will be bundled with Kibana. @joshdover do you have a plan already where the apm-package will be fetched from/ingested? Either way, the packages most certainly won't be bundled before |
@simitt OK, fair enough. According to elastic/kibana#112095 (comment), the plan is to fetch packages from EPR or package-storage, which would be compatible with what you described (assuming the automation can be directed to pull them from staging.) |
I left a comment to discuss pulling from staging elastic/kibana#112095 (comment). |
Updated the description with some more details, that should also simplify the process a bit. |
The package registry might not be pulling from the package-storage but from some cloud bucket in the future. Given that this is not currently on the way and that the current manual release process is slow and error prone I still think we should move forward with this proposal as is. |
Let's hold off with this for a bit, due to internal conversations of how to evolve the package in the future. |
Whenever a PR is merged that introduces changes to the
apmpackage
, or when the APM Server version is bumped, a new PR for the current version of the package should automatically be created and auto-merged if all checks pass. After merging, a promotion to the package registry needs to be triggered.a. When identifying changes to the
apmpackage
after merging a PR tomain
or arelease
branchb. When bumping the version (usually happens after a stack release)
make build-package
, which builds the apm integration under the apm-server's root directory atbuild/integrations/apm/<version>
.elastic-package check
(https:/elastic/elastic-package#elastic-package-check) on the created package and only continue if successful.apm
package to thesnapshot
branch of the package-storage repo. If a package with this version already exists, overwrite it, otherwise update the existing one.Existing tooling for creating the PR and releasing might be used, see https:/elastic/package-storage#package-promotion.
The text was updated successfully, but these errors were encountered: