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

Đang mở
#88 0 bình luận 0 reaction 1 người được giao Được @devraj nhận Xem trên GitHub
Ngôn ngữ chính
Python
Star
16
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.