summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2019-12-12 00:26:09 +1300
committerLingxian Kong <anlin.kong@gmail.com>2019-12-14 12:55:56 +1300
commita0a10f0b947c63ac06787b490afd0ebecef1477e (patch)
treea75d6ebdfb2e31d984c4b458a3b1624f4d42444c /playbooks
parentf16020392d9eb81727a97608f8e9be432f97c388 (diff)
downloadtrove-a0a10f0b947c63ac06787b490afd0ebecef1477e.tar.gz
Support HEALTHY status for db instance
- 'HEALTHY' means the db service is responsive, 'ACTIVE' means the db service is alive. - Remove the CI job fakemodetests, but will add similar testing task in the future. - Fix the periodic CI job - Remove MongoDB and related jobs Change-Id: I5abe9091ba203297dc87db5fba139179166321f7
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/image-build/run.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/playbooks/image-build/run.yaml b/playbooks/image-build/run.yaml
index d300978e..6c9c357f 100644
--- a/playbooks/image-build/run.yaml
+++ b/playbooks/image-build/run.yaml
@@ -4,6 +4,9 @@
file:
path: '{{ ansible_user_dir }}/images'
state: directory
+ - name: Get output image name
+ shell: kubeadm token create --print-join-command
+ register: join_command_raw
- name: Build Trove guest image
shell: >-
./trovestack build-image \
@@ -12,7 +15,7 @@
{{ guest_os_release }} \
{{ dev_mode }} \
{{ guest_username }} \
- {{ ansible_user_dir }}/images/trove-{{ branch }}-{{ datastore_type }}-{{ guest_os }}-{{ guest_os_release }}
+ {{ ansible_user_dir }}/images/trove-{{ branch }}-{{ datastore_type }}-{{ guest_os }}-{{ guest_os_release }}{{ image_suffix }}
args:
chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/integration/scripts"
tags: