mirror of
https://github.com/goharbor/harbor.git
synced 2025-12-05 04:54:30 +01:00
update robot case for get harbor version (#22104)
This commit is contained in:
parent
918aac61a6
commit
937e5920a2
@ -159,5 +159,5 @@ Wait for Harbor Ready
|
||||
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/v2.0/systeminfo'|grep -i harbor_version
|
||||
${rc} ${output}= Run And Return Rc And Output curl -k -X GET -u ${HARBOR_ADMIN}:${HARBOR_PASSWORD} --header 'Accept: application/json' 'https://${ip}/api/v2.0/systeminfo'|grep -i harbor_version
|
||||
Log To Console ${output}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user