Skip to content

Commit b0daf90

Browse files
Merge branch 'dev'
2 parents 2e1e8e2 + 71e85a9 commit b0daf90

File tree

30 files changed

+102
-80
lines changed

30 files changed

+102
-80
lines changed

.github/workflows/DetectCDKBootstrapVersionChanges.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
- name: Install AWS CDK
1313
run: |
1414
npm install -g aws-cdk
15+
cdk acknowledge 32775
1516
- name: Get Staging Bucket Update/Replace Policy
1617
id: stagingBucketUpdateReplacePolicy
1718
run: |

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Release 2025-03-28
2+
3+
### AWS.Deploy.CLI (1.28.2)
4+
* Update the default docker image node version from version 18 to 22
5+
### AWS.Deploy.Recipes.CDK.Common (1.28.2)
6+
### AWS.Deploy.ServerMode.Client (1.28.2)
7+
18
## Release 2024-12-30
29

310
### AWS.Deploy.CLI (1.28.1)

buildtools/ci.buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 0.2
33
phases:
44
install:
55
runtime-versions:
6-
nodejs: 18
6+
nodejs: 22
77
commands:
88
# install .NET SDK
99
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 6.0

src/AWS.Deploy.CLI/AWS.Deploy.CLI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<NoWarn>$(NoWarn);1570;1591;ASP0000</NoWarn>
1919
<RollForward>Major</RollForward>
2020
<PackageReadmeFile>README.md</PackageReadmeFile>
21-
<Version>1.28.1</Version>
21+
<Version>1.28.2</Version>
2222
</PropertyGroup>
2323

2424
<ItemGroup>

src/AWS.Deploy.DockerEngine/Templates/Dockerfile.Net6.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apt-get update -yq \
1515
&& apt-get install -yq ca-certificates curl gnupg \
1616
&& mkdir -p /etc/apt/keyrings \
1717
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
18-
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
18+
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
1919
&& apt-get update -yq \
2020
&& apt-get install nodejs -yq
2121
RUN dotnet publish "{project-name}" -c Release -o /app/publish

src/AWS.Deploy.DockerEngine/Templates/Dockerfile.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN apt-get update -yq \
1616
&& apt-get install -yq ca-certificates curl gnupg \
1717
&& mkdir -p /etc/apt/keyrings \
1818
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
19-
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
19+
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
2020
&& apt-get update -yq \
2121
&& apt-get install nodejs -yq
2222
RUN dotnet publish "{project-name}" -c Release -o /app/publish -a $TARGETARCH

src/AWS.Deploy.Orchestration/CDK/CDKBootstrapTemplate.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ Resources:
159159
Fn::Sub: ${FilePublishingRole.Arn}
160160
Resource: "*"
161161
Condition: CreateNewKey
162+
UpdateReplacePolicy: Delete
163+
DeletionPolicy: Delete
162164
FileAssetsBucketEncryptionKeyAlias:
163165
Condition: CreateNewKey
164166
Type: AWS::KMS::Alias
@@ -269,6 +271,18 @@ Resources:
269271
StringLike:
270272
aws:sourceArn:
271273
Fn::Sub: arn:${AWS::Partition}:lambda:${AWS::Region}:${AWS::AccountId}:function:*
274+
- Sid: EmrServerlessImageRetrievalPolicy
275+
Effect: Allow
276+
Principal:
277+
Service: emr-serverless.amazonaws.com
278+
Action:
279+
- ecr:BatchGetImage
280+
- ecr:GetDownloadUrlForLayer
281+
- ecr:DescribeImages
282+
Condition:
283+
StringLike:
284+
aws:sourceArn:
285+
Fn::Sub: arn:${AWS::Partition}:emr-serverless:${AWS::Region}:${AWS::AccountId}:/applications/*
272286
FilePublishingRole:
273287
Type: AWS::IAM::Role
274288
Properties:
@@ -615,7 +629,7 @@ Resources:
615629
Type: String
616630
Name:
617631
Fn::Sub: /cdk-bootstrap/${Qualifier}/version
618-
Value: "25"
632+
Value: "27"
619633
Outputs:
620634
BucketName:
621635
Description: The name of the S3 bucket owned by the CDK toolkit stack

src/AWS.Deploy.Recipes.CDK.Common/AWS.Deploy.Recipes.CDK.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageIcon>icon.png</PackageIcon>
1111
<PackageProjectUrl>https://github.com/aws/aws-dotnet-deploy</PackageProjectUrl>
1212
<PackageReadmeFile>README.md</PackageReadmeFile>
13-
<Version>1.28.1</Version>
13+
<Version>1.28.2</Version>
1414
</PropertyGroup>
1515

1616
<ItemGroup>

src/AWS.Deploy.ServerMode.Client/AWS.Deploy.ServerMode.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<PackageProjectUrl>https://github.com/aws/aws-dotnet-deploy</PackageProjectUrl>
1313
<SignAssembly>true</SignAssembly>
1414
<AssemblyOriginatorKeyFile>..\..\public.snk</AssemblyOriginatorKeyFile>
15-
<Version>1.28.1</Version>
15+
<Version>1.28.2</Version>
1616
</PropertyGroup>
1717

1818
<ItemGroup>

testapps/WebAppNet8WithCustomDockerFile/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN apt-get update -yq \
1717
&& apt-get install -yq ca-certificates curl gnupg \
1818
&& mkdir -p /etc/apt/keyrings \
1919
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
20-
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
20+
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
2121
&& apt-get update -yq \
2222
&& apt-get install nodejs -yq
2323
RUN dotnet publish "WebAppNet8WithCustomDockerFile.csproj" -c Release -o /app/publish

0 commit comments

Comments
 (0)