Bluemix toolchain export & import

久未见 提交于 2020-01-02 05:50:28

问题


If I have created a bluemix toolchain through UI, how can I export that. I see there's an option to create a toolchain from a template described in yml files. But how can I get these yml files for an existing toolchain created using UI. Thanks


回答1:


In it's current form and shape, there isn't a import-export option for the toolchains.

The existing toolchain templates have a repository where the file representation is stored (YAML, JSON and others).

Clone a toolchain from this github repository to create your own toolchain and make the relevant changes.

For the pipelines that you created using the UI, you can see the YAML contents by adding "/yaml" to the URL.

For example, If your pipeline URL is:

https://console.bluemix.net/devops/pipelines/pipelineIDENTIFIER?env_id=ibm:yp:us-south

then the YAML can be seen by using the URL below:

https://console.bluemix.net/devops/pipelines/pipelineIDENTIFIER/yaml?env_id=ibm:yp:us-south

Amend the repo with this YAML file (for the pipeline) and you now have a repo that can be used to create your toolchain.

In summary, not a straight-forward way to import-export however it can be done with some effort.



来源:https://stackoverflow.com/questions/47532786/bluemix-toolchain-export-import

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