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
edx
configuration
Commits
4db3ee7a
Commit
4db3ee7a
authored
Jun 02, 2016
by
Kevin Falcone
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3070 from edx/jibsheet/clean-up-staticfiles
Clean up /edx/var/edxapp/staticfiles before paver runs
parents
b31b13ce
713b5ccc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
playbooks/roles/edxapp/tasks/service_variant_config.yml
+18
-0
No files found.
playbooks/roles/edxapp/tasks/service_variant_config.yml
View file @
4db3ee7a
...
...
@@ -126,6 +126,24 @@
tags
:
-
migrate
# There are problems with django collectstatic copying files. It doesn't retain
# last modified timestamps, but relies on those same timestamps to know if a new file
# should be recopied. While collectstatic --clear exists, it only clears some of the
# files in edxapp_staticfile_dir, it leaves postprocessed or otherwise hashed files.
# This ensures we have a totally clean directory.
-
name
:
Remove and recreate the staticfiles directory so nothing stale can exist
file
:
path
:
"
{{
edxapp_staticfile_dir
}}"
state
:
"
{{
item
}}"
owner
:
"
{{
edxapp_user
}}"
group
:
"
{{
common_web_group
}}"
mode
:
0755
when
:
celery_worker is not defined and not devstack
with_items
:
[
'
absent'
,
'
directory'
]
tags
:
-
gather_static_assets
-
assets
# Gather assets using paver if possible
-
name
:
"
gather
{{
item
}}
static
assets
with
paver"
command
:
"
{{
COMMON_BIN_DIR
}}/edxapp-update-assets-{{
item
}}"
...
...
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