gpt4 book ai didi

buildkite - 如何仅在 monorepo 中从特定文件夹触发构建? (风筝)

转载 作者:行者123 更新时间:2023-12-05 04:35:42 26 4
gpt4 key购买 nike

我们有一个 monorepo,里面有 3 个系统。我想为每个系统创建一个单独的构建。

如何仅当特定文件夹中的文件更改时才触发管道?

我们正在使用github

steps:

- label: 'Lint'
command: '.buildkite/scripts/lint.sh'
agents:
node: true
queue: xyz

- label: 'Run Tests'
command: '.buildkite/scripts/tests.sh'
agents:
node: true
queue: xyz

最佳答案

buildkite 支持通过电子邮件将此解决方案发送给我:

Thanks for reaching out! It sounds like you may want to take a look at using the monorepo diff plugin!

https://github.com/chronotc/monorepo-diff-buildkite-plugin

There is a good medium article here as well on setting it up: https://medium.com/geekculture/set-up-continuous-integration-for-monorepo-using-buildkite-61539bb0ed76

Let us know if you have any other questions or need more assistance!

Cheers,

关于buildkite - 如何仅在 monorepo 中从特定文件夹触发构建? (风筝),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70985614/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com