Skip to content

Commit 3ddcf45

Browse files
authored
Merge pull request #27 from topcoder-platform/master
sync master-dev
2 parents c844634 + d0caeef commit 3ddcf45

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#Build Script
1+
#Build Script - TC

master_deploy.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -307,17 +307,6 @@ ECS_template_create_register() {
307307
template=$(echo $template | jq --arg image $AWS_ACCOUNT_ID.dkr.ecr.$AWS_REGION.amazonaws.com/$AWS_REPOSITORY:$ECS_TAG '.containerDefinitions[0].image=$image')
308308
log "ECR Image name updated"
309309

310-
#Container readonlyRootFilesystem
311-
if [ -z $AWS_ECS_READONLY_ROOTFILESYSTEM ];
312-
then
313-
log "No ECS readonlyRootFilesystem defined. Going with default value as true"
314-
AWS_ECS_READONLY_ROOTFILESYSTEM=true
315-
template=$(echo $template | jq --argjson readonlyRootFilesystem $AWS_ECS_READONLY_ROOTFILESYSTEM '.containerDefinitions[0].readonlyRootFilesystem=$readonlyRootFilesystem')
316-
else
317-
template=$(echo $template | jq --argjson readonlyRootFilesystem $AWS_ECS_READONLY_ROOTFILESYSTEM '.containerDefinitions[0].readonlyRootFilesystem=$readonlyRootFilesystem')
318-
fi
319-
log "ECS readonlyRootFilesystem updated."
320-
321310
#Container Memory reservation
322311
if [ -z $AWS_ECS_CONTAINER_MEMORY_RESERVATION ];
323312
then

0 commit comments

Comments
 (0)