Draft: dev: add test script for harbor
- Useful when upgrading harbor
-
setup
creates dummy data for testing (use before an upgrade) -
validate
checks that harbor contains the expected dummy data created bysetup
(use after an upgrade to confirm the data still exists) -
cleanup
restores harbor to its original state - All steps are expected to be idempotent
- Corresponds to the first 3 steps here: https://goharbor.io/docs/2.9.0/administration/upgrade/upgrade-test/
- Steps 13, 14, 15 could probably be added too