Will AWS Codepipeline pass symlinks to Codebuild in artifacts

自古美人都是妖i 提交于 2020-05-29 10:15:08

问题


I have some symlinks in my github repo.

When I have a Codebuild project that clones directly from github, symlinks are preserved.

I switched so that Codepipeline listens for changes in my dev branch in github, and passes the artifacts to codebuild.

Since making this switch, Codebuild can't see the symlinks anymore.

Is this by design, or am I perhaps missing something in how my codepipeline is configured?


回答1:


Up to now, AWS CodePipeline doesn't support symlinks in source. Refer to Source artifact doesn't properly handle symlinks or file modes in discussion forums, we can see

We've got a pipeline setup with an initial "Source" stage coming from a private repo on GitHub. The repo contents get zipped up and end up as the first input artifact for the pipeline.

I've noticed a couple of issues with the zip artifact:

1.) Symlinks don't come through as proper symlinks but rather text files with the content being the location that the symlink points to.

Maybe AWS CodePipeline team will fix it in the future.



来源:https://stackoverflow.com/questions/57716679/will-aws-codepipeline-pass-symlinks-to-codebuild-in-artifacts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!