Release Schedule

Automate deployments with Facets release scheduling, setting per-environment intervals from minutes to weeks, pausing schedules, or overriding manually.

Release Scheduling allows you to automate and control the deployment of releases across different environments. This feature helps maintain consistent deployment patterns and ensures regular updates to your applications.

Key features

  • Schedule releases at custom intervals (minutes, hours, days, or weeks)
  • Set different schedules for each environment
  • Pause scheduled releases without affecting manual deployments
  • Maintain separate release cycles for different environments
  • Override schedules when needed with manual releases

Common use cases

Development

Schedule frequent releases (every few hours) to ensure rapid integration of new features and bug fixes.

QA

Set up daily releases to provide testers with the latest stable code for thorough testing.

Staging

Configure weekly releases to match production deployment patterns and validate major changes.


Configure release scheduling

Using prompt

Release dev every weekday at 9am IST.

or

Using command

# What is scheduled today
raptor get release-schedule -p myproject -e dev

# Weekdays at 09:00 IST
raptor create release-schedule -p myproject -e dev --frequency WEEKLY \
    --by-day MON,TUE,WED,THU,FRI --by-time 09:00 --timezone Asia/Kolkata

# Change it. The new cadence replaces the old one entirely
raptor set release-schedule -p myproject -e dev --frequency DAILY \
    --interval 1 --by-time 22:00 --timezone Asia/Kolkata

raptor delete release-schedule -p myproject -e dev

--frequency takes PER_MINUTE, HOURLY, DAILY or WEEKLY. An environment has at most one release schedule, and setting a new cadence replaces the whole thing rather than merging into it. -o yaml round-trips into set release-schedule -f.

New to the CLI? Install it first.

Note: Your environment will now automatically deploy releases according to the configured schedule while still allowing manual releases when needed.