EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit c3f797e6 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

get correct pod name instead of pod/podname

parent 0e00aa2b
No related branches found
No related tags found
1 merge request!149Bump renderer/registrar to 3.2.5-alpha.17/3.2.5-alpha.17
Pipeline #31062 failed
......@@ -45,7 +45,7 @@ integration-test:
- mkdir "${CI_PROJECT_DIR}/logs"
- kubectl get po -o name | while read POD ; do kubectl logs "$POD" >> "${CI_PROJECT_DIR}/logs/$(echo $POD | cut -d'/' -f2).txt" ; done || true
# fetch all pod events - to troubleshoot not-starting pods
- kubectl get po -o name | while read POD ; do kubectl get events --field-selector involvedObject.name="$POD" >> "${CI_PROJECT_DIR}/logs/$(echo $POD | cut -d'/' -f2).txt" ; done || true
- kubectl get po -o name | while read POD ; do kubectl get events --field-selector involvedObject.name=$(echo $POD | cut -d'/' -f2) >> "${CI_PROJECT_DIR}/logs/$(echo $POD | cut -d'/' -f2).txt" ; done || true
- k3d cluster delete testgitlabci-${CI_JOB_ID}
artifacts:
when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment