harbor/tests/testcases/Group9-Content-trust/9-05-DB-user-delete-signed-...

32 lines
741 B
Markdown
Raw Normal View History

2017-04-11 06:36:35 +02:00
Test 9-05 User delete signed images(DB mode)
2017-03-16 09:06:38 +01:00
=======
# Purpose:
2017-04-11 06:36:35 +02:00
To verify whether user can delete signed images.
2017-03-16 09:06:38 +01:00
# References:
User guide
# Environment:
2017-04-11 06:36:35 +02:00
* This test requires one Harbor instance is running and avialable.
* A Linux host with Docker CLI(Docker client) installed.
2017-03-16 09:06:38 +01:00
# Test Steps:
2017-04-11 06:36:35 +02:00
1. Login UI and create a project.
2017-04-14 08:59:35 +02:00
2. On a Docker client,follow [Set up notary](../../../../docs/use_notary.md) to set up notary and login Harbor.
2017-04-11 06:36:35 +02:00
3. Push an image to project created in step1.
4. Delete the pushed image.
5. Delete notary tag according to message from UI in step4.
6. Delete the image again.
2017-03-16 09:06:38 +01:00
# Expected Outcome:
2017-04-11 06:36:35 +02:00
* In step4, image cannot be deleted.
* In step6, image can be deleted.
2017-03-16 09:06:38 +01:00
# Possible Problems:
None