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
458f93d2
Verified
Commit
458f93d2
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Add extra kubectl command that doesn't hide stdout
parent
5ab8b3f7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
helpers/deploy_rabbitmq.sh
+1
-1
1 addition, 1 deletion
helpers/deploy_rabbitmq.sh
helpers/shell_aliases.sh
+5
-0
5 additions, 0 deletions
helpers/shell_aliases.sh
with
9 additions
and
1 deletion
.gitlab-ci.yml
+
3
−
0
View file @
458f93d2
...
...
@@ -58,6 +58,9 @@ build sidecar rabbit init:
# no need to build if another project triggered us
-
if
:
$CI_PIPELINE_SOURCE == "pipeline"
when
:
never
# no need to build with tags or non-master...probably
-
if
:
'
$CI_COMMIT_BRANCH
!=
"master"'
when
:
never
-
changes
:
-
sidecars/cspp-geo-rabbit-init/Dockerfile
-
sidecars/cspp-geo-rabbit-init/declare_exchange.py
...
...
This diff is collapsed.
Click to expand it.
helpers/deploy_rabbitmq.sh
+
1
−
1
View file @
458f93d2
...
...
@@ -31,7 +31,7 @@ helm upgrade -v 2 --install --kubeconfig $kubeconfig -f ${values_base}/values-ge
# do a little waiting for the rabbitmq pod to be ready so future stages
# don't fail to communicate with it
echo
"Start waiting for rabbitmq:
$(
date
+%Y%m%dT%H%M%S
)
"
kubectl
wait
-n
$ns
pod/geosphere-rabbit-rabbitmq-0
--timeout
120s
--for
=
condition
=
Ready
kubectl
2
wait
-n
$ns
pod/geosphere-rabbit-rabbitmq-0
--timeout
120s
--for
=
condition
=
Ready
status
=
$?
echo
"Done waiting for rabbitmq:
$(
date
+%Y%m%dT%H%M%S
)
:
$status
"
exit
$status
This diff is collapsed.
Click to expand it.
helpers/shell_aliases.sh
+
5
−
0
View file @
458f93d2
...
...
@@ -11,3 +11,8 @@ kubectl() {
docker run
-a
stdout
--rm
-v
$(
pwd
)
:/apps
-w
/apps alpine/k8s:1.18.2 kubectl
"
$@
"
}
export
-f
kubectl
kubectl2
()
{
docker run
--rm
-v
$(
pwd
)
:/apps
-w
/apps alpine/k8s:1.18.2 kubectl
"
$@
"
}
export
-f
kubectl2
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