Code Monkey home page Code Monkey logo

Comments (9)

ndmitchell avatar ndmitchell commented on May 5, 2024

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.

ndmitchell avatar ndmitchell commented on May 5, 2024

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.

abailly avatar abailly commented on May 5, 2024

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.

ndmitchell avatar ndmitchell commented on May 5, 2024

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.

abailly avatar abailly commented on May 5, 2024

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.

ndmitchell avatar ndmitchell commented on May 5, 2024

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.

abailly avatar abailly commented on May 5, 2024

Could you point me at the location in source code where I should look to allow retrieval of "build artifacts"?

from bake.

ndmitchell avatar ndmitchell commented on May 5, 2024

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.

abailly avatar abailly commented on May 5, 2024

Probably found another way to do this...

from bake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.