Skip to content

make some release steps automatic #751

@xsalefter

Description

@xsalefter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions