Skip to content

Commit

Permalink
Fix versioning artifacts (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
maghirardelli authored Dec 15, 2021
1 parent 47cc633 commit 78b58c5
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/cicd/cicd-pipeline/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ provider:
variableSyntax: '\$\{((((self|opt|deep|cf):)|file)((?!\$\{).)+?)}'

custom:
deploymentBucket:
versioning: true
settings: ${file(./config/settings/.settings.js):merged}
tags:
Name: ${self:custom.settings.envName}-${self:service}
Expand Down
2 changes: 2 additions & 0 deletions main/cicd/cicd-source/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ provider:
variableSyntax: '\$\{((((self|opt|deep|cf):)|file)((?!\$\{).)+?)}'

custom:
deploymentBucket:
versioning: true
settings: ${file(./config/settings/.settings.js):merged}
tags:
Name: ${self:custom.settings.envName}-${self:service}
Expand Down
1 change: 1 addition & 0 deletions main/solution/backend/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ custom:
Name: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
policy: ${self:custom.settings.deploymentBucketPolicy}
versioning: true
serverless-offline:
port: 4000
webpack:
Expand Down
1 change: 1 addition & 0 deletions main/solution/edge-lambda/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ custom:
Name: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
blockPublicAccess: true
versioning: true

resources:
- Description: Service-Workbench-on-AWS ${self:custom.settings.version} ${self:custom.settings.solutionName} ${self:custom.settings.envName} Edge-Lambda
Expand Down
1 change: 1 addition & 0 deletions main/solution/infrastructure/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ custom:
deploymentBucket:
policy: ${self:custom.settings.deploymentBucketPolicy}
blockPublicAccess: true
versioning: true

resources:
- Description: Service-Workbench-on-AWS ${self:custom.settings.version} ${self:custom.settings.solutionName} ${self:custom.settings.envName} Infrastructure
Expand Down
1 change: 1 addition & 0 deletions main/solution/post-deployment/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ custom:
Name: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
policy: ${self:custom.settings.deploymentBucketPolicy}
versioning: true
webpack:
webpackConfig: ./config/build/webpack.config.js
packager: pnpm
Expand Down
1 change: 1 addition & 0 deletions main/solution/pre-deployment/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ custom:
Name: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
policy: ${self:custom.settings.deploymentBucketPolicy}
versioning: true
webpack:
webpackConfig: ./config/build/webpack.config.js
packager: pnpm
Expand Down
1 change: 1 addition & 0 deletions main/solution/ui/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ custom:
envTemplate: ${file(./config/environment/env-template.yml)}
deploymentBucket:
policy: ${self:custom.settings.deploymentBucketPolicy}
versioning: true

resources:
- Description: Service-Workbench-on-AWS ${self:custom.settings.version} ${self:custom.settings.solutionName} ${self:custom.settings.envName} UI
Expand Down

0 comments on commit 78b58c5

Please sign in to comment.