Created
November 28, 2020 20:12
-
-
Save andreybleme/85d16965af89a6d3cc45776f9d170e2e to your computer and use it in GitHub Desktop.
andreybleme.com | Running Cypress tests in parallel at AWS Codepipeline CI, Cloudwatch event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EndToEndTestCronJob: | |
DependsOn: CodePipelineEndToEndTestingRoot | |
Type: 'AWS::Events::Rule' | |
Properties: | |
ScheduleExpression: 'cron(0 22 * * ? *)' | |
State: ENABLED | |
Targets: | |
- Arn: !Sub arn:aws:codepipeline:${AWS::Region}:${AWS::AccountId}:${CodePipelineEndToEndTestingRoot} | |
RoleArn: | |
Fn::ImportValue: | |
!Sub ${EnvironmentName}-CodePipelineRoleARN | |
Id: E2EPipelineCronJob |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment