From 52bfbd641dfa0c0f946ff06b7ba9ea700cb0fc51 Mon Sep 17 00:00:00 2001 From: Lingxian Kong Date: Thu, 5 Dec 2019 00:04:45 +1300 Subject: [PATCH] Add CI job to build Ubuntu Xenial based Trove guest image for dev Change-Id: I7beb6849abbfc889bae29668deb4ba7ae93df91d --- .zuul.yaml | 20 +++++++++++++++++++- playbooks/image-build/run.yaml | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 276fb82171..bd1562491f 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -59,6 +59,9 @@ - publish-trove-guest-image-mysql-ubuntu-xenial: branches: - master + - publish-trove-guest-image-mysql-ubuntu-xenial-dev: + branches: + - master - job: name: trove-legacy-dsvm-base @@ -364,4 +367,19 @@ guest_os: ubuntu guest_os_release: xenial guest_username: ubuntu - branch: master \ No newline at end of file + branch: master + dev_node: false + +- job: + name: publish-trove-guest-image-mysql-ubuntu-xenial-dev + parent: publish-trove-guest-image + description: | + Build and publish Ubuntu Xenial based Trove guest image to + tarballs.openstack.org. + vars: + datastore_type: mysql + guest_os: ubuntu + guest_os_release: xenial + guest_username: ubuntu + branch: master + dev_mode: true \ No newline at end of file diff --git a/playbooks/image-build/run.yaml b/playbooks/image-build/run.yaml index 2037eddef6..d300978ee7 100644 --- a/playbooks/image-build/run.yaml +++ b/playbooks/image-build/run.yaml @@ -10,7 +10,7 @@ {{ datastore_type }} \ {{ guest_os }} \ {{ guest_os_release }} \ - false \ + {{ dev_mode }} \ {{ guest_username }} \ {{ ansible_user_dir }}/images/trove-{{ branch }}-{{ datastore_type }}-{{ guest_os }}-{{ guest_os_release }} args: