Skip to content

Commit d247ac0

Browse files
CopilotIEvangelist
andauthored
chore: update Aspire version to 13.2 and add feature to dev container
Agent-Logs-Url: https://github.com/microsoft/aspire-devcontainer-feature/sessions/d514dce9-e6b1-4d96-8def-74b21b475262 Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
1 parent 5b686ad commit d247ac0

5 files changed

Lines changed: 10 additions & 9 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
}
1919
},
2020
"features": {
21-
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
21+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
22+
"ghcr.io/microsoft/aspire-devcontainer-feature/dotnetaspire:1": {}
2223
},
2324
"remoteUser": "node",
2425
"updateContentCommand": "npm install -g @devcontainers/cli"

src/dotnetaspire/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Installs Aspire. See https://aspire.dev
1515

1616
| Options Id | Description | Type | Default Value |
1717
|-----|-----|-----|-----|
18-
| version | Select or enter an Aspire version. Use 'latest' for the latest supported version, '9.1' for the 9.1 version, 'X.Y' or 'X.Y.Z' for a specific version, or 'latest-daily' for the latest unsupported build. | string | 9.1 |
18+
| version | Select or enter an Aspire version. Use 'latest' for the latest supported version, '13.2' for the 13.2 version, 'X.Y' or 'X.Y.Z' for a specific version, or 'latest-daily' for the latest unsupported build. | string | latest |
1919

2020
## Customizations
2121

src/dotnetaspire/devcontainer-feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"proposals": [
1111
"latest daily",
1212
"latest",
13-
"9.3"
13+
"13.2"
1414
],
1515
"default": "latest",
16-
"description": "Select or enter an Aspire version. Use 'latest' for the latest supported version, '9.3.1' for the 9.3.1 version, 'X.Y' or 'X.Y.Z' for a specific version, or 'latest-daily' for the latest unsupported build."
16+
"description": "Select or enter an Aspire version. Use 'latest' for the latest supported version, '13.2.0' for the 13.2.0 version, 'X.Y' or 'X.Y.Z' for a specific version, or 'latest-daily' for the latest unsupported build."
1717
},
1818
"installCli": {
1919
"type": "boolean",

src/dotnetaspire/install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
set -e
1212

1313
# Set the current latest Aspire version here
14-
ASPIRE_LATEST_VERSION="9.4.0"
14+
ASPIRE_LATEST_VERSION="13.2.0"
1515

1616
# default to latest if not specified
1717
VERSION="${VERSION:-"latest"}"
1818
INSTALL_CLI="${INSTALLCLI:-"true"}"
1919

20-
# Acceptable versions: 9.x, 9.x.x, latest, latest-daily
21-
if [[ ! $VERSION =~ ^(9\.[0-9]+(\.[0-9]+)?|latest|latest-daily)$ ]]; then
22-
echo "Error: VERSION must be a valid Aspire 9.x version (e.g., '9.1', '9.2.1'), 'latest', or 'latest-daily', not: '$VERSION'."
20+
# Acceptable versions: X.Y, X.Y.Z, latest, latest-daily
21+
if [[ ! $VERSION =~ ^([0-9]+\.[0-9]+(\.[0-9]+)?|latest|latest-daily)$ ]]; then
22+
echo "Error: VERSION must be a valid Aspire version (e.g., '13.2', '13.2.0'), 'latest', or 'latest-daily', not: '$VERSION'."
2323
exit 1
2424
fi
2525

test/dotnetaspire/scenarios.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
44
"features": {
55
"dotnetaspire": {
6-
"version": "9.1"
6+
"version": "13.2"
77
}
88
}
99
},

0 commit comments

Comments
 (0)