Skip to content

Conversation

@tonytw1
Copy link
Member

@tonytw1 tonytw1 commented Feb 8, 2025

What does this change?

Expands the concept of an S3 bucket from just the bucket name to a case class fully describing the bucket.
Allows GCP and locally hosted buckets to be used in addition to AWS.

Introduces an S3Bucket class to fully describe a bucket.
The definition of a bucket in configuration moves from bucket name to a triple of name, end point and URL style.

ie.

publishing.image.bucket.name="test-grid-crops"
publishing.image.bucket.endpoint="s3.amazonaws.com"
publishing.image.bucket.pathStyleURLs=false

Decisions about URLs of buckets and keys move to the S3Bucket class which has now enough knowledge to determine this.

How should a reviewer test this change?

How can success be measured?

Who should look at this?

Tested? Documented?

  • locally by committer
  • locally by Guardian reviewer
  • on the Guardian's TEST environment
  • relevant documentation added or amended (if needed)

@tonytw1 tonytw1 force-pushed the gcp-storage-buckets branch 6 times, most recently from af00e4e to 831d946 Compare February 15, 2025 12:35
@tonytw1 tonytw1 force-pushed the gcp-storage-buckets branch 3 times, most recently from f875471 to 23e97d6 Compare February 26, 2025 21:07
@tonytw1 tonytw1 force-pushed the gcp-storage-buckets branch 2 times, most recently from dfeea9c to 74792d0 Compare March 13, 2025 21:18
@tonytw1 tonytw1 force-pushed the gcp-storage-buckets branch 9 times, most recently from 01f28c6 to af87d7e Compare April 14, 2025 21:30
@tonytw1 tonytw1 force-pushed the gcp-storage-buckets branch 8 times, most recently from 12bf2c0 to a9d3863 Compare April 20, 2025 16:56
Consistent with all other services.
Upload bucket connectSource is supplied by the bucket object; knows about path style bucket URLs.

Preserve the objectUrl is http contract.
Not sure if this is important or not.
@tonytw1 tonytw1 force-pushed the gcp-storage-buckets branch from 6f08a10 to 14e5fdf Compare January 18, 2026 11:16
@tonytw1 tonytw1 changed the title GCP storage buckets Generalise S3 buckets Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants