Jets CI Schedule
You can configure a schedule for to CI to run on a scheduled basis. It’s useful to deploy daily as a sanity check to ensure that everything works and continues to work.
Example:
config/jets/deploy.rb
Jets.deploy.configure do
config.ci.schedule.enable = true
config.ci.schedule.rate = "1d"
end
Underneath the hood, the rate format gets translated with fugit to the AWS CloudWatch Scheduled Event Rule format: rate.
You can also use the cron syntax. Note, the AWS Cron syntax is slightly different from the Linux cron syntax.
Cheatsheet
Here’s a reference cheatsheet of examples:
config.ci.schedule.rate = "1d"
config.ci.schedule.cron = "0 */12 * * ? *"
config.ci.schedule.expression = "rate(1 hour)"