aws / aws-codedeploy-agent

Host Agent for AWS CodeDeploy
https://aws.amazon.com/codedeploy
Apache License 2.0
329 stars 187 forks source link

If a bundle is an archive of a directory, strip the leading directory #253

Closed Helen1987 closed 4 years ago

Helen1987 commented 4 years ago

Notes

We currently do this for archives produced by github but it seems generally useful (In particular, it would make the CodePipeline "My First Pipeline" tutorial simpler). This should not modify the behavior of anything that works now (modulo bugs)

Testing

I created an integration test which runs successfully. I also successfully manually tested a prior version of this (with the same logic) in my own Deployment group.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.08%) to 91.42% when pulling f3f033cec2e8bde5e975818a9dd786bb31a7e3f4 on folder_branch into 88f45b1301522ad07d9f4d60ed60e4b0764f904c on master.