diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-03-31 15:02:16 +0200 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-08-11 12:56:12 -0700 |
commit | bff5c6f23954a05eb51b5c3722798048317fbb69 (patch) | |
tree | 08b7820b5f40aec2436f0474fe966ad0b1042174 /xci/config/env-vars | |
parent | 20fa3cfff6668c58cf136a0a901633dd0532629c (diff) |
xci: Create playbook to destroy, create and provision VM nodes
This change moves preparation (cloning repos, combining opnfv/bifrost
with openstack/bifrost), destroying and creating VM nodes from the
script into a separate playbook.
This requires the host to have ansible installed. The version of ansible
to install using pip currently matches to what bifrost uses but it is
hardcoded and needs to be fixed properly.
The reason for having this as a playbook to simplify the script and
increase the reuse. This playbook will be used for
- developer sandbox
- periodic bifrost jobs to run against latest on given branch and
promoting bifrost sha1 to pin later on
- daily jobs to run using pinned versions of bifrost
Change-Id: I033f12290dfea19d4c74be80eea7203211c0369e
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'xci/config/env-vars')
-rwxr-xr-x | xci/config/env-vars | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xci/config/env-vars b/xci/config/env-vars index 1bb553b6..e2976a0a 100755 --- a/xci/config/env-vars +++ b/xci/config/env-vars @@ -10,6 +10,9 @@ export CLEAN_DIB_IMAGES=false export OPNFV_HOST_IP=192.168.122.2 export XCI_FLAVOR_ANSIBLE_FILE_PATH=$OPNFV_RELENG_PATH/prototypes/xci/file/$XCI_FLAVOR export JOB_NAME=${JOB_NAME:-false} +# TODO: this currently matches to bifrost ansible version +# there is perhaps better way to do this +export XCI_ANSIBLE_PIP_VERSION=2.1.5.0 export ANSIBLE_HOST_KEY_CHECKING=False export DISTRO=${DISTRO:-ubuntu} export DIB_OS_RELEASE=${DIB_OS_RELEASE:-xenial} |