apricote / releaser-pleaser

Automate versioning and changelog management for GitHub and GitLab projects.
https://apricote.github.io/releaser-pleaser/
GNU General Public License v3.0
3 stars 1 forks source link

feat: GitLab #4

Closed apricote closed 1 month ago

apricote commented 3 months ago

We currently only support repositories on GitHub, I would like to see support for GitLabs APIs and GitLab CI.

Implementation

API (Forge)

This was implemented in these pull requests:

GitLab CI/CD

This is a bit more complicated. GitLab CI/CD has multiple drawbacks against GitHub Actions:

This is currently in progress:

I have also thought about adding a Webhook server that one can deploy to manually create CI jobs when the description is updated.

jooola commented 2 months ago

To run this tool in GitLab CI pipelines, we must be able to shell into the container image. The default base image from ko seem to not provide a shell. We might need to add a shell binary or swap the base image with something more flexible.

apricote commented 2 months ago

I think with Steps we could keep publishing a ko-built image and use it on GitLab. Downside is that Steps are marked as experimental right now.

Alternatively we can switch the ko base image from cgr.dev/chainguard/static to cgr.dev/chainguard/busybox (ash) or cgr.dev/chainguard/bash.

apricote commented 1 month ago

First usable version of this was published in v0.4.0-beta.1. Still working on documentation before creating a proper release

apricote commented 1 month ago

Docs are now available and this will be released in 0.4.0.