Add a worker for backfilling labels on manifests that have already been backfilled
This commit is contained in:
parent
01ee1e693c
commit
aeceea0f97
5 changed files with 148 additions and 2 deletions
4
conf/init/service/batch/labelbackfillworker/log/run
Executable file
4
conf/init/service/batch/labelbackfillworker/log/run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Start the logger
|
||||
exec logger -i -t labelbackfillworker
|
9
conf/init/service/batch/labelbackfillworker/run
Executable file
9
conf/init/service/batch/labelbackfillworker/run
Executable 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'
|
Reference in a new issue