[WIFI-9786] Dbg: tests on one example (#643)

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
Dmitry Dunaev
2022-06-24 18:40:31 +03:00
committed by anil-tegala
parent b4f4222297
commit ebfcfa98b1
2 changed files with 3 additions and 6 deletions

View File

@@ -149,9 +149,3 @@ runs:
with:
name: ${{ inputs.allure_results_artifact_name }}
path: allure-results
- name: cleanup
if: always()
shell: bash
run: |
kubectl delete ns "${{ inputs.namespace }}" --wait=true

View File

@@ -180,7 +180,10 @@ jobs:
if: always()
continue-on-error: true
run: |
kubectl get pods -n ${{ steps.namespace.outputs.name }}
kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///"
podname=$(kubectl get pods -n ${{ steps.namespace.outputs.name }} --no-headers -o custom-columns=":metadata.name" -l job-name=testing | sed "s/pod\///")
echo $podname
kubectl logs --timestamps -n ${{ steps.namespace.outputs.name }} $podname || true
- name: delete namespace