Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/deploy-next-net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Deploy Next Net

on:
schedule:
# Run every morning at 6:00 AM UTC, after the nightly tag has been created
# Run every morning at 6:00 AM UTC, after the nightly tag has been created.
# If you change this time, also update the Grafana nightly_deployment mute
# window in spartan/metrics/grafana/alerts/mutetimes.yaml so alerts stay muted.
- cron: "0 6 * * *"
workflow_dispatch:
inputs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-staging-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Deploy to staging internal

on:
schedule:
# Runs every morning at 6:00 AM UTC. If you change this time, also update the
# Grafana nightly_deployment mute window in
# spartan/metrics/grafana/alerts/mutetimes.yaml so alerts stay muted.
- cron: "0 6 * * *"
workflow_dispatch:
inputs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-staging-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Deploy to staging public

on:
schedule:
# Runs every morning at 6:00 AM UTC. If you change this time, also update the
# Grafana nightly_deployment mute window in
# spartan/metrics/grafana/alerts/mutetimes.yaml so alerts stay muted.
- cron: "0 6 * * *"
workflow_dispatch:
inputs:
Expand Down
9 changes: 7 additions & 2 deletions spartan/metrics/grafana/alerts/mutetimes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ muteTimes:
- orgId: 1
name: nightly_deployment
time_intervals:
# Covers the nightly deploy workflows, which run at 06:00 UTC
# (deploy-next-net / deploy-staging-* crons in .github/workflows).
# 2.5h window accounts for imprecise GitHub cron scheduling, the deploy
# itself, and the network taking ~3 epochs (~38 min each) to form a
# committee. If those deploy times change, update this window to match.
- times:
- start_time: "04:00"
end_time: "05:00"
- start_time: "06:00"
end_time: "08:30"
weekdays: [monday, tuesday, wednesday, thursday, friday, saturday, sunday]
Loading