harbor/tests/ci
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
..
api_common_install.sh enable storage driver of gcs and oss (#12180) 2020-06-09 00:57:27 +08:00
api_run.sh fix some cicd problems 2020-04-21 14:34:45 +08:00
conformance_test.sh enable full set of conformance test 2020-05-15 14:12:34 +08:00
distro_installer.sh enable storage driver of gcs and oss (#12180) 2020-06-09 00:57:27 +08:00
ui_ut_run.sh Remove dependency on travis-ci 2020-03-09 01:30:38 +08:00
ut_install.sh feat(cicd) parameterize docker base image and external url 2020-04-08 00:21:47 +08:00
ut_run.sh Remove dependency on travis-ci 2020-03-09 01:30:38 +08:00