Skip to content

Commit

Permalink
Fixup run_task.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
trey-stafford committed Sep 30, 2021
1 parent e42f9f5 commit 038c75a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/run_task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ container_id="$($THIS_DIR/helpers/container_id.sh)"
# will not work. In other situations, we will want the ability to attach to a
# debugger prompt.
if [ -t 1 ]; then
tty_arg=""
tty_arg="-t"
else
tty_arg="-T"
tty_arg=""
fi

# docker-compose up/down commands are useful for dev, but must be
# removed/commented for prod.
# docker-compose up -d
# NOTE: Workers must be set to 1 for python debug breakpoints to be usable
docker exec -it ${tty_arg} ${container_id} luigi --workers=1 \
docker exec -i ${tty_arg} ${container_id} luigi --workers=1 \
--module qgreenland.tasks.main ZipQGreenland

0 comments on commit 038c75a

Please sign in to comment.