Comments (7)
Interesting. Where would we launch docker from? Travis CI? Does hub.docker.com have a CI facility?
from rocker.
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.
Interesting. So this now invokes a test of each installed package?
from rocker.
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.
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.
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.
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)
- Migrating from Dockerhub? HOT 3
- Container for RStudio (not server) HOT 1
- MRAN repository snapshots were deleted - Failing jobs because packages can't be found anymore HOT 5
- docker v18 & packages repositories & rocker's images HOT 5
- unable to load shared object
- Update results in deletion of all install package...
- installation testing fails HOT 1
- r: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
- Docker image r-base:4.2.1 not reproducible HOT 4
- Installing unstable apt packages? HOT 4
- Local Zotero Integration? HOT 3
- R session terminated HOT 1
- latest r-base breaks install of `curl` package HOT 8
- xz-utils backdoor HOT 4
- Potential high vulnerability in r-base:4.3.1 HOT 3
- Installing packages fails due to broken openssl package in debian testing HOT 2
- Alternative Methods of Extending Images? HOT 5
- update 'latest' version to 4.4.0 RDS security flaw HOT 2
- New `usrmerge` issues. HOT 5
- 502 Returned by Rstudio Server when executing 'client_init' HOT 1
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 rocker.