* Fixing the build failures from a missing GCS Key Accidentally introduced in https://github.com/gomods/athens/pull/1428 * Adding a TODO to the drone build * adding a step to test the Athens server startup * Adding the JSONKey back to the default config * use temporary image * Switching back to the old env var for the GCS JSON Key cc/ @marwan-at-work * removing the ServiceAccount. we want to stick with JSONKey * reverting to original key fetching code * fixing build err * bumping chart ver
Google Cloud Storage Driver
This driver provides support for storing module files in Google Cloud storage.
Configuration
NOTE: The GCP storage driver currently only supports the uploading of modules and so can not be used at this time as a storage back end.
Minimal configuration is needed, just the name of a storage bucket and an authentication method for that project, and then tell Athens you want to use that as your storage medium.
Driver Configuration
You will need to set an environment variable for the bucket name.
ATHENS_STORAGE_GCP_BUCKET should be set to the name of the bucket you wish to use. It should be something like fancy-pony-339288.appspot.com.
The only currently supported authentication type is a service account key file in json format. For more information on appengine service accounts see here.
The service account requires a minimum of Storage Object Creator level of permission for the project on GCP.
This path to this file must be set in the environment variable ATHENS_STORAGE_GCP_SA.
Athens Configuration
In order to tell Proxy to use GCP storage set ATHENS_STORAGE_TYPE to gcp.
Contributing
If you would like to contribute to this driver you will need a service account for the test project in order to run tests.
Please contact robbie for access.