Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.
MIT License
5.29k
stars
520
forks
source link
tye deploy when yaml file specifies images expects to build projects. #1475
As a developer, when i use tye deploy, I expect it to use the specified container image(s), rather than assume it needs to compile projects and build the containers.
To Reproduce
Run tye deploy against a tye.yaml that has only images specified for services.
Further technical details
kubectl context is set to docker desktop
Include the output of tye --version
0.11.0-alpha.22111.1+3edef5428949c518c078844d6438e5ba86fce600
If possible rerun the command with -v debug and include the output
PS C:\repos\gh-identity-service\tools> tye deploy -v debug .\tye.yaml
Loading Application Details...
Restoring and evaluating projects
Restore and project evaluation took: 424.5427ms
Verifying kubectl installation...
Verifying kubectl connection to cluster...
Processing Service 'ms1'...
Applying container defaults...
Service 'ms1' does not have a project associated. Skipping.
Done Applying container defaults...
Compiling Services...
Done Compiling Services...
Publishing Project...
Service 'ms1' does not have a project associated. Skipping.
Done Publishing Project...
Building Docker Image...
Service 'ms1' does not have a project associated. Skipping.
Done Building Docker Image...
Pushing Docker Image...
Service 'ms1' does not have a project associated. Skipping.
Done Pushing Docker Image...
Validating Secrets...
Done Validating Secrets...
Generating Manifests...
Service 'ms1' does not have a container. Skipping.
Done Generating Manifests...
Done Processing Service 'ms1'...
Deploying Application Manifests...
Applying Kubernetes Manifests...
Verifying kubectl installation...
Verifying kubectl connection to cluster...
Writing output to 'C:\Users\30214\AppData\Local\Temp\2\tmpB7A0.tmp'.
No yaml manifests found. Skipping.
Running 'kubectl apply' in $namespace $identity
Describe the bug
As a developer, when i use tye deploy, I expect it to use the specified container image(s), rather than assume it needs to compile projects and build the containers.
To Reproduce
Run tye deploy against a tye.yaml that has only images specified for services.
Further technical details
kubectl context is set to docker desktop
Include the output of
tye --version
0.11.0-alpha.22111.1+3edef5428949c518c078844d6438e5ba86fce600If possible rerun the command with
-v debug
and include the output PS C:\repos\gh-identity-service\tools> tye deploy -v debug .\tye.yaml Loading Application Details... Restoring and evaluating projects Restore and project evaluation took: 424.5427ms Verifying kubectl installation... Verifying kubectl connection to cluster... Processing Service 'ms1'... Applying container defaults... Service 'ms1' does not have a project associated. Skipping. Done Applying container defaults... Compiling Services... Done Compiling Services... Publishing Project... Service 'ms1' does not have a project associated. Skipping. Done Publishing Project... Building Docker Image... Service 'ms1' does not have a project associated. Skipping. Done Building Docker Image... Pushing Docker Image... Service 'ms1' does not have a project associated. Skipping. Done Pushing Docker Image... Validating Secrets... Done Validating Secrets... Generating Manifests... Service 'ms1' does not have a container. Skipping. Done Generating Manifests... Done Processing Service 'ms1'... Deploying Application Manifests... Applying Kubernetes Manifests... Verifying kubectl installation... Verifying kubectl connection to cluster... Writing output to 'C:\Users\30214\AppData\Local\Temp\2\tmpB7A0.tmp'. No yaml manifests found. Skipping. Running 'kubectl apply' in $namespace $identityThe platform (Linux/macOS/Windows) Windows with WSL2 running under Docker Desktop and K8S running