From 3c437f47497cfc4bd6087051f792438636d7ee43 Mon Sep 17 00:00:00 2001 From: Steve Fenton Date: Tue, 29 Aug 2023 13:32:06 +0000 Subject: [PATCH 1/2] Octopus Schema Migration to v6 --- .octopus/schema_version.ocl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.octopus/schema_version.ocl b/.octopus/schema_version.ocl index c62d1c32be..4548a61f7b 100644 --- a/.octopus/schema_version.ocl +++ b/.octopus/schema_version.ocl @@ -1 +1 @@ -version = 5 \ No newline at end of file +version = 6 \ No newline at end of file From 463149dd0eccf50d45efef62f898ca7db64e967e Mon Sep 17 00:00:00 2001 From: Steve Fenton Date: Tue, 29 Aug 2023 13:32:06 +0000 Subject: [PATCH 2/2] Update deployment process --- .octopus/deployment_process.ocl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.octopus/deployment_process.ocl b/.octopus/deployment_process.ocl index ce711a9c7b..4cbbc362f9 100644 --- a/.octopus/deployment_process.ocl +++ b/.octopus/deployment_process.ocl @@ -8,7 +8,7 @@ step "upload-microsite-to-aws-s3" { Octopus.Action.Aws.AssumeRole = "False" Octopus.Action.Aws.Region = "#{AWS.Region.Docs}" Octopus.Action.Aws.S3.BucketName = "#{AWS.BucketName.Docs}" - Octopus.Action.Aws.S3.FileSelections = "[{\"type\":\"MultipleFiles\",\"tags\":[],\"metadata\":[],\"cannedAcl\":\"public-read\",\"path\":\"\",\"storageClass\":\"STANDARD\",\"bucketKey\":\"\",\"bucketKeyPrefix\":\"\",\"bucketKeyBehaviour\":\"Custom\",\"performVariableSubstitution\":\"False\",\"performStructuredVariableSubstitution\":\"False\",\"autoFocus\":true,\"pattern\":\"**/*\"}]" + Octopus.Action.Aws.S3.FileSelections = "[{\"type\":\"MultipleFiles\",\"tags\":[],\"metadata\":[{\"key\":\"Cache-Control\",\"value\":\"604800\"}],\"cannedAcl\":\"public-read\",\"path\":\"\",\"storageClass\":\"STANDARD\",\"bucketKey\":\"\",\"bucketKeyPrefix\":\"\",\"bucketKeyBehaviour\":\"Custom\",\"performVariableSubstitution\":\"False\",\"performStructuredVariableSubstitution\":\"False\",\"autoFocus\":true,\"pattern\":\"**/*\"}]" Octopus.Action.Aws.S3.PackageOptions = "{\"bucketKey\":\"#{Project.AWS.BucketKey}\",\"bucketKeyBehaviour\":\"Custom\",\"bucketKeyPrefix\":\"\",\"storageClass\":\"STANDARD\",\"cannedAcl\":\"private\",\"variableSubstitutionPatterns\":\"\",\"structuredVariableSubstitutionPatterns\":\"\",\"metadata\":[],\"tags\":[]}" Octopus.Action.Aws.S3.TargetMode = "FileSelections" Octopus.Action.AwsAccount.UseInstanceRole = "False"