Comments (5)
Currently, it always lets a job run to completion once started (but it won't start any new jobs if noone wants the result).
You could do some kind of mark-and-sweep in Engine.recalc_loop
to cancel jobs as soon as they are not needed by some active PR or branch.
However, people sometimes expect to be able to see the results of builds, even if a newer build came along later. e.g. if I push a new commit to a PR, I might still want to know the result for the previous commit.
from datakit.
If I'm not mistaken those logs do not appear anywhere. Can't we make this the default ?
I'm really unsure of how to patch that since I basically know nothing about the datakit codebase. Also I would really like to avoid depending on a locally patched dependency.
If it's definitely not possible, could you give me some pointers ?
from datakit.
One thing that could also be done in the meantime as a temporary fix (but still maybe useful anyway) would be to have some sort of "cancel-all button" on the main page. Is that conceivable ?
from datakit.
If I'm not mistaken those logs do not appear anywhere.
Even when no PR, tag or branch head still wants a result, it can still be accessed from many places, including:
- The GitHub PR page (click on the test result for a non-head commit).
- Visiting a previous state of a target (the "Previous state" controls at the top of each page).
- Using the the various "History" links in the UI.
- Looking directly in the results database.
from datakit.
TravisCI has an option to do that, that I find quite useful (as it frees up resources more quickly). In some cases you don't care about building every commit, you are just by the latest one on each tags/branches.
from datakit.
Related Issues (20)
- Invalid use of `${ROOT}` HOT 2
- check version
- Datakit using irmin store not writing to repository HOT 1
- Minor release with s/per_file/per_module/ ? HOT 3
- "git commit" seems to break the transaction interface HOT 4
- Unable to run CI example (permission denied) HOT 7
- Unable to run DataKit Local-Git bridge HOT 2
- Unix.ENAMETOOLONG when using datakit-bridge-local-git HOT 3
- Unix.EROFS while running self-ci locally HOT 8
- DataKitCI: configure docker run HOT 5
- Can't create new live log on branch HOT 13
- Assert_failure ci/src/cI_monitored_pool.ml:44:2 HOT 5
- CI: local-bridge does not rebuild on new commit HOT 3
- CI: local state repo HOT 2
- CI: unable to use Git.run HOT 2
- Datakit-CI is rebuilding PR on title edit HOT 3
- Irmin.merge_head: conflict, retrying (223684) (100% CPU) HOT 10
- Irmin 2.0.0
- datakit-client is not compatible with result 1.5 on OCaml 4.08+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datakit.