-
-
Notifications
You must be signed in to change notification settings - Fork 62
Description
Currently, each Kill Bill repository has an automatic way of releasing itself (release.yml github workflow). What's time consuming is the ordering of releases that is necessary.
We're not expecting that we automate all of release process (what if there are failures in the middle or infinite loops...), but at least, for example: each time killbill-platform released, it automatically triggers a release of killbill-oss-parent with the new version of killbill-platform.
Some idea (from Pierre):
There is an event that can be triggered across repos: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#repository_dispatch So one release could trigger (in theory) the next.
We also need to update via script the version of repo X in the killbill-oss-parent workflow (ideally the new version is sent in the repository_dispatch event and passed here:
).
description: 'New killbill-base-plugin version'
.... maybe there is another way of doing it... Like doing all releases from a "central" repo, just like the ci job is doing here: https://github.com/killbill/killbill-oss-parent/blob/125da2cf399802378cf1349bbd3afc9c24503927/.github/workflows/ci.yml
When working on this, we may need run github action locally.