mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-15 06:45:17 +01:00
ac19f02bf5
1. Modify scan related keywords, some of keywords are not effective. Signed-off-by: danfengliu <danfengl@vmware.com>
64 lines
2.5 KiB
Plaintext
64 lines
2.5 KiB
Plaintext
*** Settings ***
|
|
Documentation Harbor BATs
|
|
Resource ../../resources/Util.robot
|
|
Default Tags Nightly
|
|
|
|
*** Variables ***
|
|
${HARBOR_URL} https://${ip}
|
|
${HARBOR_ADMIN} admin
|
|
|
|
*** Test Cases ***
|
|
Test Case - Upgrade Verify
|
|
[Tags] 1.8-latest
|
|
${data}= Load Json From File ${CURDIR}${/}data.json
|
|
Run Keyword Verify User ${data}
|
|
Run Keyword Verify Project ${data}
|
|
Run Keyword Verify Member Exist ${data}
|
|
Run Keyword Verify Robot Account Exist ${data}
|
|
Run Keyword Verify User System Admin Role ${data}
|
|
Run Keyword Verify Endpoint ${data}
|
|
Run Keyword Verify Replicationrule ${data}
|
|
Run Keyword Verify Project Setting ${data}
|
|
Run Keyword Verify System Setting ${data}
|
|
Run Keyword Verify Image Tag ${data}
|
|
|
|
Test Case - Upgrade Verify
|
|
[Tags] 1.9-latest
|
|
${data}= Load Json From File ${CURDIR}${/}data.json
|
|
Run Keyword Verify User ${data}
|
|
Run Keyword Verify Project ${data}
|
|
Run Keyword Verify Member Exist ${data}
|
|
Run Keyword Verify Robot Account Exist ${data}
|
|
Run Keyword Verify Project-level Whitelist ${data}
|
|
Run Keyword Verify Webhook ${data}
|
|
Run Keyword Verify Tag Retention Rule ${data}
|
|
Run Keyword Verify User System Admin Role ${data}
|
|
Run Keyword Verify Endpoint ${data}
|
|
Run Keyword Verify Replicationrule ${data}
|
|
Run Keyword Verify Project Setting ${data}
|
|
Run Keyword Verify Interrogation Services ${data}
|
|
Run Keyword Verify System Setting ${data}
|
|
Run Keyword Verify System Setting Whitelist ${data}
|
|
Run Keyword Verify Image Tag ${data}
|
|
Run Keyword Verify Trivy Is Default Scanner
|
|
|
|
Test Case - Upgrade Verify
|
|
[Tags] 1.10-latest
|
|
${data}= Load Json From File ${CURDIR}${/}data.json
|
|
Run Keyword Verify User ${data}
|
|
Run Keyword Verify Project ${data}
|
|
Run Keyword Verify Member Exist ${data}
|
|
Run Keyword Verify Robot Account Exist ${data}
|
|
Run Keyword Verify Project-level Whitelist ${data}
|
|
Run Keyword Verify Webhook ${data}
|
|
Run Keyword Verify Tag Retention Rule ${data}
|
|
Run Keyword Verify Tag Immutability Rule ${data}
|
|
Run Keyword Verify User System Admin Role ${data}
|
|
Run Keyword Verify Endpoint ${data}
|
|
Run Keyword Verify Replicationrule ${data}
|
|
Run Keyword Verify Project Setting ${data}
|
|
Run Keyword Verify Interrogation Services ${data}
|
|
Run Keyword Verify System Setting ${data}
|
|
Run Keyword Verify System Setting Whitelist ${data}
|
|
Run Keyword Verify Image Tag ${data}
|
|
Run Keyword Verify Clair Is Default Scanner |