Add CloudWatch Events rule to build R-devel every day

Build at 4 AM UTC. R-devel sources are uploaded at around 12 AM UTC daily.
This commit is contained in:
Greg Lin 2020-07-20 17:49:18 -05:00
commit acf40429a8

View file

@ -309,3 +309,17 @@ rBuildsEventRule:
Fn::GetAtt: [ rBuildsEventRuleIamRole, Arn ]
Arn:
Ref: RBuildsStepFunction
rBuildsDevelEventRule:
Type: AWS::Events::Rule
Properties:
Description: Build R-devel
ScheduleExpression: cron(0 4 * * ? *)
State: ${self:custom.${self:provider.stage}.eventRuleState}
Targets:
- Id: rbuilds
Input: '{"force": true, "versions": ["devel"]}'
RoleArn:
Fn::GetAtt: [ rBuildsEventRuleIamRole, Arn ]
Arn:
Ref: RBuildsStepFunction