feat: log joj3 command ends
This commit is contained in:
parent
31374ce816
commit
adf4fe11a3
|
@ -658,6 +658,7 @@ def joj3_all(
|
||||||
logger.error(f"git push failed too many times")
|
logger.error(f"git push failed too many times")
|
||||||
raise Exit(code=1)
|
raise Exit(code=1)
|
||||||
sleep(retry_interval)
|
sleep(retry_interval)
|
||||||
|
logger.info("joj3-all done")
|
||||||
|
|
||||||
|
|
||||||
@app.command(
|
@app.command(
|
||||||
|
@ -862,6 +863,7 @@ def joj3_all_env(
|
||||||
logger.error(f"git push failed too many times")
|
logger.error(f"git push failed too many times")
|
||||||
raise Exit(code=1)
|
raise Exit(code=1)
|
||||||
sleep(retry_interval)
|
sleep(retry_interval)
|
||||||
|
logger.info("joj3-all-env done")
|
||||||
|
|
||||||
|
|
||||||
@app.command(
|
@app.command(
|
||||||
|
@ -954,6 +956,7 @@ def joj3_check(
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
print(json.dumps(res)) # print result to stdout for joj3
|
print(json.dumps(res)) # print result to stdout for joj3
|
||||||
|
logger.info("joj3-check done")
|
||||||
|
|
||||||
|
|
||||||
@app.command(
|
@app.command(
|
||||||
|
@ -1061,6 +1064,7 @@ def joj3_check_env(
|
||||||
title = "### Submission Count Check Result:"
|
title = "### Submission Count Check Result:"
|
||||||
msg = f"{title}\n{comment}\n"
|
msg = f"{title}\n{comment}\n"
|
||||||
print(json.dumps({"msg": msg, "failed": failed})) # print result to stdout for joj3
|
print(json.dumps({"msg": msg, "failed": failed})) # print result to stdout for joj3
|
||||||
|
logger.info("joj3-check-env done")
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user