Skip to content

Commit 6230a49

Browse files
authored
Add some logging to set-ci-toolchain + temporarily run cronjob CI every ten minutes (#5050)
Nightly cronjob isn't running. Need to figure out what it's doing
1 parent 8f9bda4 commit 6230a49

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ on:
2727
- nightly
2828
schedule:
2929
# Run nightly cronjob CI every day at 14 UTC / 6AM PST / 3PM CET
30-
- cron: '0 14 * * *'
30+
- cron: '0 * * * *'
3131
# Run beta slightly later
32-
- cron: '1 14 * * *'
32+
- cron: '1 * * * *'
3333

3434
concurrency:
3535
# Allow one run at a time for PRs, but multiple for other invocations

Makefile.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,22 +291,27 @@ end
291291
292292
ci_toolchain = set "pinned-stable"
293293
294+
echo "set-ci-toolchain: GITHUB_EVENT_NAME is ${event_name}"
295+
294296
# We need to parse the channel information for dispatch/schedule events
295297
if eq "${event_name}" "workflow_dispatch" or eq "${event_name}" "schedule"
296298
event_path = get_env GITHUB_EVENT_PATH
297299
event_file = readfile ${event_path}
298300
event_json = json_parse ${event_file}
299301
# For dispatch events
300302
if eq "${event_name}" "workflow_dispatch"
303+
echo "set-ci-toolchain: manually selected channel is ${event_json.inputs.channel}"
301304
if not eq "${event_json.inputs.channel}" "pinned-stable"
302305
needs_override = set true
303306
ci_toolchain = set "${event_json.inputs.channel}"
304307
end
305308
else
309+
echo "set-ci-toolchain: cronjob is scheduled at ${event_json.schedule}"
310+
306311
# Schedule events always override
307312
needs_override = set true
308313
# For schedule events, the cronjob on minute 1 is the beta job
309-
if eq "${event_json.schedule}" "1 14 * * *"
314+
if eq "${event_json.schedule}" "1 * * * *"
310315
ci_toolchain = set "beta"
311316
else
312317
ci_toolchain = set "nightly"

0 commit comments

Comments
 (0)