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

Try using a less specific helm docker mount

parent e672a83a
No related branches found
No related tags found
No related merge requests found
......@@ -53,11 +53,12 @@ gstest deploy client:
- cp ../../ci_gcp/values-client.yaml .
- echo $(pwd)
- echo ~
- echo $HOME
- ls ~/.kube || echo "Nope"
- ls ~/.config || echo "Nope"
- helm list
# namespace names are the same as domain names
- helm upgrade -v 2 --install --namespace $ns -f values-client.yaml geosphere-client geosphere-client/
- helm_for_gcp upgrade -v 2 --install --namespace $ns -f values-client.yaml geosphere-client geosphere-client/
dependencies:
- get_chart_client_test
rules:
......
......@@ -7,6 +7,11 @@ 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 "$@"
}
export -f helm_for_gcp
kubectl() {
docker run -a stdout --rm -v $(pwd):/apps -w /apps alpine/k8s:1.18.2 kubectl "$@"
}
......
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