Add a worker for backfilling labels on manifests that have already been backfilled

This commit is contained in:
Joseph Schorr 2018-08-13 16:18:49 -04:00
parent 01ee1e693c
commit aeceea0f97
5 changed files with 148 additions and 2 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
# Start the logger
exec logger -i -t labelbackfillworker

View file

@ -0,0 +1,9 @@
#! /bin/bash
echo 'Starting label backfill worker'
QUAYPATH=${QUAYPATH:-"."}
cd ${QUAYDIR:-"/"}
PYTHONPATH=$QUAYPATH venv/bin/python -m workers.labelbackfillworker 2>&1
echo 'Repository label backfill exited'