Skip to content

Commit

Permalink
Merge branch 'dev' into rasswanth/fix-helm-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgorana authored Mar 15, 2024
2 parents d7702b9 + 9e283e6 commit dfd526c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -829,12 +829,16 @@ commands =
bash -c "docker volume rm k3d-syft-images --force || true"
bash -c "k3d registry delete k3d-registry.localhost || true"

# Creating registry
bash -c '\
export CLUSTER_NAME=syft CLUSTER_HTTP_PORT=${NODE_PORT} && \
tox -e dev.k8s.start'

# Creating registry and cluster
bash -c 'k3d registry create registry.localhost --port 5800 -v `pwd`/k3d-registry:/var/lib/registry || true'
bash -c 'NODE_NAME=syft NODE_PORT=${NODE_PORT} && \
k3d cluster create syft -p "$NODE_PORT:80@loadbalancer" --registry-use k3d-registry.localhost || true \
k3d cluster start syft'
CLUSTER_NAME=syft tox -e dev.k8s.patch.coredns

sleep 10
bash -c "kubectl --context k3d-syft create namespace syft || true"

Expand Down Expand Up @@ -1080,6 +1084,7 @@ description = E2E Notebook tests
changedir = {toxinidir}
deps =
{[testenv:syft]deps}
nbmake
allowlist_externals =
bash
pytest
Expand Down

0 comments on commit dfd526c

Please sign in to comment.