Closed vfdev-5 closed 1 year ago
I am not sure about the GitHub actions, that build the docker image from the pr, but I think the first point is an idea to merge all shell file to one main shell script.
what is the difference between the folders main
, hvd
, and msdp
what is the difference between the folders main , hvd, and msdp
@sparkingdark checkout https://github.com/pytorch/ignite/tree/master/docker and installation section. It is about having different frameworks in addition to pytorch and ignite.
Okay I will check that.
@trsvchn would you like to tackle this issue ?
@vfdev-5 sure!
I'll start on this point
If you could help with:
would be great !
@vfdev-5 Yes, I am going to start from this:
One another thing I was also thinking about is about building docker images on "release" event. Currently, everything happens in parallel:
As "binary distributions to pypi and conda" faster than "docker image build", layer responsible for fetching the lastest ignite can get the released version. Maybe, we should force to wait "docker image build"...
@vfdev-5 I think it possible to trigger workflow manually, so we can trigger "docker image build" after "binary distributions to pypi and conda"
I'm not that fan of manual trigger, I was thinking about naive "check last version and wait 1 minute"...
@vfdev-5
Oh, no "manually" means using a kind workaround with manual events
https://docs.github.com/en/actions/reference/events-that-trigger-workflows#manual-events
I've found this solution
https://github.community/t/trigger-an-action-upon-completion-of-another-action/17642/2
That's could be great !
@vfdev-5,
Hi, Can I work on task 3 to close this issue (add a test inside docker folder as a python script to check docker image versions for : torch, ignite ; can import cv2) ?
@Asrst thanks for asking. Actually, we already did that here: https://github.com/pytorch/ignite/blob/master/docker/test_image.py I'll close this issue as done.
if you would like to contribute, please pick another "help wanted" issue: https://github.com/pytorch/ignite/labels/help wanted
đ Feature
Currently, we can build and publish dockers using Circle CI and it works more or less well, however, PR's modifying Dockerfile can not build docker images to ensure PR correctness (related to the way how the PR is checkout on Circle CI).
The idea is
build_all.sh
scripts (docker/main/build_all.sh, docker/hvd/build_all.sh and docker/msdp/build_all.sh) into a single shell script that could build a single docker image.To Do list:
build_all.sh
intobuild.sh
-vision
imagescc @fco-dv