feat: 更新CI报告发送时间为每周五早上10点
All checks were successful
CI Monitor CI/CD / build-image (push) Successful in 30s
CI Monitor CI/CD / deploy (push) Successful in 30s

This commit is contained in:
zhaoyingbo 2024-06-29 03:44:31 +00:00
parent 4c109a006f
commit ba71a09887
4 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ci_monitor",
"image": "micr.cloud.mioffice.cn/zhaoyingbo/dev:bun",
"image": "git.yingbo.im:333/zhaoyingbo/dev:bun",
"remoteUser": "bun",
"containerUser": "bun",
"customizations": {

BIN
bun.lockb

Binary file not shown.

2
bunfig.toml Normal file
View File

@ -0,0 +1,2 @@
[install]
registry = "https://registry.npmjs.org"

View File

@ -3,8 +3,8 @@ import manageRobot from "../controllers/manageRobot";
import syncPipLine from "./syncPipLine";
const initSchedule = async () => {
// 每天十点钟发送CI报告
scheduleJob("0 10 * * *", manageRobot.sendCIReportByCron);
// 每周五早上10点发送CI报告
scheduleJob("0 10 * * 5", manageRobot.sendCIReportByCron);
// 每15分钟同步一次CI数据
scheduleJob("*/15 * * * *", syncPipLine);
// 立即同步一次