c88534e169
The developer documentation to run an AIO build includes a curl one-liner to run the scripts/run-aio-build.sh script. However, due to the way it sources other scripts it will fail to execute. This change sources those scripts in a way to allow them to be run from curl piped to bash and also from a local git checkout. * In run-aio-build.sh it has cd to a fresh checkout so the path can be assumed and hard-coded. * In bootstrap-aio.sh and bootstrap-ansible.sh we now test the existing behaviour first (which will work if you executed these scripts directly from a git checkout) or from a scripts subdirectory of the currrent path (which will work if you ran the curl one-liner). Example of documentation which includes the curl one-liner: http://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html#running-an-aio-build-in-one-step The curl one-liner: curl https://raw.githubusercontent.com/openstack/openstack-ansible/master/scripts/run-aio-build.sh | sudo bash Closes-Bug: #1504198 Change-Id: I2f8629f7cc4a1b650e8b5f6c6881168c0c5abde0 |
||
---|---|---|
.. | ||
bootstrap-aio.sh | ||
bootstrap-ansible.sh | ||
federated-login.sh | ||
gate-check-commit.sh | ||
gate-check-docs.sh | ||
gate-check-lint.sh | ||
inventory-manage.py | ||
openstack-ansible-role-requirements.py | ||
osa-aio-heat-template.yml | ||
pw-token-gen.py | ||
run-aio-build.sh | ||
run-playbooks.sh | ||
run-tempest.sh | ||
run-upgrade.sh | ||
scripts-library.sh | ||
sources-branch-updater.sh | ||
teardown.sh | ||
update-revision.sh |