-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HC-556: Update retry and purge jobs to delete all possible instances …
…of a job across multiple indices (#35) * HC-556: Update delete_by_id function to delete by job_status-current * delete the jobs in a different way * wait for job-revoked state to be logged before continuing * use ensure_job_indexed * update how the container is being built * add user ops * revert back to print statements * revert back to print statements * query by correct thing * typo * make wait shorter * add logging * add logging format * should be retry.log * update query * update query * add comment * Revert "add comment" This reverts commit 0babf15. * update purge to remove all instances of a job * add timestamps to logging; surround with try/except * remove waiting for a revoked status --------- Co-authored-by: Mike Cayanan <[email protected]>
- Loading branch information
Showing
3 changed files
with
56 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,16 @@ MAINTAINER malarout "[email protected]" | |
LABEL description="Lightweight System Jobs" | ||
|
||
# provision lightweight-jobs PGE | ||
|
||
# create ops user and group | ||
RUN useradd -M -u 10005 ops | ||
|
||
# softlink /home/ops | ||
RUN ln -s /root /home/ops | ||
|
||
# Make sure $HOME is set when we run this container | ||
ENV HOME=/home/ops | ||
|
||
USER ops | ||
COPY . /home/ops/lightweight-jobs | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters