Skip to content

Commit

Permalink
Merge pull request #24 from simonbaird/restore-schedule-restrictions
Browse files Browse the repository at this point in the history
Bring back weekend & shutdown release restrictions
  • Loading branch information
rhartman93 authored May 22, 2024
2 parents 2b7eb0b + 92596d0 commit fed2874
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions data/rule_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,34 @@ rule_data:
format: semverv
# https://github.com/hashicorp/vault-secrets-operator/blob/d462e563feeefbf10dc0637834f08e82e1d3f0c1/LICENSE#L7
min: v0.2.0

# No releases on Fridays and weekends
# https://enterprisecontract.dev/docs/ec-policies/release_policy.html#schedule__weekday_restriction
disallowed_weekdays:
- friday
- saturday
- sunday

# No releases during year-end shutdown
# https://enterprisecontract.dev/docs/ec-policies/release_policy.html#schedule__date_restriction
disallowed_dates:
# EOY 2024
- 2024-12-24
- 2024-12-25
- 2024-12-26
- 2024-12-27
- 2024-12-28
- 2024-12-29
- 2024-12-30
- 2024-12-31
- 2025-01-01
# EOY 2025
- 2025-12-24
- 2025-12-25
- 2025-12-26
- 2025-12-27
- 2025-12-28
- 2025-12-29
- 2025-12-30
- 2025-12-31
- 2026-01-01

0 comments on commit fed2874

Please sign in to comment.