oppia / oppia

A free, online learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
5.83k stars 4.09k forks source link

Fix docker volume caching problem on CI #20726

Open gp201 opened 3 months ago

gp201 commented 3 months ago

Discussed in https://github.com/oppia/oppia/discussions/20548

Originally posted by **AkashPaloju** June 22, 2024 I have faced a problem due to docker volume cache in my PR #20410. Please refer to https://github.com/oppia/oppia/pull/20410#issuecomment-2168575943 I have added a libray in `dependencies.json` initially but removed it in my later commit. But the library wasn't removed from the `third_party/static` folder. This is due to the system couldn't update the `third_party/static` folder by reading the updated `dependencies.json`. Does this happen for remaining third party libraries installation procedures also ? If not , as we are moving away from this `dependencies.json` installing do we need to fix this ?
seanlip commented 3 months ago

Note: On 9 Aug, @gp201 sent me a note to say that he is looking into https://docs.docker.com/compose/file-watch/ to see if it helps with this issue.