Skip to content

Commit 4f671aa

Browse files
committed
Reverting "--file-exists-behavior" until more thorough testing and
awscli/integration can be completed.
1 parent 30deb02 commit 4f671aa

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

README.md

-3
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,7 @@ Environment variables are used to control the deployment actions. A brief summar
133133
| `AWS_CODE_DEPLOY_S3_SSE` | No | If specified and `true` will ensure the CodeDeploy archive is stored in S3 with Server Side Encryption (SSE) |
134134
| `AWS_CODE_DEPLOY_REVISION_DESCRIPTION` | No | A description that is stored within AWS Code Deploy that stores information about the specific revision |
135135
| `AWS_CODE_DEPLOY_DEPLOYMENT_DESCRIPTION` | No | A description that is stored within AWS Code Deploy that stores information about the specific deployment |
136-
| `AWS_CODE_DEPLOY_DEPLOYMENT_FILE_EXISTS_BEHAVIOR` | No | String `DISALLOW\|OVERWRITE\|RETAIN` that defines how AWS CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment. Default = `DISALLOW`
137136
| `AWS_CODE_DEPLOY_OUTPUT_STATUS_LIVE` | No | Boolean `true\|false` that specifies whether the deployment status should use a single line showing live status. In CI environments where the `\r` is not supported, set this to `false` for better logging. Default = `true` |
138-
139-
140137
## Examples
141138

142139
### CircleCI

bin/aws-code-deploy.sh

-5
Original file line numberDiff line numberDiff line change
@@ -480,18 +480,13 @@ runCommand "${REGISTER_APP_CMD}" \
480480
# see documentation http://docs.aws.amazon.com/cli/latest/reference/deploy/create-deployment.html
481481
# ----------------------
482482
DEPLOYMENT_DESCRIPTION="$AWS_CODE_DEPLOY_DEPLOYMENT_DESCRIPTION"
483-
DEPLOYMENT_FILE_EXISTS_BEHAVIOR="$AWS_CODE_DEPLOY_DEPLOYMENT_FILE_EXISTS_BEHAVIOR"
484483
h1 "Step 10: Creating Deployment"
485484
DEPLOYMENT_CMD="aws deploy create-deployment --output json --application-name $APPLICATION_NAME --deployment-config-name $DEPLOYMENT_CONFIG_NAME --deployment-group-name $DEPLOYMENT_GROUP --s3-location $S3_LOCATION"
486485

487486
if [ -n "$DEPLOYMENT_DESCRIPTION" ]; then
488487
DEPLOYMENT_CMD="$DEPLOYMENT_CMD --description \"$DEPLOYMENT_DESCRIPTION\""
489488
fi
490489

491-
if [ -z "$DEPLOYMENT_FILE_EXISTS_BEHAVIOR" ]; then
492-
DEPLOYMENT_FILE_EXISTS_BEHAVIOR="DISALLOW"
493-
fi
494-
DEPLOYMENT_CMD="$DEPLOYMENT_CMD --file-exists-behavior $DEPLOYMENT_FILE_EXISTS_BEHAVIOR"
495490

496491
DEPLOYMENT_OUTPUT=""
497492
runCommand "$DEPLOYMENT_CMD" \

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-code-deploy",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"description": "Bash script to easily deploy applications with AWS Code Deploy.",
55
"author": "TechPivot",
66
"main": "bin/aws-code-deploy.sh",

0 commit comments

Comments
 (0)