File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 2424 - name : create kind cluster
2525 uses : helm/kind-action@v1
2626
27+ # # Install SpinKube and verify Spin App runs
28+
2729 - name : helm install spinkube
2830 run : |
2931 helm install spinkube \
5658 - name : Verify curl
5759 run : curl localhost:8083/hello
5860
61+ # # Upgrade release and verify shim is re-installed
62+
63+ - name : delete any lingering kwasm jobs
64+ run : kubectl -n spinkube delete job -l kwasm.sh/job=true
65+
66+ - name : helm upgrade spinkube and watch for annotate and install job completions
67+ run : |
68+ helm upgrade spinkube \
69+ --wait \
70+ --namespace spinkube \
71+ --debug \
72+ marketplace/charts/spinkube-azure-marketplace &
73+ timeout 30s bash -c 'until [[ "$(kubectl -n spinkube get job -l job-name=spinkube-kwasm-annotate-nodes -o json | jq '.items[].spec.completions')" == "1" ]]; do sleep 2; done'
74+ timeout 30s bash -c 'until [[ "$(kubectl -n spinkube get job -l kwasm.sh/job=true -o json | jq '.items[].spec.completions')" == "1" ]]; do sleep 2; done'
75+
76+ # # Delete release
77+
78+ # First, verify deletion is blocked when Spin App resources exist
79+
5980 - name : helm delete spinkube
6081 run : |
6182 if helm delete spinkube --timeout 1m --namespace spinkube; then
80101 - name : Delete Spin App
81102 run : kubectl delete spinapp simple-spinapp
82103
104+ # Now verify deletion proceeds and no resources remain
105+
83106 - name : helm delete spinkube
84107 run : helm delete spinkube --timeout 1m --namespace spinkube
85108
You can’t perform that action at this time.
0 commit comments