Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: repro steps #624

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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