Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2b6b08a1
Commit
2b6b08a1
authored
Oct 10, 2019
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display all pods for the release in `display_deployment_debug`
parent
cc602cfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/review_apps/review-apps.sh
scripts/review_apps/review-apps.sh
+3
-3
No files found.
scripts/review_apps/review-apps.sh
View file @
2b6b08a1
...
@@ -255,9 +255,9 @@ EOF
...
@@ -255,9 +255,9 @@ EOF
}
}
function
display_deployment_debug
()
{
function
display_deployment_debug
()
{
# Get all pods
that are not ready (this will return completed pods for minio and migrations jobs)
# Get all pods
for this release
echoinfo
"
Unready
Pods for release
${
CI_ENVIRONMENT_SLUG
}
"
echoinfo
"Pods for release
${
CI_ENVIRONMENT_SLUG
}
"
kubectl get pods
-n
"
$KUBE_NAMESPACE
"
-lrelease
=
${
CI_ENVIRONMENT_SLUG
}
--field-selector
=
status.phase!
=
Running
kubectl get pods
-n
"
$KUBE_NAMESPACE
"
-lrelease
=
${
CI_ENVIRONMENT_SLUG
}
# Get all non-completed jobs
# Get all non-completed jobs
echoinfo
"Unsuccessful Jobs for release
${
CI_ENVIRONMENT_SLUG
}
"
echoinfo
"Unsuccessful Jobs for release
${
CI_ENVIRONMENT_SLUG
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment