Compare commits

...

2 Commits

Author SHA1 Message Date
Régis Behmo 13c420cb0a fix: build error due to missing EOL 2024-02-22 12:03:45 +01:00
Régis Behmo 3401a71b18 fix: merge conflicts due to edx-platform patches in nightly
When building the nightly images, some patches fail because they come
from the master branch. To address this, we apply certain patches only
if we are not in nightly mode.
2024-02-22 11:49:31 +01:00
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1 @@
- [Bugfix] Fix merge conflicts in nightly when trying to apply patches from the master branch. (by @regisb)

View File

@ -49,8 +49,10 @@ RUN git config --global user.email "tutor@overhang.io" \
{%- if patch("openedx-dockerfile-git-patches-default") %}
# Custom edx-platform patches
{{ patch("openedx-dockerfile-git-patches-default") }}
{%- elif EDX_PLATFORM_VERSION == "master" %}
# Patches in nightly node
{%- else %}
# Patch edx-platform
# Patches in non-nightly mode
# Prevent course structure cache infinite growth
# https://github.com/openedx/edx-platform/pull/34210
RUN curl -fsSL https://github.com/openedx/edx-platform/commit/ad201cd664b6c722cbefcbda23ae390c06daf621.patch | git am