Skip to content
Snippets Groups Projects
Commit 219fabfb authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Add last step once receive confirm fron verify

parent 4d4c4340
No related branches found
No related tags found
8 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!51Fix acct create wait,!44WIP: Update Feat task manager to match new messaging structure,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!34WIP: Update task manager agent,!25Feature task manager
......@@ -21,6 +21,9 @@ record = {
'verify': {
'git_commit': None,
'dir_verify': None
},
'notify': {
'notify_user': None
}
}
......@@ -69,6 +72,11 @@ def task_manager(ch, method, properties, body):
if status is not True:
done = False
elif task_name in current['notify']:
current['verify'][task_name] = success
routing_key = 'complete.' + username
done = success
except:
e = sys.exc_info()[0]
print("[{}]: Error: {}".format(task, e))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment