feat(19.3-03): summer.yaml build.tags and the summercms_s3 tag that links the S3 uploads driver
- Manifest.Tags from build.tags (^[a-z0-9_]+$, duplicates dropped), round-tripped by SaveManifest - summer build passes -tags=<list> through goBuildArgs and prints the build tags line - attach: s3blob imported only by s3_on.go (//go:build summercms_s3); an untagged binary refuses an s3:// bucket_url naming the tag, build.tags and -tags - go mod tidy adds the AWS SDK v2 modules as indirect requirements - storage, modules, scaffolding, configuration and scaling docs plus the lagoon README
This commit is contained in:
9
modules/lagoon/attach/s3_on.go
Normal file
9
modules/lagoon/attach/s3_on.go
Normal file
@@ -0,0 +1,9 @@
|
||||
//go:build summercms_s3
|
||||
|
||||
package attach
|
||||
|
||||
// Binaries built with the summercms_s3 tag (summer.yaml build.tags) link the
|
||||
// gocloud S3 driver, so storage.uploads.bucket_url may use s3://.
|
||||
import _ "gocloud.dev/blob/s3blob"
|
||||
|
||||
const s3Enabled = true
|
||||
Reference in New Issue
Block a user