ATech.Ring.DotNet.Cli
5.0.3
See the version list below for details.
dotnet tool install --global ATech.Ring.DotNet.Cli --version 5.0.3
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local ATech.Ring.DotNet.Cli --version 5.0.3
#tool dotnet:?package=ATech.Ring.DotNet.Cli&version=5.0.3
nuke :add-package ATech.Ring.DotNet.Cli --version 5.0.3
Ring
Meta-orchestrator for developers (cross-platform)
Ring brings order into the messy world of developing and debugging a cloud-ready microservice system side by side with maintaining and migrating legacy ones where you may have many different types of services (ASP.NET Core, Topshelf, WCF, ...) hosted in many different ways (Kubernetes, Docker, IIS Express, WindowsService, Exe) and scattered across many solutions and repositories.
What is it?
Ring consists of the following parts:
- the meta-orchestrator (a dotnet CLI tool)
- Visual Studio Extension (2022, also versions pre 4.0 support 2017, and 2019)
- Visual Studio Code Extension (WIP)
How it works
Ring groups apps into workspaces. Workspaces are defined in TOML files. Workspaces are composed from apps and other workspaces. A workspace can be loaded and started. Ring periodically runs a health check for every app, tries restarting the unhealthy ones, and reports the dead ones. Ring also exposes a web socket interface. Visual Studio extensions use it mainly for visualizing workspace/apps states, turning services off/on for build/debugging if they're a part of the currently loaded project/solution.
Basic facts
- You can run multiple instances of ring (serving different independent workspaces)
- There can be multiple clients (VS/VS Code extensions) interacting with a Ring instance at a time although mostly you'd have just one
- Ring is meant to keep your workspace running even if you quit Visual Studio
- You can also run Ring in a stand-alone mode which just keeps your workspace running
- Ring exposes a web socket interface on port 7999
Supported runnables
- kustomize - Kubernetes apps managed by Kustomize
dockercompose
- docker-compose files- aspnetcore - .NET Core apps running in console (like ASP.NET Core in Kestrel)
proc
- arbitrary native processes
Windows-only:
iisxcore
- ASP.NET Core apps in IIS Express- iisexpress - WCF and other .NET Framework services hosted in IIS Express
netexe
- full .NET Framework console apps (like TopShelf)
Installation
Ring dotnet tool
dotnet tool install --global ATech.Ring.DotNet.Cli
Visual Studio Extension
Make sure you installed the dotnet tool first.
Download here ring! for Visual Studio
Visual Studio Code Extension
Download an early preview
Troubleshooting
If ring does not work as expected you can use --debug
or -d
switch to enable a debug level output.
ring run -w .\path\to\your\workspace.toml -d
CLI commands
run
- runs a specified workspace in a stand-alone mode.headless
- starts and awaits clients (VS Code / VS extension) connections. Once connected a client can load a workspace and interact with it.clone
- loads a workspace and clones configured repos for each runnable. The runnables must have thesshRepoUrl
parameter configured otherwise they'll be skipped.config-*
commands - more info here - configuration files.
Vocabulary
- app (aka runnable - an application/service/process ring manages.
- workspace - a logical grouping of apps defined in TOML file(s).
Workspaces can be composed of other workspaces using the
import
tag. Ring can only run a single workspace at a time.
Example workspace
# your workspace.toml
[[kustomize]]
path = "your/app"
[[dockercompose]]
path = "app/2"
[[import]]
path = "relative/path/to/your/workspace.toml"
Authoring workspaces
Release notes
Working with the docs
Serve locally:
docker run -p 8089:8089 --rm -it -v ~/.ssh:/root/.ssh -v ${PWD}:/docs squidfunk/mkdocs-material serve -a 0.0.0.0:8089
Publish
docker run --rm -it -v ~/.ssh:/root/.ssh -v ${PWD}:/docs squidfunk/mkdocs-material gh-deploy
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated | |
---|---|---|---|
5.1.0-alpha.1 | 108 | 1/16/2024 | |
5.0.3 | 117 | 10/2/2024 | |
5.0.2 | 93 | 9/30/2024 | |
5.0.1 | 103 | 9/30/2024 | |
5.0.0 | 283 | 1/14/2024 | |
5.0.0-alpha.1 | 63 | 1/13/2024 | |
4.3.0 | 197 | 1/12/2024 | |
4.3.0-alpha.2 | 74 | 1/12/2024 | |
4.3.0-alpha.1 | 72 | 1/12/2024 | |
4.2.0 | 263 | 12/8/2023 | |
4.1.0 | 192 | 12/8/2023 | |
4.1.0-alpha.2 | 81 | 12/6/2023 | |
4.1.0-alpha.1 | 74 | 12/6/2023 | |
4.0.1 | 202 | 12/6/2023 | |
4.0.1-alpha.4 | 78 | 12/5/2023 | |
4.0.1-alpha.3 | 76 | 12/5/2023 | |
4.0.1-alpha.2 | 87 | 12/4/2023 | |
4.0.1-alpha.1 | 80 | 12/4/2023 | |
4.0.0 | 214 | 6/23/2023 | |
4.0.0-beta.4 | 108 | 5/7/2023 | |
4.0.0-beta.3 | 98 | 5/3/2023 | |
4.0.0-beta.2 | 98 | 5/3/2023 | |
4.0.0-beta.1 | 101 | 3/7/2023 | |
4.0.0-alpha.9 | 105 | 11/1/2022 | |
4.0.0-alpha.8 | 114 | 11/1/2022 | |
4.0.0-alpha.7 | 122 | 10/28/2022 | |
4.0.0-alpha.6 | 118 | 10/28/2022 | |
4.0.0-alpha.5 | 121 | 9/1/2022 | |
4.0.0-alpha.4 | 118 | 8/23/2022 | |
4.0.0-alpha.3 | 111 | 8/23/2022 | |
4.0.0-alpha.2 | 106 | 8/23/2022 | |
4.0.0-alpha.1 | 123 | 8/22/2022 | |
3.2.0-alpha.2 | 122 | 8/19/2022 | |
3.2.0-alpha.1 | 125 | 8/19/2022 | |
3.1.2 | 490 | 1/3/2022 | |
3.1.2-alpha.4 | 147 | 1/3/2022 | |
3.1.2-alpha.3 | 141 | 1/3/2022 | |
3.1.2-alpha.2 | 136 | 1/3/2022 | |
3.1.2-alpha.1 | 136 | 1/3/2022 | |
3.1.1 | 330 | 12/31/2021 | |
3.1.1-alpha.1 | 127 | 12/31/2021 | |
3.1.0 | 310 | 12/30/2021 | |
3.0.1-alpha.1 | 148 | 12/13/2021 | |
3.0.0-alpha.1 | 1,075 | 11/28/2021 | |
2.5.1 | 426 | 11/11/2021 | |
2.5.0 | 372 | 11/11/2021 | |
2.5.0-alpha.2 | 215 | 9/12/2021 | |
2.5.0-alpha.1 | 190 | 9/10/2021 | |
2.4.4 | 421 | 9/9/2021 | |
2.4.4-pre.3 | 159 | 2/26/2021 | |
2.4.4-pre.2 | 166 | 2/5/2021 | |
2.4.4-pre.1 | 205 | 2/3/2021 | |
2.4.3 | 503 | 1/25/2021 | |
2.4.3-pre.1 | 200 | 1/15/2021 | |
2.4.2 | 543 | 1/10/2021 | |
2.4.2-pre.10 | 303 | 11/24/2020 | |
2.4.2-pre.9 | 218 | 11/23/2020 | |
2.4.2-pre.8 | 230 | 11/17/2020 | |
2.4.2-pre.7 | 238 | 11/17/2020 | |
2.4.2-pre.6 | 227 | 11/17/2020 | |
2.4.2-pre.5 | 243 | 11/16/2020 | |
2.4.2-pre.4 | 255 | 11/12/2020 | |
2.4.2-pre.3 | 271 | 10/30/2020 | |
2.4.2-pre.2 | 219 | 10/29/2020 | |
2.4.2-pre.1 | 248 | 10/26/2020 | |
2.4.1 | 509 | 10/13/2020 | |
2.4.1-pre.6 | 257 | 10/5/2020 | |
2.4.1-pre.5 | 279 | 10/5/2020 | |
2.4.1-pre.4 | 260 | 10/3/2020 | |
2.4.1-pre.3 | 250 | 10/3/2020 | |
2.4.1-pre.1 | 285 | 10/3/2020 | |
2.4.0 | 594 | 9/22/2020 | |
2.4.0-pre.12 | 289 | 9/22/2020 | |
2.4.0-pre.11 | 301 | 9/17/2020 | |
2.4.0-pre.10 | 317 | 9/16/2020 | |
2.4.0-pre.9 | 320 | 9/16/2020 | |
2.4.0-pre.8 | 332 | 9/9/2020 | |
2.4.0-pre.7 | 302 | 9/2/2020 | |
2.4.0-pre.6 | 263 | 9/1/2020 | |
2.4.0-pre.5 | 254 | 8/28/2020 | |
2.4.0-pre.4 | 247 | 8/27/2020 | |
2.4.0-pre.3 | 246 | 8/27/2020 | |
2.4.0-pre.2 | 250 | 8/27/2020 | |
2.4.0-pre.1 | 322 | 7/9/2020 | |
2.3.5-pre.1 | 248 | 8/28/2020 | |
2.3.4 | 654 | 6/11/2020 | |
2.3.4-pre | 542 | 4/8/2020 | |
2.3.3-pre | 473 | 4/2/2020 | |
2.3.2-pre | 523 | 3/20/2020 | |
2.3.1-pre | 590 | 3/20/2020 | |
2.3.0-pre | 581 | 3/20/2020 | |
2.2.1-pre | 502 | 1/29/2020 | |
2.2.0-pre | 499 | 1/27/2020 | |
2.1.0-pre | 532 | 1/17/2020 | |
2.0.0 | 777 | 9/25/2019 | |
1.1.10 | 722 | 9/22/2019 | |
1.1.9 | 676 | 9/17/2019 | |
1.1.8 | 702 | 9/17/2019 | |
1.1.7 | 699 | 9/17/2019 | |
1.1.5-beta | 2,130 | 7/22/2019 | |
1.1.4-beta | 624 | 7/9/2019 | |
1.1.3-beta | 586 | 7/8/2019 | |
1.1.2-beta | 611 | 6/12/2019 | |
1.1.1-beta | 684 | 6/7/2019 | |
1.1.0-beta | 618 | 6/3/2019 | |
1.0.0-beta | 653 | 5/20/2019 |