Commit d1d5a7fd by Kevin Falcone

Be explicit about the path to course.xml

before, we guessed by splitting the course id.  This is fragile and
doesn't handle the new export format which contains a course/ subdir
parent 52658d2c
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
- name: import the test courses - name: import the test courses
shell: > shell: >
{{ demo_edxapp_venv_bin }}/python ./manage.py cms --settings=aws import {{ demo_edxapp_course_data_dir }} /var/tmp/{{ item.path|basename }}/{{ item.course_id.split('/')[2] }} {{ demo_edxapp_venv_bin }}/python ./manage.py cms --settings=aws import {{ demo_edxapp_course_data_dir }} /var/tmp/{{ item.path|basename }}/{{ item.xml_path }}
chdir={{ demo_edxapp_code_dir }} chdir={{ demo_edxapp_code_dir }}
sudo_user: "{{ common_web_user }}" sudo_user: "{{ common_web_user }}"
with_items: TESTCOURSES_EXPORTS with_items: TESTCOURSES_EXPORTS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment