mirror of https://github.com/dotnet/tye.git
committed by
Justin Kotalik
5 changed files with 126 additions and 2 deletions
@ -0,0 +1,50 @@ |
|||
# tye build |
|||
|
|||
## Name |
|||
|
|||
`tye build` - Builds the application's containers. |
|||
|
|||
## Synopsis |
|||
|
|||
```text |
|||
tye build [-?|-h|--help] [-v|--verbosity <Debug|Info|Quiet>] [<PATH>] |
|||
``` |
|||
|
|||
## Description |
|||
|
|||
The `tye build` command will build all of an application's project services into containers without deploying or pushing the containers remotely. |
|||
|
|||
This command is useful for testing that all projects successfully build. |
|||
|
|||
## Arguments |
|||
|
|||
`PATH` |
|||
|
|||
The path to either a file or directory to execute `tye build` on. |
|||
|
|||
If a directory path is specified, `tye build` will default to using these files, in the following order: |
|||
|
|||
- `tye.yaml` |
|||
- `*.sln` |
|||
- `*.csproj/*.fsproj` |
|||
|
|||
## Options |
|||
|
|||
- `-v|--verbosity <Debug|Info|Quiet>` |
|||
|
|||
The verbosity of logs emitted by `tye build`. Defaults to Info. |
|||
|
|||
|
|||
## Examples |
|||
|
|||
- Build an application from the current directory: |
|||
|
|||
```text |
|||
tye build |
|||
``` |
|||
|
|||
- Build an application, increasing log verbosity to Debug. |
|||
|
|||
```text |
|||
tye build --verbosity Debug |
|||
``` |
|||
@ -0,0 +1,63 @@ |
|||
# tye deploy |
|||
|
|||
## Name |
|||
|
|||
`tye push` - Builds the application's containers and pushes them to the container registry. |
|||
|
|||
## Synopsis |
|||
|
|||
```text |
|||
tye push [-?|-h|--help] [-i|--interactive] [-v|--verbosity <Debug|Info|Quiet>] [<PATH>] |
|||
``` |
|||
|
|||
## Description |
|||
|
|||
The `tye push` command will build all of an application's project services into containers and push the containers to a remote registry without deploying to Kubernetes. |
|||
|
|||
This command is useful if you want to use Tye to containerize .NET projects and manage deployment separately. |
|||
|
|||
> :warning: The `tye push` command requires access to a remote container registry. Images will be tagged using the registry configured in `tye.yaml` (if present), or using a registry supplied interactively at the command line. |
|||
|
|||
> :bulb: The `tye push` command uses Docker's credentials for pushing to the remote container registry. Make sure Docker is configured to push to your registry before running `tye push`. |
|||
|
|||
## Arguments |
|||
|
|||
`PATH` |
|||
|
|||
The path to either a file or directory to execute `tye push` on. Can either be a yaml, sln, or project file, however it is recommend to have a tye.yaml file for `tye push`. |
|||
|
|||
If a directory path is specified, `tye push` will default to using these files, in the following order: |
|||
|
|||
- `tye.yaml` |
|||
- `*.sln` |
|||
- `*.csproj/*.fsproj` |
|||
|
|||
## Options |
|||
|
|||
- `-i|--interactive` |
|||
|
|||
Does an interactive deployment that will accept input for values that are required by default. |
|||
|
|||
- `-v|--verbosity <Debug|Info|Quiet>` |
|||
|
|||
The verbosity of logs emitted by `tye deploy`. Defaults to Info. |
|||
|
|||
## Examples |
|||
|
|||
- Push an application from the current directory: |
|||
|
|||
```text |
|||
tye push |
|||
``` |
|||
|
|||
- Push an application with interactive input: |
|||
|
|||
```text |
|||
tye push --interactive |
|||
``` |
|||
|
|||
- Push an application, increasing log verbosity to Debug. |
|||
|
|||
```text |
|||
tye deploy --verbosity Debug |
|||
``` |
|||
Loading…
Reference in new issue