-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defining dependencies between projects? #72
Comments
Hi @evandam! Check out https://github.com/ksindi/buildkite-monorepo-example for a working example. |
You can definitely set ubuntu as a dependency for the other projects by adding it to their paths. |
Hi friends, I trust there's no way to be more granular about this dependency on a per step basis? e.g. In this example,
Tests Linting -- The current config method for defining buildpipe dependencies is the paths:
But in this case, changing code in |
@bradbarrow unfortunately there's no easy way. The most you can probably do is have custom logic on the step that inspects environment variables set. |
Hey there 👋
This looks like an awesome project but I was hoping to get some clarification.
You mention "Especially useful for monorepos where you want to create dependencies between projects." Is there an example that shows how to define dependencies between projects? I can't find docs around this anywhere.
If it helps, here's the use case I have in mind. I'm looking to do Packer builds, where if I change the base image, I want to trigger all subsequent builds:
Ex:
I would like the language-specific images to have a dependency on the ubuntu build, so if I update the base image, all the others will be updated.
Similarly, I might want to do something like run tests on all projects in the monorepo if a shared library changes.
The text was updated successfully, but these errors were encountered: