Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-deploy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
geosphere
geosphere-deploy
Commits
41664c65
Verified
Commit
41664c65
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
More debugging
parent
906d939d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci_gcp/gitlab-ci.yaml
+3
-1
3 additions, 1 deletion
ci_gcp/gitlab-ci.yaml
helpers/shell_aliases.sh
+7
-1
7 additions, 1 deletion
helpers/shell_aliases.sh
with
10 additions
and
2 deletions
ci_gcp/gitlab-ci.yaml
+
3
−
1
View file @
41664c65
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
helpers/shell_aliases.sh
+
7
−
1
View file @
41664c65
...
...
@@ -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
-
i
t
--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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment