mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-16 23:35:20 +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
|
Close Browser
|
||||||
|
|
||||||
Test Case - Proxy Cache
|
Test Case - Proxy Cache
|
||||||
|
[Tags] proxy_cache
|
||||||
${d}= Get Current Date result_format=%m%s
|
${d}= Get Current Date result_format=%m%s
|
||||||
${registry}= Set Variable https://hub.docker.com/
|
${registry}= Set Variable https://hub.docker.com/
|
||||||
${user_namespace}= Set Variable danfengliu
|
${user_namespace}= Set Variable danfengliu
|
||||||
|
@ -646,8 +646,8 @@ def do_data_creation():
|
|||||||
harborAPI.populate_projects(version=args.version)
|
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)
|
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")
|
#pull_image("busybox", "redis", "haproxy", "alpine", "httpd:2")
|
||||||
push_image("busybox", data["projects"][0]["name"])
|
push_image_to_project(data["projects"][0]["name"], args.endpoint, 'admin', 'Harbor12345', "busybox", "latest")
|
||||||
push_signed_image("alpine", data["projects"][0]["name"], "latest")
|
push_signed_image("alpine", data["projects"][0]["name"], "latest")
|
||||||
|
|
||||||
for replicationrule in data["replicationrule"]:
|
for replicationrule in data["replicationrule"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user