mirror of
https://github.com/samply/bridgehead.git
synced 2025-06-17 04:50:15 +02:00
Using standardized conditions for starting transfair
This commit is contained in:
@ -284,7 +284,7 @@ function build_transfair() {
|
||||
#
|
||||
# 1. There is no data lock file (which means that no ETL has yet been run) and
|
||||
# 2. There is data available.
|
||||
if [ ! -f "../ecdc/data/lock" ] && [ ! -z "$(ls -A ../ecdc/data)" ]; then
|
||||
if [ -f ../ecdc/data/*.[cC][sS][vV] ] && [ ! -f ../ecdc/data/lock ]; then
|
||||
cd $base_dir/transfair
|
||||
docker build --progress=plain -t samply/transfair --no-cache .
|
||||
cd -
|
||||
|
Reference in New Issue
Block a user