From c61e0f2ad6a1b290bb667e3bfd021ebaf12d8054 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Thu, 14 Sep 2017 20:07:44 -0400 Subject: 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 --- ci/clean.sh | 20 -------------------- contrib/simple_deploy.sh | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100755 ci/clean.sh 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 -- cgit 1.2.3-korg