Skip to content
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

build operations and queues #14

Open
akimyonoglu opened this issue Sep 8, 2015 · 2 comments
Open

build operations and queues #14

akimyonoglu opened this issue Sep 8, 2015 · 2 comments

Comments

@akimyonoglu
Copy link
Contributor

what are your thoughts about the ability to kill a running build?

how about queueing pushes/builds of the same project to prevent the failing builds?

@odino
Copy link
Contributor

odino commented Sep 8, 2015

👍

@odino
Copy link
Contributor

odino commented Sep 8, 2015

Im actually looking for inputs on how to kill the builds. The way I thought of it is to have an api DELETE /builds/1234 or so, but then there is no reliable way to really kill a build, I can only stop it at various checkpoints. Maybe that's already enough?

For queueing pushes I would suggest to try to push once and retry, only once, after 2 mins if the first push fails. The problem here is that it'd still be wonky.
Im just a bit worried that introducing a queue system would make things more complicated -- maybe im just overthinking.
If we have a queue I could save the build as built-locally and then have a background process that watches for built-locally builds and push them one by one. Then the main build process would poll for the buils status and see that it changes to pushed and go ahead with the rest of the build flow ie. notifications etc etc. What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants