Skip to content

Instantly share code, notes, and snippets.

@andreybleme
Created November 28, 2020 20:12
Show Gist options
  • Save andreybleme/85d16965af89a6d3cc45776f9d170e2e to your computer and use it in GitHub Desktop.
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
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