system-config-roles: only match jobs on roles tested
It seems we have some debugging to do on the openafs roles. The other roles here, particularly the bazelisk one, aren't tested here, so reduce the file matcher. We can overhaul this more, but it seems like a post-puppet/xenial thing to do. Change-Id: I0a41ef48eab0560a23a4e29463435dfe0758d01e
This commit is contained in:
parent
b711714762
commit
57e29c3680
14
roles-test/post.yaml
Normal file
14
roles-test/post.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
- hosts: localhost
|
||||
tasks:
|
||||
- name: Make log directories for testing hosts
|
||||
file:
|
||||
path: "{{ zuul.executor.log_root }}/{{ item }}/logs"
|
||||
state: directory
|
||||
recurse: true
|
||||
loop: "{{ query('inventory_hostnames', 'all') }}"
|
||||
|
||||
- hosts: all
|
||||
tasks:
|
||||
- include_role:
|
||||
name: stage-output
|
||||
|
@ -10,8 +10,18 @@
|
||||
abstract: true
|
||||
parent: base
|
||||
run: roles-test/base.yaml
|
||||
post-run: roles-test/post.yaml
|
||||
files:
|
||||
- roles/
|
||||
- roles/puppet-install
|
||||
- roles/openafs-client
|
||||
- roles/kerberos-client
|
||||
vars:
|
||||
zuul_copy_output: "{{ copy_output | combine(host_copy_output | default({})) }}"
|
||||
stage_dir: "{{ ansible_user_dir }}/zuul-output"
|
||||
copy_output:
|
||||
'/var/log/syslog': logs_txt
|
||||
'/var/log/messages': logs_txt
|
||||
'/var/log/openafs': logs
|
||||
|
||||
- job:
|
||||
name: system-config-zuul-role-integration-xenial
|
||||
|
Loading…
x
Reference in New Issue
Block a user