mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01:00
f0ebd17994
Build base image step should be in build package workflow, and local base images build by new step should be removed since images have been pushed to docker hub. Signed-off-by: danfengliu <danfengl@vmware.com>
19 lines
655 B
Plaintext
19 lines
655 B
Plaintext
*** Keywords ***
|
|
Make Swagger Client
|
|
${rc} ${output}= Run And Return Rc And Output make swagger_client
|
|
Log ${output}
|
|
[Return] ${rc}
|
|
|
|
Setup API Test
|
|
Retry Keyword N Times When Error 10 Make Swagger Client
|
|
|
|
Harbor API Test
|
|
[Arguments] ${testcase_name}
|
|
${current_dir}= Run pwd
|
|
Log To Console ${current_dir}
|
|
Log To Console ${ip}
|
|
${rc} ${output}= Run And Return Rc And Output SWAGGER_CLIENT_PATH=${current_dir}/harborclient HARBOR_HOST=${ip} DOCKER_USER=${DOCKER_USER} DOCKER_PWD=${DOCKER_PWD} python ${testcase_name}
|
|
Log To Console ${output}
|
|
Log ${output}
|
|
Should Be Equal As Integers ${rc} 0
|