From 9d41bcc9593114040557754ebe72294b78de1f97 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 14 Feb 2018 12:09:44 -0500 Subject: [PATCH] Update layout for zuulv3 syntax Add an example tenant to layout.yaml to allow zuul-scheduler to start properly. Collect additional logs to add in debugging gate failures. Change-Id: Ic8db52d90716fe8a73afba231ac3a063db2710db Signed-off-by: Paul Belanger --- files/etc/zuul/config/layout.yaml | 7 ++----- tests/collect-logs.yaml | 5 ++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/files/etc/zuul/config/layout.yaml b/files/etc/zuul/config/layout.yaml index bce06e4..a45f792 100644 --- a/files/etc/zuul/config/layout.yaml +++ b/files/etc/zuul/config/layout.yaml @@ -1,8 +1,5 @@ # This file is generated by Ansible # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # -pipelines: [] - -jobs: [] - -projects: [] +- tenant: + name: example diff --git a/tests/collect-logs.yaml b/tests/collect-logs.yaml index f4da827..dd0381d 100644 --- a/tests/collect-logs.yaml +++ b/tests/collect-logs.yaml @@ -12,5 +12,8 @@ mode: pull rsync_opts: - "--relative" - src: /var/log/zuul + src: "{{ item }}" verify_host: true + with_items: + - /etc/zuul + - /var/log/zuul