Skip to content

Commit

Permalink
tests: add yes_i_know=true in tox-shrink_osd.ini
Browse files Browse the repository at this point in the history
main branch requires it. Otherwise the playbook won't run.

Signed-off-by: Guillaume Abrioux <[email protected]>
(cherry picked from commit e223630)
  • Loading branch information
guits committed Jul 5, 2022
1 parent 84260c2 commit a4f8567
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tox-shrink_osd.ini
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ commands=
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/setup.yml

ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --extra-vars "\
yes_i_know=true \
delegate_facts_host={env:DELEGATE_FACTS_HOST:True} \
ceph_docker_registry_auth=True \
ceph_docker_registry_username={env:DOCKER_HUB_USERNAME} \
Expand All @@ -97,13 +98,14 @@ commands=

# test cluster state using ceph-ansible tests
py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/{env:INVENTORY} --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests

shrink_osd_single: {[shrink-osd-single]commands}
shrink_osd_multiple: {[shrink-osd-multiple]commands}

# configure lvm
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/lvm_setup.yml
ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/{env:PLAYBOOK:site.yml.sample} --limit osds --extra-vars "\
yes_i_know=true \
delegate_facts_host={env:DELEGATE_FACTS_HOST:True} \
ceph_docker_registry_auth=True \
ceph_docker_registry_username={env:DOCKER_HUB_USERNAME} \
Expand Down

0 comments on commit a4f8567

Please sign in to comment.