harbor/tests
Daniel Jiang 2064a1cd6d Switch to basic authentication for registry
1. Add basic authorizer for registry which modify the request
to add basic authorization header to request based on configuration.
2. Set basic auth header for proxy when accessing registry
3. Switche the registry to use basic auth by default and use the basic
authorizer to access Harbor.
4. Make necessary change to test cases, particularly
"test_robot_account.py" and "docker_api.py", because the error is
changed after siwtched to basic auth from token auth.  #10604 is opened
to track the follow up work.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-01-31 21:46:47 +09:00
..
apitests/python Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
e2e-image O 2019-12-17 21:00:08 -08:00
resources Switch registry from docker-hub ot internal harbor registry 2020-01-17 10:43:20 +08:00
robot-cases Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
robot-indices Due to replication NG feature already in master branch, old replication UI test cases have been moved out of Jenkins pipeline, and here test case <Replication Of Pull Images from DockerHub To Self> and <Replication Of Push Images from Self To Harbor> has been finished and ready for duty. Other modification is add retry for keywords in UserProfile.robot (#7611) 2019-05-09 15:44:48 +08:00
testcases Add testcase for define harbor admin by LDAP group DN 2018-08-06 18:56:13 +08:00
travis Merge pull request #10456 from bitsf/stop_travis 2020-01-18 02:59:41 +08:00
.gitignore add make clean 2019-12-05 14:44:07 +08:00
ca.crt add test file for systeminfo.go (#1288) 2017-01-06 15:41:07 +08:00
configharbor.py Remove everything of adminserver 2019-02-22 16:34:39 +08:00
coverage4gotest.sh enhance[cicd] introduce github action for CICD 2019-12-17 18:36:33 +08:00
docker-compose.test.yml enhance[cicd] introduce github action for CICD 2019-12-17 18:36:33 +08:00
generateCerts.sh use fix root CA for test 2019-08-14 13:58:20 +08:00
harbor_ca.crt verify permission of GetRetentionExecTaskLog 2019-08-29 15:01:53 +08:00
harbor_ca.key verify permission of GetRetentionExecTaskLog 2019-08-29 15:01:53 +08:00
harbor_ca.srl use fix root CA for test 2019-08-14 13:58:20 +08:00
hostcfg.sh add make clean 2019-12-05 14:44:07 +08:00
integration.sh udpate base image to 1.10.0 2019-11-22 16:47:32 +08:00
ldap_test.ldif Add user027 and user028 to ldap service, it was added in ldap_test.ldif for nightly test. (#8158) 2019-07-08 15:30:08 +08:00
ldapprepare.sh Retry when test ldap server load data fail 2017-12-14 22:36:27 +08:00
notarytest.sh add a 4443 ssl server to nginx config 2017-03-24 13:16:48 +08:00
private_key.pem * Add robot account authn & authz implementation. 2019-01-28 17:39:57 +08:00
pushimage.sh enhance[cicd] introduce github action for CICD 2019-12-17 18:36:33 +08:00
reg_config.yml Change the clair container to non root user 2019-11-04 11:36:39 +08:00
showtime.sh add make clean 2019-12-05 14:44:07 +08:00
startuptest.sh replace startuptest 2017-03-23 19:12:04 -07:00
swaggerchecker.sh chore[api]:rename API folder to api 2019-12-11 17:41:27 +08:00
testprepare.sh Fix travis failure: read the content of env instead of config_env as the config_env has been removed 2019-05-09 17:26:56 +08:00
userlogintest.sh Reactor backend api for authrization 2018-09-21 14:03:17 +08:00
validatecontainers.sh Provide Dockerfile and artifacts for building mariadb on photon OS. 2017-10-20 14:41:36 +08:00