Commit 463dfd7e authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

ci: always collect logs

parent 685bd17c
Pipeline #29056 passed with stages
in 6 minutes and 12 seconds
...@@ -107,9 +107,12 @@ collect_logs: ...@@ -107,9 +107,12 @@ collect_logs:
image: fjuette/docker-rancher-cli image: fjuette/docker-rancher-cli
tags: tags:
- kubernetes - kubernetes
when: always
allow_failure: true
script: script:
- kubectl config set-context --current --namespace=$NS - kubectl config set-context --current --namespace=$NS
- kubectl logs -l app=dcache --all-containers --tail=-1 > dcache.log - kubectl logs -l app=dcache-door --all-containers --tail=-1 > dcache-door.log
- kubectl logs -l app=dcache-pool --all-containers --tail=-1 > dcache-pool.log
- kubectl logs -l app=postgresql --all-containers --tail=-1 > postgres.log - kubectl logs -l app=postgresql --all-containers --tail=-1 > postgres.log
- kubectl logs -l app=zk --all-containers --tail=-1 > zk.log - kubectl logs -l app=zk --all-containers --tail=-1 > zk.log
environment: environment:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment