mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-11 11:35:28 +01:00
002e5a2b70
This commit is to enable parallel run jobs with travis, and add API for DB and API for LDAP in travis. Signed-off-by: wang yan <wangyan@vmware.com>
13 lines
523 B
Plaintext
13 lines
523 B
Plaintext
*** Keywords ***
|
|
Setup API Test
|
|
${rc} ${output}= Run And Return Rc And Output make swagger_client
|
|
Log ${output}
|
|
Should Be Equal As Integers ${rc} 0
|
|
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} python ${testcase_name}
|
|
Log To Console ${output}
|
|
Should Be Equal As Integers ${rc} 0 |