summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
blob: 0ba0c74bc7d55e94d6e3625c46686e800605425b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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 $@