Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
bug 1116335 - use vm uploads dir during vm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed May 28, 2015
1 parent 148a9d8 commit 2924329
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
14 changes: 14 additions & 0 deletions provisioning/roles/kuma/files/vagrant/settings_test.py
@@ -0,0 +1,14 @@
from settings import *

DEBUG = False
CELERY_ALWAYS_EAGER = True
ES_LIVE_INDEX = False
ES_URLS = ['localhost:9200']

INSTALLED_APPS += (
'kuma.core.tests.taggit_extras',
'kuma.actioncounters.tests',
)
BANISH_ENABLED = False

DEMO_UPLOADS_ROOT = '/home/vagrant/uploads/demos'
10 changes: 1 addition & 9 deletions provisioning/roles/kuma/tasks/vagrant.yml
Expand Up @@ -13,6 +13,7 @@
dest: "/home/vagrant/src/{{ item }}"
with_items:
- settings_local.py
- settings_test.py
- kumascript_settings_local.json

- name: Bash profile
Expand All @@ -39,15 +40,6 @@
state: directory
mode: 0777

- name: Ensure upload symlink
file:
src: "/home/vagrant/src/media/uploads"
path: "/home/vagrant/uploads"
state: link
owner: vagrant
group: vagrant
force: yes

- name: htaccess links
file:
src: "/home/vagrant/src/configs/htaccess"
Expand Down

0 comments on commit 2924329

Please sign in to comment.