Save registry logs
In the buildset registry job, save the logs from the registry service to aid in debugging. Change-Id: I227a0eb0cfc3cfc7621f5c06da9cb552c0a82750
This commit is contained in:
parent
4521eee742
commit
f49bf96c32
|
@ -1,3 +1,16 @@
|
|||
- hosts: localhost
|
||||
roles:
|
||||
- push-to-intermediate-registry
|
||||
tasks:
|
||||
- name: Create container log dir
|
||||
file:
|
||||
path: "{{ ansible_user_dir }}/zuul-output/logs/docker"
|
||||
state: directory
|
||||
|
||||
- name: Save registry container logs
|
||||
loop:
|
||||
- buildset_proxy
|
||||
- buildset_registry
|
||||
shell: "docker logs {{ item }} &> {{ ansible_user_dir }}/zuul-output/logs/docker/{{item}}.txt"
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
|
Loading…
Reference in New Issue