aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/new/run_cpta.sh
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2018-06-20 12:56:41 +0200
committerVratko Polak <vrpolak@cisco.com>2018-06-20 12:56:41 +0200
commit2e63ef13b419da1198439617e66cb0f1cfe6be65 (patch)
tree634ba3c2134a3ed8c81f8ebdc1a9c4a2ef14712b /resources/tools/presentation/new/run_cpta.sh
parent39b4a07718ecab94ea331362edb62dfcf678bd09 (diff)
CSIT-1110: Replace old trending with the new one
+ Remove /new/ folders in presentation and docs. Change-Id: I870002ba8509189196e778aa1292b93e83a3ec17 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/tools/presentation/new/run_cpta.sh')
-rwxr-xr-xresources/tools/presentation/new/run_cpta.sh34
1 files changed, 0 insertions, 34 deletions
diff --git a/resources/tools/presentation/new/run_cpta.sh b/resources/tools/presentation/new/run_cpta.sh
deleted file mode 100755
index 6199703dbd..0000000000
--- a/resources/tools/presentation/new/run_cpta.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-set -x
-
-# set default values in config array
-typeset -A DIR
-
-DIR[WORKING]=_tmp
-
-# Install system dependencies
-sudo apt-get -y update
-sudo apt-get -y install libxml2 libxml2-dev libxslt-dev build-essential \
- zlib1g-dev unzip
-
-# Create working directories
-mkdir ${DIR[WORKING]}
-
-# Create virtual environment
-virtualenv ${DIR[WORKING]}/env
-. ${DIR[WORKING]}/env/bin/activate
-
-# Install python dependencies:
-pip install -r requirements.txt
-
-export PYTHONPATH=`pwd`:`pwd`/jumpavg
-
-STATUS=$(python pal.py \
- --specification specification_CPTA.yaml \
- --logging INFO \
- --force)
-RETURN_STATUS=$?
-
-echo ${STATUS}
-exit ${RETURN_STATUS}