Skip to content

Commit

Permalink
Add delete step
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed Jan 18, 2024
1 parent 0c7ec7d commit fdc7b93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ test/k3s-%: dist/img.tar bin/k3s dist-%
sleep 5s
sudo bin/k3s kubectl wait deployment wasi-demo --for condition=Available=True --timeout=5s
sudo bin/k3s kubectl get pods -o wide
sudo bin/k3s kubectl delete -f test/k8s/deploy.yaml
sudo bin/k3s kubectl wait deployment wasi-demo --for delete --timeout=60s

.PHONY: test/k3s-oci-%
test/k3s-oci-%: dist/img-oci.tar bin/k3s dist-%
Expand All @@ -290,6 +292,8 @@ test/k3s-oci-%: dist/img-oci.tar bin/k3s dist-%
sleep 5s
sudo bin/k3s kubectl wait deployment wasi-demo --for condition=Available=True --timeout=5s
sudo bin/k3s kubectl get pods -o wide
sudo bin/k3s kubectl delete -f test/k8s/deploy.oci.yaml
sudo bin/k3s kubectl wait deployment wasi-demo --for delete --timeout=60s

.PHONY: test/k3s/clean
test/k3s/clean: bin/k3s/clean;
Expand Down

0 comments on commit fdc7b93

Please sign in to comment.