CI: Update ironic devstack variables
* Bring VM RAM to the recommended minimum of CentOS * Publish bare metal machine logs Change-Id: Ic5b368875196e15d6215e82dfdcf5a0b02da925b
This commit is contained in:
parent
ee6269e610
commit
71320f7a08
@ -4,6 +4,7 @@
|
||||
Base job for devstack-based metalsmith jobs.
|
||||
parent: devstack-minimal
|
||||
pre-run: playbooks/integration/pre.yaml
|
||||
post-run: playbooks/integration/post.yaml
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
@ -21,6 +22,7 @@
|
||||
- openstack/ironic
|
||||
- openstack/metalsmith
|
||||
vars:
|
||||
ironic_bm_logs: /opt/stack/logs/ironic-bm-logs
|
||||
devstack_services:
|
||||
dstat: true
|
||||
etcd3: true
|
||||
@ -86,8 +88,9 @@
|
||||
IRONIC_DEPLOY_DRIVER: ipmi
|
||||
IRONIC_RAMDISK_TYPE: tinyipa
|
||||
IRONIC_VM_COUNT: 1
|
||||
IRONIC_VM_LOG_DIR: /opt/stack/logs/ironic-bm-logs
|
||||
IRONIC_VM_SPECS_DISK: 10
|
||||
IRONIC_VM_SPECS_RAM: 384
|
||||
IRONIC_VM_SPECS_RAM: 512
|
||||
|
||||
- job:
|
||||
name: metalsmith-integration-glance
|
||||
|
14
playbooks/integration/post.yaml
Normal file
14
playbooks/integration/post.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Check that VM logs exist
|
||||
stat:
|
||||
path: '{{ ironic_bm_logs }}'
|
||||
register: bm_logs_result
|
||||
|
||||
- name: Copy VM logs
|
||||
synchronize:
|
||||
src: '{{ ironic_bm_logs }}'
|
||||
dest: '{{ zuul.executor.log_root }}/{{ inventory_hostname }}'
|
||||
mode: pull
|
||||
become: true
|
||||
when: bm_logs_result.stat.exists
|
Loading…
x
Reference in New Issue
Block a user