pin repo to open-release/maple.master

This commit is contained in:
lpm0073 2022-05-13 13:41:22 -05:00
parent 63a77aac38
commit 161b979d0c
2 changed files with 3 additions and 4 deletions

View File

@ -14,8 +14,7 @@ config = {
"VERSION": __version__,
"API_TIMEOUT": 5,
"CURRENCY": "USD",
"DOCKER_IMAGE": "{{ DOCKER_REGISTRY }}overhangio/openedx-credentials:{{ CREDENTIALS_VERSION }}",
"WORKER_DOCKER_IMAGE": "{{ DOCKER_REGISTRY }}overhangio/openedx-credentials-worker:{{ CREDENTIALS_VERSION }}",
"DOCKER_IMAGE": "{{ DOCKER_REGISTRY }}lpm0073/openedx-credentials:{{ CREDENTIALS_VERSION }}",
"EXTRA_PIP_REQUIREMENTS": [],
"HOST": "credentials.{{ LMS_HOST }}",
"MYSQL_DATABASE": "credentials",

View File

@ -19,7 +19,8 @@ ENV PATH /openedx/nodeenv/bin:${PATH}
# Install credentials
ARG CREDENTIALS_REPOSITORY=https://github.com/edx/credentials.git
ARG CREDENTIALS_VERSION={{ OPENEDX_COMMON_VERSION }}
#ARG CREDENTIALS_VERSION={{ OPENEDX_COMMON_VERSION }}
ARG CREDENTIALS_VERSION="open-release/maple.master"
RUN mkdir -p /openedx/credentials && \
git clone $CREDENTIALS_REPOSITORY --branch $CREDENTIALS_VERSION --depth 1 /openedx/credentials
WORKDIR /openedx/credentials
@ -31,7 +32,6 @@ RUN git config --global user.email "tutor@overhang.io" \
# nodejs requirements (aka: "make requirements.js")
ARG NPM_REGISTRY=https://registry.npmjs.org/
RUN npm install --verbose --registry=$NPM_REGISTRY
RUN ./node_modules/.bin/bower install --allow-root
# python requirements
RUN pip install -r requirements.txt