VSTS CI/CD definition as scripts

北慕城南 提交于 2019-12-11 05:59:20

问题


We are building a Microservices based architecture and we are having 50 odd CI and 50 odd CD pipelines. Is there a way to script the CI / CD Build and Release definitions? We want this to be a repeatable process and do not want to leave it to our DevOps engineer(s) as it is prone to errors. Please note that I am not talking about ARM (which is already being used by us). Is there a way to do the above?


回答1:


For builds, you can use YAML builds, which are currently in preview.

For releases, there's nothing equivalent yet.

You could always use the REST APIs to extract the build and release definitions as JSON, source control them, and then create a continuous delivery pipeline to update them when the definitions in source control change.



来源:https://stackoverflow.com/questions/51082826/vsts-ci-cd-definition-as-scripts

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