Skip to content

Commit 93b45b6

Browse files
author
Stephen Gutekanst
committed
scheduler: disable automatic updates for now
Signed-off-by: Stephen Gutekanst <[email protected]>
1 parent 45428d5 commit 93b45b6

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

internal/wrench/scheduler.go

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -78,58 +78,58 @@ func (b *Bot) schedulerStart() error {
7878
// },
7979
// },
8080
// },
81-
{
82-
Every: 7 * 24 * time.Hour,
83-
Job: api.Job{
84-
ID: "update-zig-version",
85-
Title: "update to latest Zig version",
86-
TargetRunnerID: "linux-amd64",
87-
Payload: api.JobPayload{
88-
Cmd: []string{"script", "mach-push-rewrite-zig-version"},
89-
GitPushBranchName: "wrench/update-zig",
90-
Background: true, // lightweight enough
91-
PRTemplate: api.PRTemplate{
92-
Title: "all: update to latest Zig version",
93-
Head: "wrench/update-zig",
94-
Base: "main",
95-
Body: `This change updates us to the latest Zig version.
81+
// {
82+
// Every: 7 * 24 * time.Hour,
83+
// Job: api.Job{
84+
// ID: "update-zig-version",
85+
// Title: "update to latest Zig version",
86+
// TargetRunnerID: "linux-amd64",
87+
// Payload: api.JobPayload{
88+
// Cmd: []string{"script", "mach-push-rewrite-zig-version"},
89+
// GitPushBranchName: "wrench/update-zig",
90+
// Background: true, // lightweight enough
91+
// PRTemplate: api.PRTemplate{
92+
// Title: "all: update to latest Zig version",
93+
// Head: "wrench/update-zig",
94+
// Base: "main",
95+
// Body: `This change updates us to the latest Zig version.
9696

97-
I'll keep updating this PR so it remains up-to-date until you want to merge it.
97+
// I'll keep updating this PR so it remains up-to-date until you want to merge it.
9898

99-
Here's the work I did to produce this: ${JOB_LOGS_URL}
99+
// Here's the work I did to produce this: ${JOB_LOGS_URL}
100100

101-
\- _Wrench the Machanist_
102-
`,
103-
},
104-
},
105-
},
106-
},
107-
{
108-
Every: 24 * time.Hour,
109-
Job: api.Job{
110-
ID: "update-deps",
111-
Title: "update build.zig.zon dependencies",
112-
TargetRunnerID: "linux-amd64",
113-
Payload: api.JobPayload{
114-
Cmd: []string{"script", "push-update-deps"},
115-
GitPushBranchName: "wrench/update-deps",
116-
Background: true, // lightweight enough
117-
PRTemplate: api.PRTemplate{
118-
Title: "all: update build.zig.zon dependencies",
119-
Head: "wrench/update-deps",
120-
Base: "main",
121-
Body: `This change updates build.zig.zon to the latest version of dependencies.
101+
// \- _Wrench the Machanist_
102+
// `,
103+
// },
104+
// },
105+
// },
106+
// },
107+
// {
108+
// Every: 24 * time.Hour,
109+
// Job: api.Job{
110+
// ID: "update-deps",
111+
// Title: "update build.zig.zon dependencies",
112+
// TargetRunnerID: "linux-amd64",
113+
// Payload: api.JobPayload{
114+
// Cmd: []string{"script", "push-update-deps"},
115+
// GitPushBranchName: "wrench/update-deps",
116+
// Background: true, // lightweight enough
117+
// PRTemplate: api.PRTemplate{
118+
// Title: "all: update build.zig.zon dependencies",
119+
// Head: "wrench/update-deps",
120+
// Base: "main",
121+
// Body: `This change updates build.zig.zon to the latest version of dependencies.
122122

123-
I'll keep updating this PR so it remains up-to-date until you want to merge it.
123+
// I'll keep updating this PR so it remains up-to-date until you want to merge it.
124124

125-
Here's the work I did to produce this: ${JOB_LOGS_URL}
125+
// Here's the work I did to produce this: ${JOB_LOGS_URL}
126126

127-
\- _Wrench the Machanist_
128-
`,
129-
},
130-
},
131-
},
132-
},
127+
// \- _Wrench the Machanist_
128+
// `,
129+
// },
130+
// },
131+
// },
132+
// },
133133
{
134134
Every: 7 * 24 * time.Hour,
135135
Job: api.Job{

0 commit comments

Comments
 (0)