Fix Trove periodic job

Change-Id: Iaa6b7e04ab3882d426b8943591fc9189243d69c0
This commit is contained in:
Lingxian Kong 2019-09-23 22:23:13 +12:00
parent 59be66ceaa
commit 86f0ace357
3 changed files with 3 additions and 5 deletions

View File

@ -54,7 +54,7 @@ The trove guest agent image could be created by running the following command:
guest_os_release=xenial guest_os_release=xenial
dev_mode=true dev_mode=true
guest_username=ubuntu guest_username=ubuntu
imagepath=$HOME/images/trove-${guest_os}-${guest_os_release}-${datastore_type}.qcow2 imagepath=$HOME/images/trove-${guest_os}-${guest_os_release}-${datastore_type}
* ``dev_mode=true`` is mainly for testing purpose for trove developers and it's * ``dev_mode=true`` is mainly for testing purpose for trove developers and it's
necessary to build the image on the trove controller host, because the host necessary to build the image on the trove controller host, because the host

View File

@ -7,6 +7,4 @@
mode: pull mode: pull
verify_host: true verify_host: true
rsync_opts: rsync_opts:
- --include="trove-*.qcow2" - "--exclude=/*/*/"
- --exclude=*
- --prune-empty-dirs

View File

@ -12,7 +12,7 @@
{{ guest_os_release }} \ {{ guest_os_release }} \
false \ false \
{{ guest_username }} \ {{ guest_username }} \
{{ ansible_user_dir }}/images/trove-{{ zuul.branch }}-{{ datastore_type }}-{{ guest_os }}-{{ guest_os_release }}.qcow2 {{ ansible_user_dir }}/images/trove-{{ zuul.branch }}-{{ datastore_type }}-{{ guest_os }}-{{ guest_os_release }}
args: args:
chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/integration/scripts" chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/integration/scripts"
tags: tags: