cc-docker/data/init.sh

17 lines
536 B
Bash
Raw Normal View History

2021-06-09 09:53:35 +02:00
#!/usr/bin/env bash
mkdir symfony
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/job-archive.tar.bz2
tar xjf job-archive.tar.bz2
rm ./job-archive.tar.bz2
if [ $# -gt 0 ]; then
if [ $1 == "dev" ]; then
mkdir -p influxdb/data
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/influxdbv2-data.tar.xz
cd influxdb/data
tar xJf ../../influxdbv2-data.tar.xz
rm ../../influxdbv2-data.tar.xz
fi
fi