Revert "Revert "Save registry logs""
This reverts commit edfdedbcec03b781176e001fcec858d51b25fc65. Change-Id: I5b1adcd7d8887fb6eb7d30319bd62cac47a5faf5
This commit is contained in:
parent
b97b47dcd8
commit
33865f54df
@ -1,3 +1,18 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- push-to-intermediate-registry
|
||||
|
||||
- hosts: all
|
||||
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…
x
Reference in New Issue
Block a user