Skip to content

Commit

Permalink
Merge branch 'main' into chore/ts-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Aug 17, 2023
2 parents 1712422 + 0bcc4b4 commit b30f391
Show file tree
Hide file tree
Showing 33 changed files with 6,403 additions and 141 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ export class DefaultStagingStack extends Stack implements IStagingResources {
if (this.stagingRepos[asset.assetName] === undefined) {
this.stagingRepos[asset.assetName] = new ecr.Repository(this, repoName, {
repositoryName: repoName,
imageTagMutability: ecr.TagMutability.IMMUTABLE,
lifecycleRules: [{
description: 'Garbage collect old image versions',
maxImageCount: this.props.imageAssetVersionCount ?? 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@
"defaultresourcesmaxecrasset13112F7F9": {
"Type": "AWS::ECR::Repository",
"Properties": {
"ImageTagMutability": "IMMUTABLE",
"LifecyclePolicy": {
"LifecyclePolicyText": "{\"rules\":[{\"rulePriority\":1,\"description\":\"Garbage collect old image versions\",\"selection\":{\"tagStatus\":\"any\",\"countType\":\"imageCountMoreThan\",\"countNumber\":3},\"action\":{\"type\":\"expire\"}}]}"
},
Expand Down Expand Up @@ -693,6 +694,7 @@
"defaultresourcesmaxecrasset2904B88A7": {
"Type": "AWS::ECR::Repository",
"Properties": {
"ImageTagMutability": "IMMUTABLE",
"LifecyclePolicy": {
"LifecyclePolicyText": "{\"rules\":[{\"rulePriority\":1,\"description\":\"Garbage collect old image versions\",\"selection\":{\"tagStatus\":\"any\",\"countType\":\"imageCountMoreThan\",\"countNumber\":3},\"action\":{\"type\":\"expire\"}}]}"
},
Expand Down
Loading

0 comments on commit b30f391

Please sign in to comment.