openstack-ansible/scripts
Toby Oxborrow c88534e169 Fix run-aio-build.sh for curl one-liner
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
2015-10-08 18:53:27 +00:00
..
bootstrap-aio.sh Fix run-aio-build.sh for curl one-liner 2015-10-08 18:53:27 +00:00
bootstrap-ansible.sh Fix run-aio-build.sh for curl one-liner 2015-10-08 18:53:27 +00:00
federated-login.sh Support base64 padding in federated tokens 2015-09-21 16:15:06 +00:00
gate-check-commit.sh Set affinity to 1 for OpenStack-CI gate checks 2015-10-07 08:59:13 +00:00
gate-check-docs.sh Add Sphinx machinery and initial docs. 2015-05-14 10:50:05 -04:00
gate-check-lint.sh Ensure that flake8 runs against all python files 2015-07-09 13:06:23 +01:00
inventory-manage.py Adds group support to inventory-manage.py 2015-09-21 08:10:57 -05:00
openstack-ansible-role-requirements.py Rename everything for the osad to osa name change 2015-09-12 02:31:21 +01:00
osa-aio-heat-template.yml Rename everything for the osad to osa name change 2015-09-12 02:31:21 +01:00
pw-token-gen.py Add Ceph/RBD support to playbooks 2015-08-01 19:49:00 +01:00
run-aio-build.sh Fix run-aio-build.sh for curl one-liner 2015-10-08 18:53:27 +00:00
run-playbooks.sh Remove upstream repo dependency 2015-08-24 08:32:07 +01:00
run-tempest.sh Create Junit XML Report from tempest run 2015-06-29 14:38:14 -05:00
run-upgrade.sh Remove Juno to Kilo logic in upgrade script 2015-09-12 04:28:57 +00:00
scripts-library.sh Merge "Implement a fall back URL for get-pip.py" 2015-10-08 16:04:04 +00:00
sources-branch-updater.sh Fixes loops for bashate 2015-08-21 15:44:05 +00:00
teardown.sh Merge "Removes /opt/*openstack*/ pattern from teardown." 2015-10-05 18:29:01 +00:00
update-revision.sh Fixes loops for bashate 2015-08-21 15:44:05 +00:00