harbor/tests/resources
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
..
Harbor-Pages Add replication schedule test 2020-06-02 15:51:10 +08:00
Test-Example Nightly case for tag-retention 2019-11-11 16:58:33 +08:00
APITest-Util.robot Add retry for keyword go into index 2020-05-27 08:55:58 +00:00
Cert-Util.robot OIDC authentication is a new feature in version 1.8.0, so add nightly GUI test cases for OIDC authentication scenario. (#7745) 2019-05-22 11:19:08 +08:00
CNAB_Util.robot Add nightly test case of push docker manifest list 2020-04-01 06:51:13 +00:00
Docker-Util.robot add oras cli py-test 2020-06-08 11:10:07 +08:00
Drone-Util.robot Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
Github-Util.robot Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
Harbor-Util.robot enable storage driver of gcs and oss (#12180) 2020-06-09 00:57:27 +08:00
Helm-Util.robot Modify nightly quotas error message verification 2020-05-19 14:59:21 +08:00
Nightly-Util.robot Modify nightly quotas error message verification 2020-05-19 14:59:21 +08:00
Nimbus-Util.robot Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
OVA-Util.robot Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
SeleniumUtil.robot In nightly test, 2 errors occurred, chrome webdrive initializtion failed, and delete repoitory on card view failed too, so add a retry for ffailure and add some sleep. (#7012) 2019-02-26 13:37:16 +08:00
TestCaseBody.robot Add replication schedule test 2020-06-02 15:51:10 +08:00
Util.robot add oras cli py-test 2020-06-08 11:10:07 +08:00
VCH-Util.robot Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
Vsphere-Util.robot Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00