Skip to content

Revert .yamllint to match lineage; fix issues flagged by yamllint. #71

Revert .yamllint to match lineage; fix issues flagged by yamllint.

Revert .yamllint to match lineage; fix issues flagged by yamllint. #71

Triggered via push March 8, 2024 14:48
Status Failure
Total duration 1m 55s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
schema[tasks]: backend/src/tasks/functions.yml#L1
$ {'cloudwatchToS3': {'handler': 'src/tasks/cloudwatchToS3.handler', 'timeout': 900, 'events': [{'schedule': 'rate(4 hours)'}], 'reservedConcurrency': 1, 'memorySize': 4096}, 'scheduler': {'handler': 'src/tasks/scheduler.handler', 'timeout': 900, 'events': [{'schedule': 'rate(5 minutes)'}], 'reservedConcurrency': 1, 'memorySize': 4096}, 'syncdb': {'timeout': 900, 'handler': 'src/tasks/syncdb.handler'}, 'pesyncdb': {'timeout': 900, 'handler': 'src/tasks/pesyncdb.handler'}, 'bastion': {'timeout': 900, 'handler': 'src/tasks/bastion.handler'}, 'makeGlobalAdmin': {'handler': 'src/tasks/makeGlobalAdmin.handler'}, 'checkUserExpiration': {'timeout': 300, 'handler': 'src/tasks/checkUserExpiration.handler', 'events': [{'schedule': 'cron(0 0 * * ? *)'}]}, 'scanExecution': {'handler': 'src/tasks/scanExecution.handler', 'timeout': 300, 'environment': {'SQS_QUEUE_NAME': '${self:provider.stage}-worker-control-queue'}, 'events': [{'sqs': {'arn': {'Fn::GetAtt': ['WorkerControlQueue', 'Arn']}}}], 'memorySize': 4096}, 'updateScanTaskStatus': {'handler': 'src/tasks/updateScanTaskStatus.handler', 'events': [{'eventBridge': {'name': '${self:provider.stage}-updateScanTaskStatus', 'pattern': {'source': ['aws.ecs'], 'detail-type': ['ECS Task State Change'], 'detail': {'clusterArn': ["${file(env.yml):${self:provider.stage}-ecs-cluster, ''}"]}}}}]}} is not of type 'array', 'null'
lint
Process completed with exit code 1.
Run diagnostics
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: crazy-max/ghaction-github-status@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/setup-go@v4, actions/cache@v3, hashicorp/setup-terraform@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.