Remove cli backend assumptions #344
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tried running
./cli.py cleanupon linux, hit an error about the macos backend being unsupported. Must have missed some hardcoded macos backend assumptions in the cli. Should search for any assumptions like that and remove them.Also let's consolidate the backend selection logic:
--backendflag/only drive backend usage from the env var (or default selection)RE first available backend, there should be a two tiered search:
RE falling back to docker, we should warn the user that docker is less secure, and prompt the user to install either firecracker or macos containers (depending on the platform), to ignore the warning/use docker, or to quit. When docker is unavailable, should also prompt the user to install either firecracker or macos containers (use the same function to display install commands as the former flow) and then quit.