goharbor / harbor-helm

The helm chart to deploy Harbor
Apache License 2.0
1.2k stars 760 forks source link

Post-deployment validation #805

Closed flaviodsr closed 8 months ago

flaviodsr commented 3 years ago

Is your feature request related to a problem? Please describe. After deploying Harbor I would like to be sure that everything is working as expected at least in regard of the functionalities provided by Harbor.

Describe the solution you'd like Provide a way to easily perform basic functionality testing against an existing Harbor deployment. For example leveraging helm Chart Tests.

Describe the development plan you've considered A possible way to implement that could be to also ship an image including basic functionality tests that are already being executed by the CI (such as the API_DB tests). Basically, as part of Harbor release also build and publish an image similar to https://github.com/goharbor/harbor/blob/master/tests/e2e-image/Dockerfile . With that, document how can someone can use that image to validate its Harbor deployment by running helm test. helm test would start a pod from test image and run the API_DB tests against the deployed release. This can also be included in the harbor-helm CI.

Additional context We already have this working (using our own images) and would be glad to share it with the community. Currently the only blocker to have this working is to have an image containing the API_DB tests published that we can use on the chart.

github-actions[bot] commented 9 months ago

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

github-actions[bot] commented 8 months ago

This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.