ca3b5a7701
Adds a new abstract parent job for the following kayobe deploy jobs: kayobe-overcloud-centos kayobe-overcloud-upgrade-centos kayobe-seed-centos kayobe-seed-upgrade-centos This parent includes commonly used variables, and pre-run and post-run playbooks for preparing and executing diagnostics, plus other initialisation. Change-Id: I9ab89fbc49bb32d86af56d50ec3914740e65d0f8
28 lines
1.0 KiB
YAML
28 lines
1.0 KiB
YAML
---
|
|
- hosts: primary
|
|
environment:
|
|
KAYOBE_CONFIG_SOURCE_PATH: "{{ kayobe_config_src_dir }}"
|
|
tasks:
|
|
- name: Ensure overcloud is deployed
|
|
shell:
|
|
cmd: "{{ kayobe_src_dir }}/dev/overcloud-deploy.sh > {{ logs_dir }}/ansible/overcloud-deploy"
|
|
|
|
- name: Ensure test Tenks cluster is deployed
|
|
shell:
|
|
# Pass absolute source directory, since otherwise the `chdir` will
|
|
# cause this to fail.
|
|
cmd: dev/tenks-deploy.sh '{{ tenks_src_dir }}' > {{ logs_dir }}/ansible/tenks-deploy
|
|
chdir: "{{ kayobe_src_dir }}"
|
|
|
|
- name: Perform testing of the virtualized machines
|
|
# We must do this before tenks-deploy as that will stop the nova_libvirt
|
|
# container
|
|
shell:
|
|
cmd: dev/overcloud-test-vm.sh > {{ logs_dir }}/ansible/overcloud-test-vm
|
|
chdir: "{{ kayobe_src_dir }}"
|
|
|
|
- name: Perform testing of the baremetal machines
|
|
shell:
|
|
cmd: dev/overcloud-test-baremetal.sh > {{ logs_dir }}/ansible/overcloud-test-baremetal
|
|
chdir: "{{ kayobe_src_dir }}"
|