Removes clean.sh 15/42015/1
authorTim Rozet <trozet@redhat.com>
Fri, 15 Sep 2017 00:07:44 +0000 (20:07 -0400)
committerTim Rozet <trozet@redhat.com>
Fri, 15 Sep 2017 00:07:44 +0000 (20:07 -0400)
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>
ci/clean.sh [deleted file]
contrib/simple_deploy.sh

diff --git a/ci/clean.sh b/ci/clean.sh
deleted file mode 100755 (executable)
index c2b987c..0000000
+++ /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 $@
index d6d07f3..8da9272 100755 (executable)
@@ -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