CI/CD Deployment of Limestone Networks nodepool cloud
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
598 B

  1. #!/usr/bin/env bash
  2. set -e
  3. export SCRIPT_PATH=$(dirname $(readlink -f "$0"))
  4. export PROJECT_PATH=$(dirname "$SCRIPT_PATH")
  5. export SETUP_ARA="${SETUP_ARA:-false}"
  6. cp -R ${PROJECT_PATH}/openstack_deploy /etc
  7. pushd ${PROJECT_PATH}/openstack-ansible
  8. source scripts/bootstrap-ansible.sh
  9. if [ "$SETUP_ARA" == true ]; then
  10. setup_ara
  11. fi
  12. popd
  13. pushd ${PROJECT_PATH}/openstack-ansible/playbooks
  14. openstack-ansible setup-hosts.yml
  15. openstack-ansible setup-infrastructure.yml
  16. openstack-ansible setup-openstack.yml
  17. popd
  18. pushd ${PROJECT_PATH}/network_bootstrap
  19. openstack-ansible bootstrap-neutron.yml
  20. popd