Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
05f852a9
Commit
05f852a9
authored
Jul 25, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1341 from edx/feanil/xml_updates
Don't remove the git repos just exclude them from the tar file.
parents
5b7676d4
0aae4fe8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
+1
-6
playbooks/roles/edxapp/tasks/xml.yml
+1
-6
No files found.
playbooks/roles/edxapp/tasks/xml.yml
View file @
05f852a9
...
...
@@ -58,13 +58,8 @@
with_items
:
EDXAPP_XML_COURSES
when
:
item.disposition == "import"
-
name
:
delete .git repos
file
:
path="{{ edxapp_course_data_dir }}/{{ item.repo_name }}/.git" state=absent
with_items
:
EDXAPP_XML_COURSES
when
:
item.disposition == "on disk" or item.disposition == "no static import"
-
name
:
create an archive of course data and course static dirs
shell
:
tar czf /tmp/static_course_content.tar.gz -C {{ edxapp_data_dir }} {{ edxapp_course_data_dir|basename }} {{ edxapp_course_static_dir|basename }}
shell
:
tar czf /tmp/static_course_content.tar.gz -C {{ edxapp_data_dir }}
--exclude ".git"
{{ edxapp_course_data_dir|basename }} {{ edxapp_course_static_dir|basename }}
-
name
:
upload archive to s3
s3
:
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment