Enhance log collection zuul jobs
* Change name for gate script runner job * Make log collection job parameterize Change-Id: I9f7c711556996af2da350d0160e572e1a26efd0f Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
This commit is contained in:
parent
3401586acc
commit
a6528dc564
@ -15,16 +15,22 @@
|
|||||||
- hosts: primary
|
- hosts: primary
|
||||||
vars:
|
vars:
|
||||||
logs_dir: "/tmp/logs"
|
logs_dir: "/tmp/logs"
|
||||||
roles:
|
|
||||||
- gather-system-logs
|
|
||||||
- airship-gather-apache-logs
|
|
||||||
- airship-gather-libvirt-logs
|
|
||||||
- airship-gather-runtime-logs
|
|
||||||
- airship-airshipctl-gather-configs
|
|
||||||
environment:
|
environment:
|
||||||
LIBVIRT_DEFAULT_URI: qemu:///system
|
LIBVIRT_DEFAULT_URI: qemu:///system
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: save logs for ephemeral cluster
|
- name: set default roles
|
||||||
|
set_fact:
|
||||||
|
default_log_roles:
|
||||||
|
- gather-system-logs
|
||||||
|
- airship-gather-apache-logs
|
||||||
|
- airship-gather-libvirt-logs
|
||||||
|
- airship-gather-runtime-logs
|
||||||
|
- airship-airshipctl-gather-configs
|
||||||
|
- airship-gather-pod-logs
|
||||||
|
- name: run roles
|
||||||
include_role:
|
include_role:
|
||||||
name: airship-gather-pod-logs
|
name: "{{ role_name }}"
|
||||||
|
with_items: "{{ log_roles | default(default_log_roles) }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: role_name
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
pass-to-parent: true
|
pass-to-parent: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: airship-airshipctl-gate-script-runner-test
|
name: airship-airshipctl-gate-script-runner
|
||||||
attempts: 1
|
attempts: 1
|
||||||
timeout: 5400
|
timeout: 5400
|
||||||
pre-run:
|
pre-run:
|
||||||
@ -101,6 +101,13 @@
|
|||||||
- ./tools/deployment/34_deploy_worker_node.sh
|
- ./tools/deployment/34_deploy_worker_node.sh
|
||||||
serve_dir: /srv/iso
|
serve_dir: /srv/iso
|
||||||
serve_port: 8099
|
serve_port: 8099
|
||||||
|
log_roles:
|
||||||
|
- gather-system-logs
|
||||||
|
- airship-gather-apache-logs
|
||||||
|
- airship-gather-libvirt-logs
|
||||||
|
- airship-gather-runtime-logs
|
||||||
|
- airship-airshipctl-gather-configs
|
||||||
|
- airship-gather-pod-logs
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
- airship-airshipctl-build-image
|
- airship-airshipctl-build-image
|
||||||
- airship-airshipctl-validate-site-docs
|
- airship-airshipctl-validate-site-docs
|
||||||
# - airship-airshipctl-functional-existing-k8s TODO: Enable this when functional tests exist, and a cluster is up
|
# - airship-airshipctl-functional-existing-k8s TODO: Enable this when functional tests exist, and a cluster is up
|
||||||
- airship-airshipctl-gate-script-runner-test
|
- airship-airshipctl-gate-script-runner
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-docs
|
- openstack-tox-docs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user