mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
parent
d87c9c3c38
commit
a07a0d09f8
@ -172,3 +172,7 @@ Wait for Harbor Ready
|
|||||||
\ Return From Keyword If ${status} ${HARBOR_IP}
|
\ Return From Keyword If ${status} ${HARBOR_IP}
|
||||||
\ Sleep 30s
|
\ Sleep 30s
|
||||||
Fail Harbor failed to come up properly!
|
Fail Harbor failed to come up properly!
|
||||||
|
|
||||||
|
Get Harbor Version
|
||||||
|
${rc} ${output}= Run And Return Rc And Output curl -k -X GET --header 'Accept: application/json' 'https://${ip}/api/systeminfo'|grep -i harbor_version
|
||||||
|
Log To Console ${output}
|
||||||
|
@ -25,6 +25,10 @@ ${SSH_USER} root
|
|||||||
${HARBOR_ADMIN} admin
|
${HARBOR_ADMIN} admin
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
|
Test Case - Get Harbor Version
|
||||||
|
#Just get harbor version and log it
|
||||||
|
Get Harbor Version
|
||||||
|
|
||||||
Test Case - Vulnerability Data Not Ready
|
Test Case - Vulnerability Data Not Ready
|
||||||
#This case must run before vulnerability db ready
|
#This case must run before vulnerability db ready
|
||||||
Init Chrome Driver
|
Init Chrome Driver
|
||||||
|
Loading…
Reference in New Issue
Block a user