summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-09-14 20:07:44 -0400
committerTim Rozet <trozet@redhat.com>2017-09-14 20:07:44 -0400
commitc61e0f2ad6a1b290bb667e3bfd021ebaf12d8054 (patch)
treef445de788b415f1155d1493cef3fef69f64408ad
parent2e6b2fa375c2356f8af894c88f23d9738d8cf9c0 (diff)
Removes clean.sh
CI has been migrated to use opnfv-clean for verify jobs, which is now installed as python. There is no reason to keep ci/clean.sh anymore. Change-Id: I2edf23901c5debaba0674e3506fd0392d317dc6f Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xci/clean.sh20
-rwxr-xr-xcontrib/simple_deploy.sh2
2 files changed, 1 insertions, 21 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
deleted file mode 100755
index c2b987c0..00000000
--- a/ci/clean.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/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
-##############################################################################
-
-#Clean script to uninstall provisioning server for 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 ~/tmp
-mv -f .build ~/tmp/
-sudo pip3 install --upgrade --force-reinstall .
-mv -f ~/tmp/.build .
-opnfv-clean $@
diff --git a/contrib/simple_deploy.sh b/contrib/simple_deploy.sh
index d6d07f38..8da92727 100755
--- a/contrib/simple_deploy.sh
+++ b/contrib/simple_deploy.sh
@@ -3,9 +3,9 @@ set -e
apex_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../
export PYTHONPATH=$apex_home/apex:$PYTHONPATH
$apex_home/ci/dev_dep_check.sh || true
-$apex_home/ci/clean.sh
pip3 install -r $apex_home/requirements.txt
pushd $apex_home/apex
+python3 clean.py
echo "All further output will be piped to $PWD/nohup.out"
(nohup python3 deploy.py -v -n ../config/network/network_settings.yaml -d ../config/deploy/os-nosdn-nofeature-noha.yaml --deploy-dir ../build --lib-dir ../lib --image-dir ../.build &)
[ -f nohup.out ] || sleep 3