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:
parent
8755140017
commit
acf40429a8
1 changed files with 14 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue