提交 8865cfb8 authored 作者: 陈泽健's avatar 陈泽健

feat(预定系统): 添加全栈更新脚本并集成定时任务- 新增 pull_remote_devlop.py 脚本实现全栈更新功能

- 在定时执行功能测试文件中添加每日 9:05 执行更新任务
- 更新后执行兰州中石化项目测试任务
上级 6b8ca05f
此差异已折叠。
此差异已折叠。
......@@ -3,6 +3,7 @@ import queue
from Base.base import *
import time
import logging
import pull_remote_devlop
"""
调试主机-执行指令:
......@@ -70,8 +71,13 @@ start_workers(3)
# 定时执行预定系统测试任务
# schedule.every().day.at("10:00").do(run_task, run_automation_test, report_title="预定系统测试报告", report_url_prefix="http://nat.ubainsyun.com:31133", test_case="JSON测试", ding_type="标准版巡检")
# 定时执行兰州中石化项目测试任务
schedule.every().day.at("06:00").do(run_task, run_automation_test, report_title="兰州中石化项目测试报告", report_url_prefix="http://nat.ubainsyun.com:31135", test_case="兰州中石化项目", ding_type="标准版巡检")
# 更新兰州项目环境,并定时执行兰州中石化项目测试任务
# 添加定时任务
schedule.every().day.at("09:05").do(
run_task,
pull_remote_devlop.Deployer().deploy
)
schedule.every().day.at("09:10").do(run_task, run_automation_test, report_title="兰州中石化项目测试报告", report_url_prefix="http://nat.ubainsyun.com:31135", test_case="兰州中石化项目", ding_type="标准版巡检")
# 定时执行展厅巡检任务
# schedule.every().day.at("07:45").do(run_task, run_automation_test, report_title="展厅巡检测试报告", report_url_prefix="http://nat.ubainsyun.com:31136", test_case="展厅巡检", ding_type="展厅巡检")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论