2018-09-19 11:49:43 +02:00
|
|
|
*** Settings ***
|
|
|
|
Documentation Harbor BATs
|
|
|
|
Resource ../../resources/APITest-Util.robot
|
|
|
|
Resource ../../resources/Docker-Util.robot
|
|
|
|
Library ../../apitests/python/library/Harbor.py ${SERVER_CONFIG}
|
|
|
|
Library OperatingSystem
|
|
|
|
Library String
|
|
|
|
Library Collections
|
|
|
|
Library requests
|
|
|
|
Library Process
|
|
|
|
Default Tags APIDB
|
|
|
|
|
|
|
|
*** Variables ***
|
|
|
|
${SERVER} ${ip}
|
|
|
|
${SERVER_URL} https://${SERVER}
|
|
|
|
${SERVER_API_ENDPOINT} ${SERVER_URL}/api
|
|
|
|
&{SERVER_CONFIG} endpoint=${SERVER_API_ENDPOINT} verify_ssl=False
|
|
|
|
|
|
|
|
*** Test Cases ***
|
2019-04-29 12:47:29 +02:00
|
|
|
Test Case - Garbage Collection
|
|
|
|
Harbor API Test ./tests/apitests/python/test_garbage_collection.py
|
2018-10-31 06:13:31 +01:00
|
|
|
Test Case - Add Private Project Member and Check User Can See It
|
2018-11-01 11:26:04 +01:00
|
|
|
Harbor API Test ./tests/apitests/python/test_add_member_to_private_project.py
|
|
|
|
Test Case - Delete a Repository of a Certain Project Created by Normal User
|
|
|
|
Harbor API Test ./tests/apitests/python/test_del_repo.py
|
|
|
|
Test Case - Add a System Global Label to a Certain Tag
|
|
|
|
Harbor API Test ./tests/apitests/python/test_add_sys_label_to_tag.py
|
2019-08-14 04:45:20 +02:00
|
|
|
Test Case - Add Replication Rule
|
|
|
|
Harbor API Test ./tests/apitests/python/test_add_replication_rule.py
|
2018-11-14 09:23:44 +01:00
|
|
|
Test Case - Edit Project Creation
|
|
|
|
Harbor API Test ./tests/apitests/python/test_edit_project_creation.py
|
2019-10-17 06:00:51 +02:00
|
|
|
Test Case - Scan Image
|
|
|
|
Harbor API Test ./tests/apitests/python/test_scan_image.py
|
2018-11-20 07:24:13 +01:00
|
|
|
Test Case - Manage Project Member
|
2018-11-21 05:19:28 +01:00
|
|
|
Harbor API Test ./tests/apitests/python/test_manage_project_member.py
|
|
|
|
Test Case - Project Level Policy Content Trust
|
2018-11-27 12:17:41 +01:00
|
|
|
Harbor API Test ./tests/apitests/python/test_project_level_policy_content_trust.py
|
2018-11-29 11:27:53 +01:00
|
|
|
Test Case - User View Logs
|
2018-12-03 10:05:06 +01:00
|
|
|
Harbor API Test ./tests/apitests/python/test_user_view_logs.py
|
2019-10-17 06:00:51 +02:00
|
|
|
Test Case - Scan All Images
|
|
|
|
Harbor API Test ./tests/apitests/python/test_scan_all_images.py
|
2018-12-03 10:05:06 +01:00
|
|
|
Test Case - List Helm Charts
|
2018-12-04 05:26:12 +01:00
|
|
|
Harbor API Test ./tests/apitests/python/test_list_helm_charts.py
|
|
|
|
Test Case - Assign Sys Admin
|
2019-04-11 09:05:46 +02:00
|
|
|
Harbor API Test ./tests/apitests/python/test_assign_sys_admin.py
|
|
|
|
Test Case - Retag Image
|
2019-05-06 05:34:11 +02:00
|
|
|
Harbor API Test ./tests/apitests/python/test_retag.py
|
|
|
|
Test Case - Robot Account
|
2019-08-09 04:50:06 +02:00
|
|
|
Harbor API Test ./tests/apitests/python/test_robot_account.py
|
|
|
|
Test Case - Sign A Image
|
|
|
|
Harbor API Test ./tests/apitests/python/test_sign_image.py
|
2019-09-11 07:34:23 +02:00
|
|
|
Test Case - Project Quota
|
|
|
|
Harbor API Test ./tests/apitests/python/test_project_quota.py
|
2019-09-04 07:52:56 +02:00
|
|
|
Test Case - System Level CVE Whitelist
|
|
|
|
Harbor API Test ./tests/apitests/python/test_sys_cve_whitelists.py
|
2019-09-05 12:02:53 +02:00
|
|
|
Test Case - Project Level CVE Whitelist
|
|
|
|
Harbor API Test ./tests/apitests/python/test_project_level_cve_whitelist.py
|
2019-09-03 09:52:41 +02:00
|
|
|
Test Case - Tag Retention
|
|
|
|
Harbor API Test ./tests/apitests/python/test_retention.py
|
|
|
|
|