Giter Club home page Giter Club logo

Comments (7)

eddelbuettel avatar eddelbuettel commented on July 21, 2024

Interesting. Where would we launch docker from? Travis CI? Does hub.docker.com have a CI facility?

from rocker.

cboettig avatar cboettig commented on July 21, 2024

Haven't been able to hack docker onto travis. AFAIK, Hub doesn't have that explicitly. Of course, the simplest thing to do would be to throw a RUN command for the tests right in at the end of the Dockerfile, then we get testing for free with the hub's autobuilds. (Would need a cleanup command after...)

btw, looks like I need to use Rscript instead of R for the above command or I get lots of failing tests, not obvious why...

from rocker.

eddelbuettel avatar eddelbuettel commented on July 21, 2024

Interesting. So this now invokes a test of each installed package?

from rocker.

cboettig avatar cboettig commented on July 21, 2024

Correct. Clearly we could modify it to test only packages of particular
concern, e.g. in the case of the hadleyverse. As I mention in my follow-up
comments, I'm still not sure that it's actually a good idea.

On Tue, Sep 30, 2014 at 10:38 AM, Dirk Eddelbuettel <
[email protected]> wrote:

Interesting. So this now invokes a test of each installed package?


Reply to this email directly or view it on GitHub
#8 (comment).

Carl Boettiger
UC Santa Cruz
http://carlboettiger.info/

from rocker.

eddelbuettel avatar eddelbuettel commented on July 21, 2024

If you are unsure about it, maybe r-base is not the best place?

It probably also comprises the most well-tested set of packages so ...

from rocker.

cboettig avatar cboettig commented on July 21, 2024

In general, I think writing tests into Dockerfiles is a promising
practice. I agree that these tests are unlikely to fail, as only
well-tested packages are included, which is why I started with r-base --
there is very low probability that these tests cause any problems to
downstream images. So I was partly motivated to model this as a kind of
'best-practices'

If a build fails, it doesn't really break anything. Anyone pulling from
the hub gets the last successful build. So I don't see a scenario in which
this creates a well-defined risk.

On Tue, Sep 30, 2014 at 11:07 AM, Dirk Eddelbuettel <
[email protected]> wrote:

If you are unsure about it, maybe r-base is not the best place?

It probably also comprises the most well-tested set of packages so ...


Reply to this email directly or view it on GitHub
#8 (comment).

Carl Boettiger
UC Santa Cruz
http://carlboettiger.info/

from rocker.

cboettig avatar cboettig commented on July 21, 2024

With automated build notifications on and a bit of travis testing we seem okay here for now. Running checks on the installed packages seems a bit overkill at this point so I'll close this out.

from rocker.

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.