update content trust test case

This commit is contained in:
myufei 2017-04-14 14:50:51 +08:00
parent 5646e84d44
commit cdc49dd944
3 changed files with 3 additions and 13 deletions

View File

@ -16,12 +16,7 @@ User guide
# Test Steps:
1. Login UI and create a project.
2. On Docker clinet,run
```sh
export DOCKER_CONTENT_TRUST=1
export DOCKER_CONTENT_TRUST_SERVER=https://<harbor_ip>:4443
```
and login Harbor.
2. On Docker clinet, follow [Set up notary](../../../docs/use_notary.md)to set up notary and login Harbor.
3. Push an image to the project created in step1.

View File

@ -18,7 +18,7 @@ NOTE:
In below test, project X should be replaced by an existing project.
1. Login UI.
2. On Docker client, set environment DOCKER_CONTENT_TRUST and DOCKER_CONTENT_TRUST_SERVER properly and login Harobr.
2. On Docker client, follow [Set up notary](../../../docs/use_notary.md) to set up notary and login Harobr.
3. Pull an image from project X.
# Expected Outcome:

View File

@ -16,12 +16,7 @@ User guide
# Test Steps:
1. Login UI and create a project.
2. On a Docker client,run
```sh
export DOCKER_CONTENT_TRUST=1
export DOCKER_CONTENT_TRUST_SERVER=https://<harbor_ip>:4443
```
and login Harbor.
2. On a Docker client,follow [Set up notary](../../../docs/use_notary.md) to set up notary and login Harbor.
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.