#!/usr/bin/env bash ############################################################################## # Copyright (c) 2015 Tim Rozet (Red Hat), Dan Radez (Red Hat) and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## # Deploy script to install provisioning server for OPNFV Apex # author: Dan Radez (dradez@redhat.com) # author: Tim Rozet (trozet@redhat.com) # set -e yum -y install python34 python34-devel libvirt-devel python34-pip python-tox ansible mkdir -p /home/jenkins-ci/tmp mv -f .build /home/jenkins-ci/tmp/ pip3 install --upgrade --force-reinstall . mv -f /home/jenkins-ci/tmp/.build . opnfv-deploy $@