add a config for building images

ATM build images is using the default configuration of
config/general_config/minimal.yml which is not appropriate
at all for building images.  Build images is not deploying
an undercloud or overcloud w/ options, it's building an image.

Most of the image build config is default, however some additional
logging is required.

Change-Id: Ibaa1f01942719d12cec1fa9b9c78980c879e80cd
This commit is contained in:
Wes Hayutin 2017-04-12 15:49:45 -04:00
parent 18566f5dfd
commit 3bdfeac6b2
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# this is required for image builds
# Reference: https://github.com/openstack/tripleo-quickstart-extras/blob/master/roles/build-images/defaults/main.yml#L15
# use an overcloud image as the undercloud after removing a few key rpms
overcloud_as_undercloud: true
# options below direct automatic doc generation by tripleo-collect-logs
artcl_gen_docs: false
artcl_collect: true
artcl_collect_list:
- /var/lib/oooq-images/*.log
- /var/lib/oooq-images/*.sh
- /var/log/
- /var/tmp/sosreport*
- /etc/
- /home/*/*.log
- /home/*/*.json
- /home/*/*.conf
- /home/*/*.yml
- /home/*/*.yaml
- /home/*/*.sh
- /home/*/*.rst
- /home/*/*.pem
- /home/*/gating_repo.tar.gz
artcl_exclude_list:
- /etc/udev/hwdb.bin
- /etc/puppet/modules
- /etc/project-config
- /etc/services
- /etc/selinux/targeted
- /etc/pki/ca-trust/extracted
- /etc/alternatives
- /var/log/journal
artcl_collect_dir: "{{ local_working_dir }}/collected_files"
artcl_gzip_only: true
artcl_tar_gz: false