mirror of
https://github.com/simon987/task_tracker_drone.git
synced 2025-04-20 10:46:45 +00:00
hmac auth changes
This commit is contained in:
parent
0154c8dfaf
commit
b39b3b4195
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
virtualenv env --download --always-copy --clear -p python3.7
|
virtualenv env --download --clear -p python3.7
|
||||||
source env/bin/activate
|
source env/bin/activate
|
||||||
python --version
|
python --version
|
||||||
|
|
||||||
|
@ -58,7 +58,9 @@ class WorkerContext:
|
|||||||
self._do_post_task_hooks(json_result)
|
self._do_post_task_hooks(json_result)
|
||||||
print(self._worker.release_task(task.id,
|
print(self._worker.release_task(task.id,
|
||||||
json_result["result"],
|
json_result["result"],
|
||||||
json_result["verification"] if "verification" in json_result else 0).text)
|
json_result[
|
||||||
|
"verification"] if "verification" in json_result else 0).text
|
||||||
|
+ "for result" + result)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user