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 ***
|
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-04-12 09:38:27 +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
|
2018-11-15 08:18:35 +01:00
|
|
|
Test Case - Scan Image
|
2018-11-20 07:24:13 +01:00
|
|
|
Harbor API Test ./tests/apitests/python/test_scan_image.py
|
|
|
|
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
|
|
|
|
Test Case - Garbage Collection
|
2018-11-29 11:27:53 +01:00
|
|
|
Harbor API Test ./tests/apitests/python/test_garbage_collection.py
|
|
|
|
Test Case - User View Logs
|
2018-12-03 10:05:06 +01:00
|
|
|
Harbor API Test ./tests/apitests/python/test_user_view_logs.py
|
|
|
|
Test Case - Scan All Images
|
|
|
|
Harbor API Test ./tests/apitests/python/test_scan_all_images.py
|
|
|
|
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
|
|
|
|
Harbor API Test ./tests/apitests/python/test_robot_account.py
|