Merge remote-tracking branch 'origin/master' into nightly

This commit is contained in:
Overhang.IO 2023-11-21 10:40:21 +00:00
commit 0adea6785e
3 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1 @@
- [Improvement] Introduced Course Discovery Repository and Version settings. (by @Faraz32123)

View File

@ -38,6 +38,8 @@ config = {
"CACHE_REDIS_DB": "{{ OPENEDX_CACHE_REDIS_DB }}",
"ATLAS_PULL": False,
"EXTRA_PIP_REQUIREMENTS": [],
"REPOSITORY": "https://github.com/openedx/course-discovery.git",
"REPOSITORY_VERSION": "{{ OPENEDX_COMMON_VERSION }}",
},
}

View File

@ -17,8 +17,8 @@ RUN useradd --home-dir /openedx --create-home --shell /bin/bash --uid ${APP_USER
USER ${APP_USER_ID}
###### Git-clone course-discovery repo
ARG DISCOVERY_REPOSITORY=https://github.com/edx/course-discovery.git
ARG DISCOVERY_VERSION='{{ OPENEDX_COMMON_VERSION }}'
ARG DISCOVERY_REPOSITORY='{{ DISCOVERY_REPOSITORY }}'
ARG DISCOVERY_VERSION='{{ DISCOVERY_REPOSITORY_VERSION }}'
RUN mkdir -p /openedx/discovery && \
git clone $DISCOVERY_REPOSITORY --branch $DISCOVERY_VERSION --depth 1 /openedx/discovery
WORKDIR /openedx/discovery