mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Optimize upgrade pipeline script of push image
Signed-off-by: danfengliu <danfengl@vmware.com>
This commit is contained in:
parent
8535ecbbe5
commit
cff4f529cd
@ -694,6 +694,7 @@ Test Case - Read Only Mode
|
||||
Close Browser
|
||||
|
||||
Test Case - Proxy Cache
|
||||
[Tags] proxy_cache
|
||||
${d}= Get Current Date result_format=%m%s
|
||||
${registry}= Set Variable https://hub.docker.com/
|
||||
${user_namespace}= Set Variable danfengliu
|
||||
|
@ -646,8 +646,8 @@ def do_data_creation():
|
||||
harborAPI.populate_projects(version=args.version)
|
||||
|
||||
harborAPI.push_artifact_index(data["projects"][0]["name"], data["projects"][0]["artifact_index"]["name"], data["projects"][0]["artifact_index"]["tag"], version=args.version)
|
||||
pull_image("busybox", "redis", "haproxy", "alpine", "httpd:2")
|
||||
push_image("busybox", data["projects"][0]["name"])
|
||||
#pull_image("busybox", "redis", "haproxy", "alpine", "httpd:2")
|
||||
push_image_to_project(data["projects"][0]["name"], args.endpoint, 'admin', 'Harbor12345', "busybox", "latest")
|
||||
push_signed_image("alpine", data["projects"][0]["name"], "latest")
|
||||
|
||||
for replicationrule in data["replicationrule"]:
|
||||
|
Loading…
Reference in New Issue
Block a user