我正在尝试弄清楚用 Github Actions 替换我们当前的 CI/CD 工具是有利还是弊。
我的团队目前正在使用 GitHub 和 TeamCity 进行 CI/CD。我发现这个限制,因为它是一个单独的团队来配置不同的阶段。我们使用 Airflow 来安排 DBT 生产,因此我们不使用 DBT Cloud。
我想知道用 Github Actions 替换 TeamCity 是否有任何好处,因为我们可以自己编写阶段的配置(编译、运行、测试、lint)。我对实施 Slim CI 很感兴趣,但我认为 TeamCity 不可能实现这一点。
有人能了解将 GitHub Actions 与 Airflow 一起使用的优缺点吗?是否可以?我正在努力寻找有关在 Airflow 上运行 DBT 生产时使用这两个操作的任何文档。
现在,我的信息来源来自于:
> https://towardsdatascience.com/how-to-deploy-dbt-to-production-using-github-action-778bf6a1dff6 提到“好吧,这取决于情况。如果您还没有在生产中运行 Airflow,那么您现在可能不需要它。还有比这更简单/优雅的解决方案(dbt Cloud、GitHub Actions、GitLab CI)。此外,这种方法与使用计算实例有许多共同的缺点,例如浪费资源以及没有简单的 CI/CD 方法。”
我的主要目标是摆脱 TeamCity 并使用 Github Actions 实现 Slim CI。
先感谢您!
I'm trying to get my head around if replacing our current CI/CD tool with Github Actions is a pro or con.
My team is currently using GitHub and TeamCity for CI/CD. I find this limiting as it's a separate team that configures the different stages. We use Airflow to schedule our DBT production, so we don't use DBT Cloud.
I'm wondering if there's any benefit to replacing TeamCity with Github Actions as we can write the configuration of the stages (compile, run, test, lint) ourselves. I'm interested in implementing Slim CI , which I don't believe is possible with TeamCity.
Would anyone be able to with the pros and cons of using GitHub Actions alongside Airflow? Is it possible? I'm struggling to find any documentation on using both Actions whilst running DBT production on Airflow.
Right now, my source of information comes from this: https://towardsdatascience.com/how-to-deploy-dbt-to-production-using-github-action-778bf6a1dff6
It mentions "Well, it depends. If you don’t have Airflow running in productions already, you will probably not need it now. There are more simple/elegant solutions than this (dbt Cloud, GitHub Actions, GitLab CI). Also, this approach shares many disadvantages with using a compute instance, such as waste of resources and no easy way for CI/CD."
My main goal is to get rid of TeamCity and implement Slim CI with Github Actions.
Thank you in advance!
发布评论