Skip to content
Snippets Groups Projects
Verified Commit 41664c65 authored by David Hoese's avatar David Hoese
Browse files

More debugging

parent 906d939d
No related branches found
No related tags found
No related merge requests found
......@@ -56,9 +56,11 @@ gstest deploy client:
- echo $HOME
- ls ~/.kube || echo "Nope"
- ls ~/.config || echo "Nope"
- helm_debug ls -a /root
- helm_debug ls -a /root/.kube
- helm_for_gcp list --kubeconfig /root/.kube/config
# namespace names are the same as domain names
- helm_for_gcp upgrade -v 2 --kubeconfig /root/.kube/config --install --namespace $ns -f values-client.yaml geosphere-client geosphere-client/
- helm_for_gcp upgrade -v 2 --kubeconfig /root/.kube/config --install --namespace $ns -f /apps/values-client.yaml geosphere-client /apps/geosphere-client/
dependencies:
- get_chart_client_test
rules:
......
......@@ -7,8 +7,14 @@ helm() {
}
export -f helm
helm_debug() {
docker run -it --rm -e HELM_EXPERIMENTAL_OCI="$HELM_EXPERIMENTAL_OCI" -e KUBECONFIG="/root/.kube/config" -v $(pwd):/apps -v ~/.kube:/root/.kube -v ~/.helm:/root/.helm -v ~/.config:/root/.config -v ~/.cache:/root/.cache --entrypoint="" alpine/helm:3.2.3 "$@"
}
export -f helm_debug
helm_for_gcp() {
docker run -t --rm -e HELM_EXPERIMENTAL_OCI="$HELM_EXPERIMENTAL_OCI" -e KUBECONFIG="/root/.kube/config" -v $(pwd):/apps -w /apps -v ~/.kube:/root/.kube -v ~/.helm:/root/.helm -v ~/.config:/root/.config -v ~/.cache:/root/.cache alpine/helm:3.2.3 "$@"
docker run -it --rm -e HELM_EXPERIMENTAL_OCI="$HELM_EXPERIMENTAL_OCI" -e KUBECONFIG="/root/.kube/config" -v $(pwd):/apps -v ~/.kube:/root/.kube -v ~/.helm:/root/.helm -v ~/.config:/root/.config -v ~/.cache:/root/.cache alpine/helm:3.2.3 "$@"
}
export -f helm_for_gcp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment