Browse Source

Merge "Test idempotence of deploy and teardown in CI"

master
Zuul 3 months ago
committed by Gerrit Code Review
parent
commit
274668c541
  1. 18
      playbooks/tenks-deploy-teardown/run.yml

18
playbooks/tenks-deploy-teardown/run.yml

@ -27,6 +27,15 @@
ansible/deploy.yml > {{ logs_dir }}/ansible/tenks-deploy
chdir: "{{ tenks_src_dir }}"
- name: Test idempotence of deploy
shell:
cmd: >-
{{ ansible_playbook_bin }} -vvv
--inventory ansible/inventory
--extra-vars=@{{ tenks_overrides_path }}
ansible/deploy.yml > {{ logs_dir }}/ansible/tenks-deploy-idempotence
chdir: "{{ tenks_src_dir }}"
- name: Get some diagnostic info for the tenks cluster
include_role:
name: tenks-diagnostics
@ -42,3 +51,12 @@
--extra-vars=@{{ tenks_overrides_path }}
ansible/teardown.yml > {{ logs_dir }}/ansible/tenks-teardown
chdir: "{{ tenks_src_dir }}"
- name: Test idempotence of teardown
shell:
cmd: >-
{{ ansible_playbook_bin }} -vvv
--inventory ansible/inventory
--extra-vars=@{{ tenks_overrides_path }}
ansible/teardown.yml > {{ logs_dir }}/ansible/tenks-teardown-idempotence
chdir: "{{ tenks_src_dir }}"
Loading…
Cancel
Save