Skip to content

Commit

Permalink
WIP: repro steps
Browse files Browse the repository at this point in the history
#599
Signed-off-by: Nick Santos <[email protected]>
  • Loading branch information
nicks committed Dec 13, 2024
1 parent 41dae53 commit 14036e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions helm_resource/test/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ python_test_wrap = "\'\\'{}\\'\'"
helloworld_check_kubectl = " ".join(('kubectl get',
'configmap/configmap-namespace-data',
'--namespace app',
'--context', k8s_context(),
"-o jsonpath=\\'{.data.properties}\\'"))
helloworld_test = python_test_wrap.format('namespace:')

Expand All @@ -51,6 +52,7 @@ local_resource(
check_multi_namespace_kubectl = " ".join(('kubectl get',
'configmap/helloworld-systemconfig',
'--namespace kube-public',
'--context', k8s_context(),
"-o jsonpath=\\'{.data.hello}\\'"))
multi_namespace_test = python_test_wrap.format('world')

Expand Down
8 changes: 6 additions & 2 deletions helm_resource/test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ set -ex

cd "$(dirname "$0")"

tilt ci
tilt down
kubectl config set-cluster dummy --server=http://localhost:1234
kubectl config set-context dummy --cluster=dummy
kubectl config use-context dummy

tilt ci --context=kind-kind
tilt down --context=kind-kind

0 comments on commit 14036e7

Please sign in to comment.