mirror of
https://github.com/goharbor/harbor
synced 2025-04-08 06:43:07 +00:00
update content trust test case
This commit is contained in:
parent
5646e84d44
commit
cdc49dd944
|
@ -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.
|
||||
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user