New upload target: AWS S3
Uploads an artifact to an S£ bucket and returns a presigned URL to allow the user to download the file. Although it uses a lot of common code with the AWS AMI upload target, it's treated as a completely separate target.
This commit is contained in:
parent
14aea30bcd
commit
e5b28c0bb3
8 changed files with 185 additions and 51 deletions
|
|
@ -47,6 +47,8 @@ func UnmarshalTargetResultOptions(trName string, rawOptions json.RawMessage) (Ta
|
|||
switch trName {
|
||||
case "org.osbuild.aws":
|
||||
options = new(AWSTargetResultOptions)
|
||||
case "org.osbuild.aws.s3":
|
||||
options = new(AWSS3TargetResultOptions)
|
||||
case "org.osbuild.gcp":
|
||||
options = new(GCPTargetResultOptions)
|
||||
case "org.osbuild.azure.image":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue