-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(s3-deployment): prune - keep missing files on destination bucket #8263
Conversation
…lag to the sync command
+1 -Need this feature in order to support deployment of some cached vs non-cached files. |
Any update on this PR? |
Not abandoned. I hope to return to it this week. |
@@ -59,10 +59,40 @@ all but a single file: | |||
|
|||
## Retain on Delete | |||
|
|||
By default, the contents of the destination bucket will be deleted when the | |||
By default, the contents of the destination bucket will **not** be deleted when the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this because apparently the default behavior was changed in this PR, but the README was not updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think prune
should be sufficient for a name. What value do we get from the onDeployment
part of the name?
@eladb Its just a tad more accurate. I also liked the consistency with |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Introduce a
prune
property that eventually controls the--delete
flag when invoking theaws s3 sync
command.Resolves #953
In addition, migrate the module from
nodeunit
tojest
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license