StorageDriver: Update to Google SDK v0.47.0 and latest storage driver (v1.1.1)
This is a port of https://github.com/docker/distribution/pull/3019 to the release/2.7-gitlab branch.
The Google Cloud SDK (circa 2015) is outdated and has a bug where 0-byte files may be uploaded: https://github.com/googleapis/google-cloud-go/issues/746
This merge request does a number of things:
- Updates to the latest Google Cloud SDK: https://github.com/googleapis/google-cloud-go/wiki/Storage-Package-Update
- Adds some tests to the Google Cloud Storage driver
Edited by Stan Hu