如何将Azure Pipelines YAML转换为GitHub Action Yaml?

发布于 2025-01-25 21:40:56 字数 803 浏览 4 评论 0 原文

我有很久以前就创建的Azure yaml管道,现在我正在考虑迁移我现有的DevOps解决方案,形成Azure到GitHub Actions。

如何将现有管道从Azure Devops转换为GitHub动作的现有管道?

手动翻译每个ADO管道不是我拥有的管道数量的可行解决方案。

参考链接:

  1. azure devops管道: https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/?view=Azure-pipelines

  2. github Actions: https://docs.github.com/en/en/actions/using-workflows/workflow-syntax-for -github-actions

​将Azure DevOps管道转换为GitHub动作,但需要有关如何解决此问题的想法。

I have Azure YAML pipelines that have been created long back and I am now looking into migrating my existing devops solutions form Azure to Github Actions.

How do I approach migrating / translating existing pipelines from Azure DevOps to Github Actions?

Manually translating each ADO Pipeline is not something that would be consider a feasible solution for the number of pipelines I have.

Reference Links:

  1. Azure DevOps Pipelines: https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/?view=azure-pipelines

  2. Github Actions: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

Simply put: I need to convert my existing ADO pipelines to Github Actions

I am thinking of building a tool to serve this purpose of converting Azure DevOps pipelines to Github Actions but need ideas on how to approach this problem.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

月隐月明月朦胧 2025-02-01 21:40:56

来自 leo liu ' >答案,2022年5月:

我恐怕现在没有这样的盒子扩展名或工具可以将Azure Pipelines yaml转换为github Actions yaml。

更新:

引入github Actions Importer (NOV. NOV.) 2022)

我们已经启动了GitHub Actions进口商的公开预览,该预览可帮助您预测,计划和自动化从当前CI/CD工具到GitHub Action的迁移。

进行单个迁移相对容易孤立。
但是,对于那些拥有较大且已建立的CI/CD足迹的人来说,拥有可用的工具来协助迁移是他们大规模采取行动的关键。

在我们一直在开发和使用GitHub Actions Importer的时代,我们在需要迁移的旧环境中遇到了许多有成千上万个管道(甚至超过15K)的客户(甚至超过15K) 。

GitHub Action Action进口商旨在在手动迁移不可行时提供帮助,例如,当用户拥有大量依赖数百或数千个工作流程的团队时。

要了解更多信息,请参见使用GitHub动作进口商自动迁移发布在GitHub博客上。

注册在这里请求访问公共预览。

So check it out: it does list Azure DevOps in its

From Leo Liu's answer, May 2022:

I am afraid there is no such out of box extension or tool to batch Convert Azure Pipelines YAML to Github Actions YAML at this moment.

Update:

Introducing GitHub Actions Importer (Nov. 2022)

We’ve launched a public preview of GitHub Actions Importer, which helps you forecast, plan, and automate migrations from your current CI/CD tool to GitHub Actions.

Doing individual migrations is relatively easy in isolation.
However, for those that have a large and established CI/CD footprint, having tooling available to assist with migrations is key to their ability to adopt Actions at scale.

In the time that we’ve been developing and using GitHub Actions Importer in its private preview form, we’ve encountered numerous customers that have thousands of pipelines—even in excess of 15K—in their legacy environments that need to be migrated.

GitHub Actions Importer is designed to help when manual migration is not feasible, such as when users have a large number of teams that depend on hundreds or thousands of workflows.

To learn more, see Automating migrations with GitHub Actions Importer and the announcement post on the GitHub blog.

Sign up here to request access to the public preview.

So check it out: it does list Azure DevOps in its Supported CI platforms.

孤独患者 2025-02-01 21:40:56

如何将azure管道yaml批量转换为github Actions yaml?

恐怕目前没有这样的盒子扩展名或工具可以将Azure Pipelines yaml转换为github Actions yaml。

有一个工具可以使一个yaml文件更容易在Azure Pipelines yaml和github操作之间进行迁移:

但批次转换的工具似乎还不存在。

How to Batch Convert Azure Pipelines YAML to Github Actions YAML?

I am afraid there is no such out of box extension or tool to batch Convert Azure Pipelines YAML to Github Actions YAML at this moment.

There is a tool to make migrations between Azure Pipelines YAML and GitHub Actions YAML easier for one YAML file at a time:

Convert Azure Pipelines YAML to GitHub Actions YAML

But the tool for batch convert doesn't seem to exist yet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文