mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-02 15:14:09 +01:00
cf7326cf18
* add replication case
1.0 KiB
1.0 KiB
Test 7-22 - Replication-delete-images
Purpose:
To verify remote images can be delete when it is deleted.
Reference:
User guide
Environment:
- This test requires that at least two Harbor instance are running and available.
- Need at least one project has at least one replication rule.
Test Steps:
NOTE: In below test, Harbor instance should have at least one available endpoint.
- Login source registry UI as admin user.
- Create a project and add an enabled replication rule.
- Push at least one image to the created project, and wait until replication job is done.
- Check the job log.
- Delete a pushed image in UI from the source registry.
- Check the replication job.
- Check remote registry to see if the image has been deleted.
Expeced Outcome:
- In step3, the remote will see replicated project and images.
- In step6, there will be a replication job and the deleted image will be deleted from remote too.
- In step7, images on remote registry should be deleted.
Possible Problems:
None