kiln icon indicating copy to clipboard operation
kiln copied to clipboard

GCP GCS Release Tarball Storage

Open crhntr opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Some teams use CI in GCP to test tiles. They would like to store BOSH Release tarballs in the same IAAS that they use for testing (to save network cost both time an and actual $$$).

Describe the solution you'd like

OR

  • Document and test GCP S3 using the S3 release type
  • Add GCP GCS object storage as a tarball release source type

Describe alternatives you've considered

Just using GCS in s3 compatibility mode.

https://cloud.google.com/storage/docs/interoperability#xml_api

Additional context

- type: s3
  id: gcp
  endpoint: https://storage.googleapis.com/
  access_key_id: $(variable "access_key_id")
  secret_access_key: $(variable "secret_access_key")
  region: some-region
  bucket: some-bucket
  path_template: "{{.Name}}-{{.Version}}-{{.StemcellOS}}-{{.StemcellVersion}}.tgz"

Failed with

downloading some-release from s3 release source gcp
2023/08/15 02:04:27 could not execute "bake": download failed: error from release source "gcp": failed to download file: NoSuchKey: The specified key does not exist.
	status code: 404, request id: , host id:

crhntr avatar Aug 15 '23 16:08 crhntr