在AWS CICD代码管道中使用bash脚本
在我的公司中,我们必须将AWS本机用于CICD流程。我用来通过BASH脚本部署服务,这使部署非常灵活。但是,我似乎找不到AWS Codepipeline中的选项,可以在其中打电话给脚本。在构建阶段,我可以在buildspec.yml文件上调用,但是在部署阶段,我希望能够使用bash脚本。有人知道使用AWS Codepipeline是否可以吗?
In my company we have to use AWS native for the CICD process. I'm used to deploying my services via a bash script which makes deployments very flexible. However, I can't seem to find an option in AWS CodePipeline in which I can call on a script. In the build phase I am able to call on a buildspec.yml file, but in the deploy phase I would like to be able to call on a bash script. Does anyone know if that's possible using AWS CodePipeline?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这就是我在deployspec.yml中使用的内容,以使其使用bash脚本来调用:
This is what I put in the deployspec.yml to make it call on a bash script: