study-docker-repro-longevity/run.sh

16 lines
315 B
Bash
Executable File

#!/bin/bash
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 -v -p $OUTPUT_PATH/pkglist.csv -b $OUTPUT_PATH/build_status.csv -a $OUTPUT_PATH/artifact_hash.csv -c $CACHE_DIR --docker-cache