diff --git a/tox.ini b/tox.ini index aa8cc5a5d66..2ee59b796f2 100644 --- a/tox.ini +++ b/tox.ini @@ -926,14 +926,13 @@ commands = pip list pytest -[testenv:dev.k8s.registry]: +[testenv:dev.k8s.registry] changedir = {toxinidir}/packages/grid passenv=HOME,USER allowlist_externals = bash commands = bash -c 'k3d registry create registry.localhost --port 12345 -v $HOME/.k3d-registry:/var/lib/registry' - bash -c '\ CYAN="\033[1;36m"; \ CLEAR="\033[0m"; \ @@ -950,11 +949,10 @@ allowlist_externals = commands = bash -c 'URL=http://k3d-registry.localhost:12345/v2/_catalog; \ curl -X GET $URL || (echo "ERROR: Add \"127.0.0.1 k3d-registry.localhost\" to /etc/hosts" && exit 1)' - bash -c 'k3d cluster create syft-dev -p "8080:80@loadbalancer" --registry-use k3d-registry.localhost:12345; \ k3d cluster list' -[testenv:dev.k8s.deploy]: +[testenv:dev.k8s.deploy] changedir = {toxinidir}/packages/grid passenv=HOME, USER allowlist_externals = @@ -965,7 +963,7 @@ commands = devspace use namespace syft; \ devspace deploy --var CONTAINER_REGISTRY=k3d-registry.localhost:12345 --config=devspace.yaml' -[testenv:dev.k8s.cleanup]: +[testenv:dev.k8s.cleanup] changedir = {toxinidir}/packages/grid allowlist_externals = bash