diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-29 15:08:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-29 15:08:23 +0300 |
commit | d1d4dfb74a55a1b56b9451b2a844c57e05c9557f (patch) | |
tree | 4481753bb0311b55d1ff4193809a5bed847357d3 /scripts/review_apps | |
parent | 4011c903cf82eb37720b1b9526db595801cdff4f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/review_apps')
-rwxr-xr-x | scripts/review_apps/review-apps.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/review_apps/review-apps.sh b/scripts/review_apps/review-apps.sh index 34a2c99ac82..44dc2fdbc3d 100755 --- a/scripts/review_apps/review-apps.sh +++ b/scripts/review_apps/review-apps.sh @@ -372,12 +372,15 @@ function verify_deploy() { function display_deployment_debug() { local namespace="${CI_ENVIRONMENT_SLUG}" - echoinfo "Environment debugging data:" + echoinfo "[debugging data] k8s resources:" kubectl get svc,pods,jobs -o wide --namespace "${namespace}" - echoinfo "Webservice logs:" + echoinfo "[debugging data] k8s events in namespace:" + kubectl get events --sort-by='.metadata.creationTimestamp' --namespace "${namespace}" + + echoinfo "[debugging data] Webservice logs:" kubectl logs -l app=webservice --all-containers --namespace "${namespace}" - echoinfo "postgreSQL logs:" + echoinfo "[debugging data] PostgreSQL logs:" kubectl logs -l app=postgresql --all-containers --namespace "${namespace}" } |