mirror of
https://github.com/goharbor/harbor
synced 2025-04-08 04:49:39 +00:00
parent
d87c9c3c38
commit
a07a0d09f8
|
@ -172,3 +172,7 @@ Wait for Harbor Ready
|
|||
\ Return From Keyword If ${status} ${HARBOR_IP}
|
||||
\ Sleep 30s
|
||||
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
|
||||
|
||||
*** Test Cases ***
|
||||
Test Case - Get Harbor Version
|
||||
#Just get harbor version and log it
|
||||
Get Harbor Version
|
||||
|
||||
Test Case - Vulnerability Data Not Ready
|
||||
#This case must run before vulnerability db ready
|
||||
Init Chrome Driver
|
||||
|
|
Loading…
Reference in New Issue
Block a user