You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance ENVITE setup process with runtime information integration (#25)
* Enhance ENVITE setup process with runtime information integration
- Updated network and component logic to utilize runtime information for hostname and network latency.
- Modified validation and update functions to reflect changes in the hosts file with dynamic hostname.
- Improved user messages in setup files to include runtime-specific details for better clarity during initial setup.
- Add wait time for Colima container start to allow network binding to kick in.
* Add Colima runtime support in Docker configuration
- Introduced a new runtime entry for Colima, including its socket path, internal hostname, and network latency.
- Updated the fallback behavior in the runtime detection function to return a default 'Unknown' runtime when no matches are found.
* Integrate RuntimeInfo into Component and Network structures
- Added RuntimeInfo field to Component and Network types to enhance runtime-specific functionality.
- Updated newComponent and NewNetwork functions to accept RuntimeInfo, improving the handling of network latency and internal hostnames.
- Refactored Start method in Component to utilize the new RuntimeInfo field for network latency management.
* Improve error handling in API and environment functions
- Improved error handling with error wrapping to provide better error messages
- Updated changeslog and readme
* chagelog
*[Key Elements of ENVITE](#key-elements-of-envite)
38
+
*[Runtime Awareness](#runtime-awareness)
38
39
*[Local Development](#local-development)
39
40
*[Contact and Contribute](#contact-and-contribute)
40
41
*[ENVITE Logo](#envite-logo)
@@ -334,6 +335,12 @@ functional environment.
334
335
* `Component` Graph: Organizes components into layers and defines their relationships.
335
336
* `Server`: Allow serving a UI to manage the environment.
336
337
338
+
## Runtime Awareness
339
+
340
+
ENVITE automatically detects and adapts to different Docker-compatible runtimes (Docker Desktop, Colima, Podman, Rancher Desktop, Lima, OrbStack, Minikube, ContainerD, and Finch). This runtime awareness allows ENVITE to handle runtime-specific behaviors automatically.
341
+
342
+
> Colima has some latency when attaching networking stack of new containers. This may lead to issue when adding log message based waiters. As a workaround, ENVITE adds a 3-second wait time after creating containers, to allow colima to finalize networking. This may not work perfectly as it depends on the time it takes colima to complete.
343
+
337
344
## Local Development
338
345
339
346
To locally work on ENVITE UI, cd into the `ui` dir and run react dev server using `npm start`.
0 commit comments