Update edx-platform branch on Tutor dev

Hi everyone,

I am currently working with the nightly branch of tutor dev and have mounted the edx-platform. Due to regular updates on the edx-platform master branch, I often need to pull the latest changes.

To apply these updates and provision the necessary changes, I frequently run tutor dev launch. However, this process is time-consuming, as it involves re-building the Docker images, which significantly contributes to the delay.

I was wondering if there is a more efficient way to update and provision the edx-platform master branch without triggering a complete image re-build every time.

Any suggestions would be greatly appreciated!

The part that is taking the longest is rebuilding the “openedx-dev” image, right? If I understand correctly, the issue can come from one or two issues:

  1. You have allocated too little disk space to your Docker cache, which is frequently garbage collected. In that case, you will have to do a full rebuild every time.
  2. The changes you pull from edx-platform include a lot of changes in dependencies, which need to be pulled every time – and then again, a caching issue might occur here.

We could understand the problem better if you provided build logs.