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

Ouverte
#88 0 commentaires 0 réactions 1 personne assignée Réclamée par @devraj Voir sur GitHub
Langage dominant
Python
Étoiles
16
Forks
4
Métriques de merge des PR
Aucune PR mergée en 30 j

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/)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.