Skip to content

Pooling Docker test images #52

Closed
Closed

Description

@jakirkham

As dask-drmaa and dask-jobqueue are both making use of Docker images for testing against job schedulers, wondering if we can pool these Docker files somewhere. Also might be good to build these in advance and host them on Docker Hub or Quay so that we can just pull them down for testing on CIs instead of rebuilding them from scratch each time.

Activity

  1. guillaumeeb commented on May 4, 2018

    @guillaumeeb
    Member

    For the PBS part, I'm trying talk with PBSPro organization to make them improve their images, so that we can depend on it, see http://community.pbspro.org/t/pbs-public-docker-image-improvement/887 discussion.

    More generally, do we have some namespace in dockerhub where to put these images, or do we want to host them in user namespaces?

  2. mrocklin commented on May 4, 2018

    @mrocklin
    Member
  3. mrocklin commented on May 4, 2018

    @mrocklin
    Member
  4. added
    enhancement
    help wanted
    on Oct 27, 2018
  5. guillaumeeb commented on Nov 20, 2018

    @guillaumeeb
    Member

    Thinking about this, because the Travis build time can be quite long.

    If we push some of our image to Dockerhub, how will we update them? Will we need to update them?

    I see several possibilities:

    • Push images that contains only the non Conda and Dask part, e.g. only the schedulers. We can push a sge-master and sge-slave image, for PBS it is also possible to pus a PBS:14.1.2 image. For Slurm we already do this. We then just install conda on top of that. Slurm is the fatest build, but it still takes close to 300 seconds to build the conda part of the docker image!
    • We build images with scheduler + conda env, without dask (and eventually other key modules).
    • We build images with everything, except dask-jobqueue.

    For the two last options: what versions should we pin? Can we still have a kind of automated image build if one of our major dependency is updated (e.g. distributed or dask), or will we have to do it manually? Could we for example rely on requirement.txt to rebuild image only when modified?

  6. mrocklin commented on Nov 21, 2018

    @mrocklin
    Member
  7. jakirkham commented on Nov 21, 2018

    @jakirkham
    MemberAuthor

    If you're ok not having a solver that is... 😕

  8. mrocklin commented on Nov 21, 2018

    @mrocklin
    Member
  9. guillaumeeb commented on Nov 21, 2018

    @guillaumeeb
    Member

    So you're proposing to have pre-built images with everyting, and just pip update (or the equivalent with conda) key modules like dask and distributed?

    Where would we store the Dockerfiles? We would build and push this images manually? How often?

  10. jhamman commented on Nov 22, 2018

    @jhamman
    Member

    I think a logical first step would be to push the pbs, slurm, etc images to docker hub. That will really help simplify things on our end and will be a good first step toward speeding things up in the CI tests. Once that is done, we can go over how to install dependencies.

  11. mrocklin commented on Nov 22, 2018

    @mrocklin
    Member
  12. guillaumeeb commented on Jan 14, 2019

    @guillaumeeb
    Member

    As @lesteve mentionned in #215, there is a PBS Docker image tagged correctly available in Dockerhub https://hub.docker.com/r/pbspro/pbspro/tags.

  13. lesteve commented on May 23, 2020

    @lesteve
    Member

    We are now using Docker images on dockerhub thanks to #432, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions