From 491b3ca44e7219dbfc395ea951d14c4d063420ac Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Wed, 7 Feb 2024 14:58:14 -0500 Subject: [PATCH] fix: Temporary workaround until we can update for the new demo course (#1274) The tag open-release/quince.1 happens to be the commit just before the demo course update. --- provision-lms.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/provision-lms.sh b/provision-lms.sh index 78247d1147..23d4016619 100755 --- a/provision-lms.sh +++ b/provision-lms.sh @@ -51,7 +51,9 @@ if [[ ${DEVSTACK_SKIP_DEMO-false} == "true" ]] then echo "Skipping import of demo course. DEVSTACK_SKIP_DEMO is set to true" else - docker compose exec -T lms bash -e -c 'git clone https://github.com/openedx/edx-demo-course.git /tmp/edx-demo-course' + # FIXME: Using old version of demo course (open-release/quince.1) until we can + # update devstack and other repos to match: https://github.com/openedx/devstack/issues/1273 + docker compose exec -T lms bash -e -c 'git clone https://github.com/openedx/edx-demo-course.git --branch open-release/quince.1 /tmp/edx-demo-course' docker compose exec -T lms bash -e -c 'source /edx/app/edxapp/edxapp_env && python /edx/app/edxapp/edx-platform/manage.py cms --settings=devstack_docker import /edx/var/edxapp/data /tmp/edx-demo-course && rm -rf /tmp/edx-demo-course' fi