-
Notifications
You must be signed in to change notification settings - Fork 12
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
Run app build after another app build was completed #293
Comments
Cool idea, building a A way to represent that might to declare an output of one task as the input of another task.
You are right, it does not run tasks in parallel.
Yes that would work, all pending tasks are executed in their alphabetical order. |
We solved the base-child issue by defining base-child's Ideally, however, it would be great to have support of dependency on apps (the whole complex thing you describe) + parallel build :) |
The dependency issue of one app build needing to than cause other app builds to occur could be made event based . I have a similar mono repo project with 1.000 of apps inside and use nats Jetstream to do the event based work. When 1 app buildings , it can cause many other apps to build. the first app “ producers” a message of its name. The other apps are “consumers” of the build event and subscribe based on the namespace of the repo path . |
Nice idea!
If the project is open-source, could you drop a link? |
It’s closed , because it’s government project . Sorry about that . They will open it in stages as it passes security audits . SOC 2 Type1. it’s very very easy to use nats serve to do what bar does though . The bar config files can work the same way the are now . The system just listens to nats and then carries out whatever operations are needed based on the bar config . https://github.com/nats-io/nats-server https://github.com/nats-io/nats.go Is he client . https://github.com/nats-io/natscli Is the cli https://github.com/nats-io/nkeys Is the auth system for adding , removing and revoking users and groups. Revocation and all others ops are real time ! nats is SOC 2 type 1, and so security audited. it’s why I suggested it to remove the dependency of Postgres. Nats is like a reactive db and mesh , with full auth etc. for me it’s nice because you can embed nats with any golang program ; and so can be embedded with bar too. In ci it will then be able to run itself . It can also run using in process and so not need a network at all - does millions of transactions a second. If you run it with a network connection - Now it’s got a reactive mesh integrated between many mono repos. That simple . So you can do reactive pipelines just like what bar is doing . It can be embedded with bar. Then all mono repos can be joined up via nats acting as a mesh . If you want I can help with bar and nats , ut it seems that your still wedded to postreql. |
Np, I would have been interested to check it out. :-)
Thanks for the offer, we currently have no plan to step away from PostgreSQL. It works well for our use case. |
Use case:
App called
base
, it builds a base docker image.App called
base-child
, it depends on base docker image and extends it.Ideally I want
base-child
to build afterbase
finished.Is there a way to do it?
As far as I can tell Baur doesnt build projects in parallel? So I suppose I could call base 0_base so it will be build before base-child due to alphabetical order.
WDYT?
The text was updated successfully, but these errors were encountered: