Add reference to access ECR

Zhuojie Zhou
2021-08-12 17:39:25 -07:00
parent 23e4dc5cb5
commit 531b4fa06d

@ -18,6 +18,10 @@ New images will automatically be passed down through to dependent jobs.
[http://docker.pytorch.org](http://docker.pytorch.org/) which will be updated hourly
### How to docker pull the docker images?
Note that the docker images are built within a private AWS ECR repository, the detailed instruction of how to pull those images can be found here: https://github.com/pytorch/ossci-job-dsl#ci-failed-but-my-local-build-is-fine-what-should-i-do.
### How do we purge old images / whats the retention policy?
We have ecr_gc_job job (you can search for it in config.yml) that runs every hour to purge old images. Currently, we need temporary images for 1 day, and weekly builds for 2 weeks. And we will keep image with tags defined in https://github.com/pytorch/pytorch/blob/master/.circleci/verbatim-sources/workflows-ecr-gc.yml#L13 forever.
@ -78,4 +82,4 @@ Note this instruction provides guidance to add a new **base** docker image. If y
- **WAIT UNTIL ALL BUILD JOBS TO FINISH** and make sure all new images have been uploaded. Save the tag of the new images.
- Run regenerated.sh with the new tag and update your PR.
See an example PR https://github.com/pytorch/pytorch/pull/36187
See an example PR https://github.com/pytorch/pytorch/pull/36187