s3gw-tech / s3gw

Container able to run on a Kubernetes cluster, providing S3-compatible endpoints to applications.
https://s3gw.tech
Apache License 2.0
126 stars 20 forks source link

CI/CD: Improve testing on charts #518

Open jhmarina opened 1 year ago

jhmarina commented 1 year ago

What needs to be done

Automatic testing of non-trivial chart-based deployments of the s3gw

This should improve our confidence in the usability of the chart and ensure that common deployment scenarios work as intended. These tests should therefore be executed whenever the chart changes or when a release is prepared.

Acceptance Criteria

Additional Information

Currently the chart is only tested in a very minimal configuration, which exercises only a small portion of the templates and does not cover integration with external components, like the certificate manager. While we do have tests that ensure the chart always generates valid templates, we don't test whether these templates deploy a sane configuration and whether the resulting deployment really ends up healthy.

### Tasks
- [ ] Charts: Expand unittest coverage
jhmarina commented 1 year ago

This issue may overlap a bit with https://github.com/aquarist-labs/s3gw/issues/567

giubacc commented 1 year ago

FYI: Imported the repo of the environment: https://github.com/aquarist-labs/s3gw-acceptance A first implementation of some test is already in place. Tests can be extended to cover much more obviously.

jhmarina commented 1 year ago

This is in progress but will span over several Milestones.