Merge "Update cleanups for base and base-minimal"
This commit is contained in:
commit
039b660304
@ -1,16 +1,6 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
# NOTE(pabelanger): We ignore_errors for the following tasks as not to fail
|
||||||
- name: Gather debug info on job fail
|
# successful jobs.
|
||||||
when: not (zuul_success | bool)
|
ignore_errors: yes
|
||||||
block:
|
roles:
|
||||||
- name: get df disk usage
|
- remove-build-sshkey
|
||||||
raw: timeout -k 5 90 df
|
|
||||||
|
|
||||||
- name: get df inode usage
|
|
||||||
raw: timeout -k 5 90 df -i
|
|
||||||
|
|
||||||
- name: get l2 networking
|
|
||||||
raw: timeout -k 5 90 ip link
|
|
||||||
|
|
||||||
- name: get l3 networking
|
|
||||||
raw: timeout -k 5 90 ip addr
|
|
||||||
|
@ -2,10 +2,22 @@
|
|||||||
roles:
|
roles:
|
||||||
- fetch-output
|
- fetch-output
|
||||||
- merge-output-to-logs
|
- merge-output-to-logs
|
||||||
|
tasks:
|
||||||
|
- name: Gather debug info on job fail
|
||||||
|
when: not (zuul_success | bool)
|
||||||
|
block:
|
||||||
|
- name: get df disk usage
|
||||||
|
raw: timeout -k 5 90 df
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
- hosts: all
|
- name: get df inode usage
|
||||||
# NOTE(pabelanger): We ignore_errors for the following tasks as not to fail
|
raw: timeout -k 5 90 df -i
|
||||||
# successful jobs.
|
failed_when: false
|
||||||
ignore_errors: yes
|
|
||||||
roles:
|
- name: get l2 networking
|
||||||
- remove-build-sshkey
|
raw: timeout -k 5 90 ip link
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
|
- name: get l3 networking
|
||||||
|
raw: timeout -k 5 90 ip addr
|
||||||
|
failed_when: false
|
||||||
|
@ -1,16 +1,6 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
# NOTE(pabelanger): We ignore_errors for the following tasks as not to fail
|
||||||
- name: Gather debug info on job fail
|
# successful jobs.
|
||||||
when: not (zuul_success | bool)
|
ignore_errors: yes
|
||||||
block:
|
roles:
|
||||||
- name: get df disk usage
|
- remove-build-sshkey
|
||||||
raw: timeout -k 5 90 df
|
|
||||||
|
|
||||||
- name: get df inode usage
|
|
||||||
raw: timeout -k 5 90 df -i
|
|
||||||
|
|
||||||
- name: get l2 networking
|
|
||||||
raw: timeout -k 5 90 ip link
|
|
||||||
|
|
||||||
- name: get l3 networking
|
|
||||||
raw: timeout -k 5 90 ip addr
|
|
||||||
|
@ -2,10 +2,22 @@
|
|||||||
roles:
|
roles:
|
||||||
- fetch-output
|
- fetch-output
|
||||||
- merge-output-to-logs
|
- merge-output-to-logs
|
||||||
|
tasks:
|
||||||
|
- name: Gather debug info on job fail
|
||||||
|
when: not (zuul_success | bool)
|
||||||
|
block:
|
||||||
|
- name: get df disk usage
|
||||||
|
raw: timeout -k 5 90 df
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
- hosts: all
|
- name: get df inode usage
|
||||||
# NOTE(pabelanger): We ignore_errors for the following tasks as not to fail
|
raw: timeout -k 5 90 df -i
|
||||||
# successful jobs.
|
failed_when: false
|
||||||
ignore_errors: yes
|
|
||||||
roles:
|
- name: get l2 networking
|
||||||
- remove-build-sshkey
|
raw: timeout -k 5 90 ip link
|
||||||
|
failed_when: false
|
||||||
|
|
||||||
|
- name: get l3 networking
|
||||||
|
raw: timeout -k 5 90 ip addr
|
||||||
|
failed_when: false
|
||||||
|
@ -52,8 +52,9 @@
|
|||||||
pre-run: playbooks/base/pre.yaml
|
pre-run: playbooks/base/pre.yaml
|
||||||
post-run:
|
post-run:
|
||||||
- playbooks/base/post.yaml
|
- playbooks/base/post.yaml
|
||||||
|
- name: playbooks/base/cleanup.yaml
|
||||||
|
cleanup: true
|
||||||
- playbooks/base/post-logs.yaml
|
- playbooks/base/post-logs.yaml
|
||||||
cleanup-run: playbooks/base/cleanup.yaml
|
|
||||||
roles:
|
roles:
|
||||||
- zuul: zuul/zuul-jobs
|
- zuul: zuul/zuul-jobs
|
||||||
timeout: 1800
|
timeout: 1800
|
||||||
@ -106,8 +107,9 @@
|
|||||||
pre-run: playbooks/base-minimal/pre.yaml
|
pre-run: playbooks/base-minimal/pre.yaml
|
||||||
post-run:
|
post-run:
|
||||||
- playbooks/base-minimal/post.yaml
|
- playbooks/base-minimal/post.yaml
|
||||||
|
- name: playbooks/base-minimal/cleanup.yaml
|
||||||
|
cleanup: true
|
||||||
- playbooks/base-minimal/post-logs.yaml
|
- playbooks/base-minimal/post-logs.yaml
|
||||||
cleanup-run: playbooks/base-minimal/cleanup.yaml
|
|
||||||
roles:
|
roles:
|
||||||
- zuul: zuul/zuul-jobs
|
- zuul: zuul/zuul-jobs
|
||||||
timeout: 1800
|
timeout: 1800
|
||||||
|
Loading…
x
Reference in New Issue
Block a user