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

More attempts at getting helm and gcp to play nice

parent a779106c
No related branches found
No related tags found
No related merge requests found
......@@ -56,9 +56,9 @@ gstest deploy client:
- echo $HOME
- ls ~/.kube || echo "Nope"
- ls ~/.config || echo "Nope"
- helm list
- helm list --kubeconfig /root/.kube/config
# namespace names are the same as domain names
- helm_for_gcp upgrade -v 2 --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 values-client.yaml geosphere-client geosphere-client/
dependencies:
- get_chart_client_test
rules:
......
......@@ -8,7 +8,7 @@ helm() {
export -f helm
helm_for_gcp() {
docker run -t --rm -e HELM_EXPERIMENTAL_OCI="$HELM_EXPERIMENTAL_OCI" -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 -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 "$@"
}
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