Skip to content

Commit

Permalink
Merge branch 'dev' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
zaro0508 committed Jun 21, 2023
2 parents aa6ce73 + 4a32ca1 commit 2c63998
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/nextflow-ecs-task-definition.j2
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,19 @@ Resources:
# https://sagebionetworks.jira.com/browse/WORKFLOWS-521
- Name: !Sub '${RedisContainerName}-CheckAOF'
Image: !Ref RedisContainerImage
Memory: 2000
Memory: 4000
Cpu: 0
Essential: false
EntryPoint:
- /bin/sh
# The `yes` command is needed because `redis-check-aof` has an
# interactive prompt and doesn't have an option to disable it
# Use parentheses around the piped commands to enforce order
# between `|` and `&&` operators, and wrap the entire string
# in double-quotes to prevent YAML parsing of the `|` operator.
Command:
- -c
- "yes | redis-check-aof --fix appendonly.aof"
- "echo 'start redis-check-aof' && (date) && ( yes | redis-check-aof --fix appendonly.aof ) && echo 'redis-check-aof complete' && (date)"
MountPoints:
- ContainerPath: /data
SourceVolume: !Ref EfsVolumeName
Expand Down

0 comments on commit 2c63998

Please sign in to comment.