study-docker-repro-longevity/test_scripts/run.sh

18 lines
319 B
Bash
Raw Normal View History

#!/bin/bash
cd ..
OUTPUT_PATH=output
CACHE_DIR=cache
TESTFILE=$1
if [ ! -d $OUTPUT_PATH ]
then
mkdir $OUTPUT_PATH
fi
if [ ! -d $CACHE_DIR ]
then
mkdir $CACHE_DIR
fi
./ecg.py $TESTFILE -p $OUTPUT_PATH/pkglist.csv -b $OUTPUT_PATH/build_status.csv -a $OUTPUT_PATH/artifact_hash.csv -c $CACHE_DIR --docker-cache