diff options
author | Steven <steven.liekens@gmail.com> | 2023-09-11 21:16:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-11 21:16:24 +0300 |
commit | 96c1eea40fc97b471ba0b33fcc79273c7ce586c7 (patch) | |
tree | 1ac35df447d38c00cb35e07a7b876dc985fc1329 /test/dotnet/scenarios.json | |
parent | 038bed3d58a84885da8a008b80905da17d57a543 (diff) |
Use dotnet-install.sh in .NET feature (#628)feature_dotnet_2.0.0
* Use dotnet-install.sh in .NET feature
* Use latest.version files
* Cleanup runtime args
* Use latest.version files in tests as well
* Improve tests, remove code duplication
* Add stderr helper
* Validate version inputs
* Use suggested description
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Shorter version description
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Shorter version description
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Clean up apt lists
* Verify 7.0 is latest
* Fix PATH, add test for .NET global tools
* Include a copy of dotnet-install.sh in the Feature
* Configure useful env variables
* Use stringly typed booleans
* Keep imperative writing style in option hints
* Update maintainers
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Move dotnet-install.sh into a vendor directory
* Refactor variables
* Amend
* Amend 2
* Use default options from devcontainer-feature.json
* Add back variables
* Fix shellchek warning in fetch_latest_sdk_version
* Inline install_version function
* Fix ShellCheck warnings
* Improve CSV parsing
* Default to latest when configuring an empty version
* Add support for runtime-only configurations
* Move 'none' check higher up
* Deduplicate helper functions, sort into files
* Address the user more directly in NOTES
* Remove unnecessary defaults
* Replace feature -> Feature
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Add update-dotnet-install-script workflow
* Apply suggestions from code review
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
* Don't skip ci for automated script update
---------
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
Diffstat (limited to 'test/dotnet/scenarios.json')
-rw-r--r-- | test/dotnet/scenarios.json | 83 |
1 files changed, 42 insertions, 41 deletions
diff --git a/test/dotnet/scenarios.json b/test/dotnet/scenarios.json index afee26f..f07aaa5 100644 --- a/test/dotnet/scenarios.json +++ b/test/dotnet/scenarios.json @@ -1,83 +1,84 @@ { - "install_additional_dotnet": { - "image": "ubuntu:focal", + "install_dotnet_lts": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "remoteUser": "vscode", "features": { "dotnet": { - "version": "6.0.301", - "additionalVersions": "5.0,3.1.420" + "version": "lts" } } }, - "install_dotnet_3": { - "image": "ubuntu:focal", + "install_dotnet_specific_release": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04", + "remoteUser": "vscode", "features": { "dotnet": { - "version": "3" + "version": "3.1" } } }, - "install_dotnet_6_bullseye": { - "image": "debian:bullseye", + "install_dotnet_specific_release_and_feature_band": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04", + "remoteUser": "vscode", "features": { "dotnet": { - "version": "6" + "version": "5.0.3xx" } } }, - "install_dotnet_6_focal": { - "image": "ubuntu:focal", + "install_dotnet_exact_version": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "remoteUser": "vscode", "features": { "dotnet": { - "version": "6" + "version": "8.0.100-preview.6.23330.14" } } }, - "install_dotnet_7_bullseye": { - "image": "debian:bullseye", + "install_dotnet_multiple_versions": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "remoteUser": "vscode", "features": { "dotnet": { - "version": "7" + "version": "8.0.100-preview.6.23330.14", + "additionalVersions": [ + "7.0", + "6.0" + ] } } }, - "install_dotnet_7_jammy": { - "image": "ubuntu:jammy", + "install_dotnet_global_tool": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "remoteUser": "vscode", "features": { - "dotnet": { - "version": "7" - } + "dotnet": {} } }, - "install_dotnet_6_jammy": { - "image": "mcr.microsoft.com/devcontainers/base:jammy", + "install_dotnet_latest_when_version_is_empty": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "remoteUser": "vscode", "features": { - "dotnet": { - "version": "6" - } + "dotnet": "" } }, - "install_dotnet_latest": { - "image": "ubuntu:jammy", + "install_dotnet_runtime_only": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "remoteUser": "vscode", "features": { "dotnet": { - "version": "latest" - } - } - }, - "install_dotnet_lts": { - "image": "ubuntu:focal", - "features": { - "dotnet": { - "version": "lts" + "version": "none", + "dotnetRuntimeVersions": "latest" } } }, - "install_wo_apt": { - "image": "ubuntu:jammy", + "install_aspnetcore_runtime_only": { + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + "remoteUser": "vscode", "features": { "dotnet": { - "version": "7", - "installUsingApt": false + "version": "none", + "aspnetcoreRuntimeVersions": "latest" } } } |