rally-openstack/tests/ci/playbooks/rally-install/run.yaml

35 lines
1.1 KiB
YAML

- hosts: all
name: a run script for rally-install-ubuntu-xenial and rally-install-centos-7 jobs
tasks:
- shell:
cmd: |
sudo yum remove -y python-crypto || true
# NOTE(pabelanger): We run apt-get update to ensure we dont have a stale
# package cache in the gate.
sudo apt-get update || true
sudo ./install_rally.sh --system --yes
rally deployment list
[ -d /etc/bash_completion.d ] && cat /etc/bash_completion.d/rally.bash_completion || true
sudo ./install_rally.sh --system --yes
rally deployment list
sudo ./install_rally.sh --yes -d /tmp/rallytest_root/
/tmp/rallytest_root/bin/rally deployment list
cat /tmp/rallytest_root/etc/bash_completion.d/rally.bash_completion
sudo rm -fr ~/.rally
./install_rally.sh --yes -d /tmp/rallytest_user
/tmp/rallytest_user/bin/rally deployment list
./install_rally.sh --overwrite --dbtype sqlite
executable: /bin/sh
chdir: '{{ zuul.project.src_dir }}'