harbor/tests
Wang Yan c993103e01
enable storage driver of gcs and oss (#12180)
Add go build tags for gcs and oss, otherwise these drivers cannot be registered and the error "StorageDriver is not regsited: GCS" will raise on registryctl launch under the setting of GCS storage.

These build tags are designed in the distribution, just refer to https://github.com/docker/distribution/blob/release/2.7/registry/storage/driver/gcs/gcs.go#L13

Pin the google cloud API to a old version is because distribution depends on it, otherwise go mode will use v0.17.0 that go-migrate is using as the dependency version, but this version will break the compile process with following error:
harbor/pkg/mod/google.golang.org/cloud@v0.0.0-20151119220103-975617b05ea8/storage/acl.go:65:16: invalid type assertion: v.(map[string]<inter>) (non-interface type *storage.ObjectAccessControl on left)
that's bacause another dependency google.golang.org/cloud requires the pinned version of google.golang.org/api.

The pinned package should be removed once https://github.com/docker/distribution/pull/3019 is merged, and distribution ships their v2.8.0

Signed-off-by: wang yan <wangyan@vmware.com>
2020-06-09 00:57:27 +08:00
..
apitests/python add oras cli py-test 2020-06-08 11:10:07 +08:00
ci enable storage driver of gcs and oss (#12180) 2020-06-09 00:57:27 +08:00
e2e-image Add nightly test case of push docker manifest list 2020-04-01 06:51:13 +00:00
resources enable storage driver of gcs and oss (#12180) 2020-06-09 00:57:27 +08:00
robot-cases add oras cli py-test 2020-06-08 11:10:07 +08: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
.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 Bump up the version of legacy APIs to v2.0 2020-02-14 13:16:30 +08:00
coverage4gotest.sh enhance[cicd] introduce github action for CICD 2019-12-17 18:36:33 +08:00
docker-compose.test.yml feat(cicd) fix redis container version for test (#11105) 2020-03-27 10:54:52 +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 Hidden veriify client cert verfiy option 2020-04-23 10:14:36 +08:00
integration.sh feat(cicd) add build date for base images 2020-04-28 12:56:37 +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