Comments (9)
A tweak, I'd definitely send the artifacts from the client to the server straight away - I always work on the assumption the client may have gone when we get around to the update.
Also, the Stdout of the test result should be an artifact.
from bake.
Hi @abailly - how useful would this be to you currently? Would it be a nice future cleanup? A meaningful improvement to the current state? Or not really that interesting given your workarounds?
from bake.
Main use would be to host generated docker containers and allow deployer to retrieve them from CI server instead of from dockerhub. Definitely an improvement as having to rely on dockerhub is not that great: it is a bit slow and has limited interface, e.g. docker pull
whereas we could have some more sophisticated retrieval strategies.
Moreover, we could also use this feature to retrieve various test results (eg. in "standard" JUnit format?).
from bake.
You could certainly use it to retrieve the stdout/stderr or a test result. Not sure what "standard" JUnit format is though. Also, it will be indexed by run id, which you can't compute yourself from patch/test/state.
from bake.
Kinda standard because a couple of runners output that format which can be
easily interpreted by things like Jenkins. Just an example...
Le mardi 30 juin 2015, Neil Mitchell [email protected] a Γ©crit :
You could certainly use it to retrieve the stdout/stderr or a test result.
Not sure what "standard" JUnit format is though. Also, it will be indexed
by run id, which you can't compute yourself from patch/test/state.β
Reply to this email directly or view it on GitHub
#8 (comment).
Arnaud Bailly
twitter: abailly
skype: arnaud-bailly
linkedin: http://fr.linkedin.com/in/arnaudbailly/
from bake.
As part of #19 I switched to sending multipart pieces. Now all the underlying infrastructure work is done to make it feasible - still need to plumb it all through.
from bake.
Could you point me at the location in source code where I should look to allow retrieval of "build artifacts"?
from bake.
The basic idea would be to switch Answer
to contain outputs :: [(String, BigString)]
instead of just stdout :: BigString
, where by convention one of the entries would be [("stdout", stdout)]
. You then have to modify the bits sending Answer
to include all outputs, and modify the database to save all outputs. As an extra step, you may wish to modify the server to send a particular output, but it's less important since you could always grab them straight off the server via SSH or similar. Changing the type, and changing what fails to type check, should be feasible.
If you give it a try, and don't get anywhere, let me know. It's probably an hour or so for me to wire through, so I could probably slice out some time if it's important to you.
from bake.
Probably found another way to do this...
from bake.
Related Issues (20)
- Support much bigger files HOT 1
- Notifications on clients coming/going are missing HOT 1
- Include patch author in the emails HOT 1
- Client crashes due to error 500 when finishing HOT 15
- Bake client process is too CPU heavy HOT 1
- Don't send emails until after updating the state
- Merged summary issues are in the wrong order
- Code is built twice HOT 6
- Build output disappears HOT 3
- How to run tests in parallel with multiple clients? HOT 13
- Add -K1K to the test suite
- How do I use `bake gc` ? HOT 4
- GC should not remove data from latest incremental build
- Using 'Retry' in admin view adds a quote to patch number preventing it to be merged HOT 2
- Bring up clients as needed? (assuming clients are virtualized) HOT 7
- Problems building on ghc-7.8.4 HOT 6
- Document all functions HOT 4
- Build failure with extra-1.5.1 HOT 1
- Support multiple Git repositories from a single server? HOT 1
- bake-0.5 HOT 2
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 bake.