Skip to content

Commit 1a3e3eb

Browse files
authored
Merge pull request #951 from aws/feature/net8-upgrade
Deploy Tool v2.0.0
2 parents 9655ba0 + d82a139 commit 1a3e3eb

File tree

244 files changed

+4736
-4590
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+4736
-4590
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"Projects": [
3+
{
4+
"Name": "AWS.Deploy.CLI",
5+
"Type": "Patch",
6+
"ChangelogMessages": [
7+
"NodeJS has been removed from the generated Dockerfiles. If you have an application that requires NodeJS, you will need to add it to the generated Dockerfile and rerun the Deploy Tool."
8+
]
9+
}
10+
]
11+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"Projects": [
3+
{
4+
"Name": "AWS.Deploy.CLI",
5+
"Type": "Major",
6+
"ChangelogMessages": [
7+
"Upgrade the Deploy Tool from .NET 6 to .NET 8",
8+
"Switch from System.CommandLine to Spectre.CLI for a better CLI experience",
9+
"Update Amazon CDK library to 2.194.0 and CDK CLI to 2.1013.0",
10+
"Update AWS .NET SDK to V4",
11+
"Upgrade Microsoft Templating Engine from .NET 5 to .NET 8",
12+
"Add support for deploying .NET 10 applications across different recipes",
13+
"Add support for Podman in addition to the existing Docker support",
14+
"Update the minimum NodeJS version from 14.x to 18.x"
15+
]
16+
}
17+
]
18+
}

.github/workflows/DetectDocGeneratorChanges.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
1919
with:
2020
fetch-depth: '0'
21-
- name: Setup .NET 8.0
21+
- name: Setup .NET 10.0
2222
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
2323
with:
24-
dotnet-version: 8.0.x
24+
dotnet-version: 10.0.x
2525
- name: Restore dependencies
2626
run: dotnet restore
2727
- name: Build

.github/workflows/DetectRestAPIClientChanges.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
1010
with:
1111
fetch-depth: '0'
12-
- name: Setup .NET 8.0
12+
- name: Setup .NET 10.0
1313
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
1414
with:
15-
dotnet-version: 8.0.x
15+
dotnet-version: 10.0.x
1616
- name: Restore dependencies
1717
run: dotnet restore
1818
- name: Build

.github/workflows/UploadDockerImage.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929

30-
- name: Setup .NET Core 6.0
31-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
32-
with:
33-
dotnet-version: 6.0.x
34-
35-
- name: Setup .NET 8.0
30+
- name: Setup .NET 8
3631
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
3732
with:
3833
dotnet-version: 8.0.x

.github/workflows/doc-builder.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ jobs:
2626
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #v5.6.0
2727
with:
2828
python-version: 3.x
29-
- name: Setup .NET Core 6.0
30-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
31-
with:
32-
dotnet-version: 6.0.x
33-
- name: Setup .NET 8.0
29+
- name: Setup .NET 8
3430
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
3531
with:
3632
dotnet-version: 8.0.x

AWS.Deploy.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebAppArmDeployment", "test
7171
EndProject
7272
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleAppArmDeployment", "testapps\ConsoleAppArmDeployment\ConsoleAppArmDeployment.csproj", "{BA7E7790-8E60-4133-B3BC-BDD50B1D7A76}"
7373
EndProject
74+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApiNET10", "testapps\WebApiNET10\WebApiNET10.csproj", "{31EF03BB-F9D0-465D-9D33-96E212A86D91}"
75+
EndProject
7476
Global
7577
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7678
Debug|Any CPU = Debug|Any CPU
@@ -185,6 +187,10 @@ Global
185187
{BA7E7790-8E60-4133-B3BC-BDD50B1D7A76}.Debug|Any CPU.Build.0 = Debug|Any CPU
186188
{BA7E7790-8E60-4133-B3BC-BDD50B1D7A76}.Release|Any CPU.ActiveCfg = Release|Any CPU
187189
{BA7E7790-8E60-4133-B3BC-BDD50B1D7A76}.Release|Any CPU.Build.0 = Release|Any CPU
190+
{31EF03BB-F9D0-465D-9D33-96E212A86D91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
191+
{31EF03BB-F9D0-465D-9D33-96E212A86D91}.Debug|Any CPU.Build.0 = Debug|Any CPU
192+
{31EF03BB-F9D0-465D-9D33-96E212A86D91}.Release|Any CPU.ActiveCfg = Release|Any CPU
193+
{31EF03BB-F9D0-465D-9D33-96E212A86D91}.Release|Any CPU.Build.0 = Release|Any CPU
188194
EndGlobalSection
189195
GlobalSection(SolutionProperties) = preSolution
190196
HideSolutionNode = FALSE
@@ -218,6 +224,7 @@ Global
218224
{49A1C020-F4C8-4B28-A6B2-6AD3C8452E69} = {BD466B5C-D8B0-4069-98A9-6DC8F01FA757}
219225
{303A0323-3FEF-4640-80C2-E33A8BC0F1FC} = {C3A0C716-BDEA-4393-B223-AF8F8531522A}
220226
{BA7E7790-8E60-4133-B3BC-BDD50B1D7A76} = {C3A0C716-BDEA-4393-B223-AF8F8531522A}
227+
{31EF03BB-F9D0-465D-9D33-96E212A86D91} = {C3A0C716-BDEA-4393-B223-AF8F8531522A}
221228
EndGlobalSection
222229
GlobalSection(ExtensibilityGlobals) = postSolution
223230
SolutionGuid = {5A4B2863-1763-4496-B122-651A38A4F5D7}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ To take advantage of this library you’ll need:
3434
* The local credential profile can be configured by a variety of tools. For example, the credential profile can be configured with the [AWS Toolkit for Visual Studio](https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/credentials.html) or the [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html), among others.
3535
* Note: You need to make sure to add the appropriate CloudFormation permissions to your credentials's profile / assumed role.
3636
* For SSO, please visit the [.NET SDK Reference Guide](https://docs.aws.amazon.com/sdkref/latest/guide/access-sso.html).
37-
* [.NET 6](https://dotnet.microsoft.com/download) or later
38-
* [Node.js 14](https://nodejs.org/en/download/) or later
37+
* [.NET 8](https://dotnet.microsoft.com/download) or later
38+
* [Node.js 18](https://nodejs.org/en/download/) or later
3939
* The [AWS Cloud Development Kit (CDK)](https://aws.amazon.com/cdk/) is used by this tool to create the AWS infrastructure to run applications. The CDK requires Node.js to function. This dependency is needed for deployments that are CDK based. If you will be using deployments that are not CDK based, you are not required to have this dependency.
40-
* (optional) [Docker](https://docs.docker.com/get-docker/)
40+
* (optional) [Docker](https://docs.docker.com/get-docker/) or [Podman](https://podman.io/docs/installation)
4141
* Used when deploying to a container based service like Amazon Elastic Container Service (Amazon ECS)
4242
* (optional) The zip cli tool
4343
* Mac / Linux only. Used when creating zip packages for deployment bundles. The zip cli is used to maintain Linux file permissions.

THIRD_PARTY_LICENSES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
** AWSSDK.ElasticLoadBalancingV2; version 3.7.302.33 -- https://www.nuget.org/packages/AWSSDK.ElasticLoadBalancingV2/
2222
** AWSSDK.Core; version 3.7.303.20 -- https://www.nuget.org/packages/AWSSDK.Core
2323
** AWSSDK.CloudWatchLogs; version 3.7.305.18 -- https://www.nuget.org/packages/AWSSDK.CloudWatchLogs
24-
** Amazon.CDK.Lib; version 2.171.1 -- https://www.nuget.org/packages/Amazon.CDK.Lib/
24+
** Amazon.CDK.Lib; version 2.194.0 -- https://www.nuget.org/packages/Amazon.CDK.Lib/
2525

2626
Apache License
2727
Version 2.0, January 2004

buildtools/ci.buildspec.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ phases:
55
runtime-versions:
66
nodejs: 22
77
dotnet: 8.x
8+
commands:
9+
# Find and delete the global.json files that were added by CodeBuild. This causes issues when multiple SDKs are installed.
10+
- find / -type f -name 'global.json' -delete
11+
# The tests need .NET 6, 8 and 10. .NET6 is installed by default. .NET8 is added in the runtime-versions. .NET 10 is installed manually.
12+
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 10.0
813
pre_build:
914
commands:
1015
- export DOTNET_CLI_TELEMETRY_OPTOUT=1

0 commit comments

Comments
 (0)