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

未关闭
#88 0 条评论 0 个 reaction 已指派 1 人 已被 @devraj 认领 在 GitHub 查看
主要语言
Python
星标
16
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。