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
dccf643c
Commit
dccf643c
authored
Jul 23, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Review App debugging
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
d892e80b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/review_apps/review-apps.sh
scripts/review_apps/review-apps.sh
+1
-1
No files found.
scripts/review_apps/review-apps.sh
View file @
dccf643c
...
@@ -52,7 +52,7 @@ function delete() {
...
@@ -52,7 +52,7 @@ function delete() {
function
get_pod
()
{
function
get_pod
()
{
local
app_name
=
"
${
1
}
"
local
app_name
=
"
${
1
}
"
local
status
=
"
${
2
-Running
}
"
local
status
=
"
${
2
-Running
}
"
get_pod_cmd
=
"kubectl get pods -n
${
KUBE_NAMESPACE
}
--field-selector=status.phase=
${
status
}
-lapp=
${
app_name
}
,release=
${
CI_ENVIRONMENT_SLUG
}
--no-headers -o=custom-columns=NAME:.metadata.name"
get_pod_cmd
=
"kubectl get pods -n
${
KUBE_NAMESPACE
}
--field-selector=status.phase=
${
status
}
-lapp=
${
app_name
}
,release=
${
CI_ENVIRONMENT_SLUG
}
--no-headers -o=custom-columns=NAME:.metadata.name
| tail -n 1
"
echoinfo
"Waiting till '
${
app_name
}
' pod is ready"
true
echoinfo
"Waiting till '
${
app_name
}
' pod is ready"
true
echoinfo
"Running '
${
get_pod_cmd
}
'"
echoinfo
"Running '
${
get_pod_cmd
}
'"
...
...
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