Schedule related checks Package

Rules that verify the current date conform to a given schedule.

Package Name

  • schedule

Rules Included

Date Restriction

Check if the current date is not allowed based on the rule data value from the key disallowed_dates. By default, the list is empty in which case any day is allowed. This check is enforced only for a "release" or "production" pipeline, as determined by the value of the pipeline_intention rule data.

Solution: Try again on a different day.

  • Rule type: FAILURE

  • FAILURE message: %s is a disallowed date: %s

  • Code: schedule.date_restriction

  • Source

Rule data provided

Confirm the expected rule data keys have been provided in the expected format. The keys are disallowed_weekdays and disallowed_dates.

Solution: If provided, ensure the rule data is in the expected format.

  • Rule type: FAILURE

  • FAILURE message: %s

  • Code: schedule.rule_data_provided

  • Source

Weekday Restriction

Check if the current weekday is allowed based on the rule data value from the key disallowed_weekdays. By default, the list is empty in which case any weekday is allowed. This check is enforced only for a "release" or "production" pipeline, as determined by the value of the pipeline_intention rule data.

Solution: Try again on a different weekday.

  • Rule type: FAILURE

  • FAILURE message: %s is a disallowed weekday: %s

  • Code: schedule.weekday_restriction

  • Source