anomaly / anomaly/lab-python-server

Document the process of making a package release include the use of `release-drafter` Github action to automate creation of a release and `helm-releaser` to publish the chart

Open
#88 0 comments 0 reactions 1 assignee Claimed by @devraj View on GitHub
Dominant language
Python
Stars
16
Forks
4
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
With Github actions we should be able to automate the build and creation of releases. We already have many Taskfile based automations that build and publish our releases, we should move them to be triggered on Github via actions on specific events like a tag is published.

**Describe the solution you'd like**
I would like to see the following automation:

- A person who has access to write to the default branch, publishes a tag
- Github actions are triggered to runs tests
- On success a container package is built and sent to GHCR
- On success a helm chart is published on GHCR

> At a later stage we can look at Terraform deploying the new image to the infrastructure.

For the initial solution we need Github actions for:

- Running tests on the project
- Building and publishing the container image on GHCR
- Building and publishing the helm chart on GHCR
- Create a draft release and possibly populate the release notes (partially anyway)

**Describe alternatives you've considered**
NA

**Additional context**
See:
- [`release-drafter`](https://github.com/release-drafter/release-drafter)
- [`chart-releaser`](https://github.com/helm/chart-releaser#config-file)
- [`taskfile`](https://taskfile.dev/releasing/)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.