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
33ae37fb
Commit
33ae37fb
authored
Feb 01, 2016
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't install or build ruby dependencies for edxapp
parent
30bac9d9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
40 deletions
+1
-40
playbooks/roles/edxapp/defaults/main.yml
+1
-13
playbooks/roles/edxapp/meta/main.yml
+0
-4
playbooks/roles/edxapp/tasks/deploy.yml
+0
-23
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
33ae37fb
...
...
@@ -558,15 +558,9 @@ edxapp_log_dir: "{{ COMMON_LOG_DIR }}/edxapp"
edxapp_venvs_dir
:
"
{{
edxapp_app_dir
}}/venvs"
edxapp_venv_dir
:
"
{{
edxapp_venvs_dir
}}/edxapp"
edxapp_venv_bin
:
"
{{
edxapp_venv_dir
}}/bin"
edxapp_rbenv_dir
:
"
{{
edxapp_app_dir
}}"
edxapp_rbenv_root
:
"
{{
edxapp_rbenv_dir
}}/.rbenv"
edxapp_rbenv_shims
:
"
{{
edxapp_rbenv_root
}}/shims"
edxapp_rbenv_bin
:
"
{{
edxapp_rbenv_root
}}/bin"
edxapp_gem_root
:
"
{{
edxapp_rbenv_dir
}}/.gem"
edxapp_gem_bin
:
"
{{
edxapp_gem_root
}}/bin"
edxapp_node_bin
:
"
{{
edxapp_code_dir
}}/node_modules/.bin"
edxapp_user
:
edxapp
edxapp_deploy_path
:
"
{{
edxapp_venv_bin
}}:{{
edxapp_code_dir
}}/bin:{{
edxapp_
rbenv_bin
}}:{{
edxapp_rbenv_shims
}}:{{
edxapp_gem_bin
}}:{{
edxapp_
node_bin
}}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
edxapp_deploy_path
:
"
{{
edxapp_venv_bin
}}:{{
edxapp_code_dir
}}/bin:{{
edxapp_node_bin
}}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
edxapp_staticfile_dir
:
"
{{
edxapp_data_dir
}}/staticfiles"
edxapp_media_dir
:
"
{{
edxapp_data_dir
}}/media"
edxapp_course_static_dir
:
"
{{
edxapp_data_dir
}}/course_static"
...
...
@@ -601,9 +595,6 @@ edxapp_environment:
LANG
:
"
{{
EDXAPP_LANG
}}"
NO_PREREQ_INSTALL
:
"
{{
EDXAPP_NO_PREREQ_INSTALL
}}"
SKIP_WS_MIGRATIONS
:
1
RBENV_ROOT
:
"
{{
edxapp_rbenv_root
}}"
GEM_HOME
:
"
{{
edxapp_gem_root
}}"
GEM_PATH
:
"
{{
edxapp_gem_root
}}"
PATH
:
"
{{
edxapp_deploy_path
}}"
# the settings module for edxapp, DJANGO_SETTINGS_MODULE
# should be set to {{SERVICE_VARIANT}}.{{EDXAPP_SETTINGS}}
...
...
@@ -1038,9 +1029,6 @@ edxapp_debian_pkgs:
# matplotlib needs libfreetype6-dev
-
libfreetype6-dev
# Ruby Specific Vars
edxapp_ruby_version
:
"
1.9.3-p374"
# Deploy Specific Vars
edxapp_lms_variant
:
lms
edxapp_cms_variant
:
cms
...
...
playbooks/roles/edxapp/meta/main.yml
View file @
33ae37fb
...
...
@@ -3,10 +3,6 @@ dependencies:
-
common
-
supervisor
-
edxapp_common
-
role
:
rbenv
rbenv_user
:
"
{{
edxapp_user
}}"
rbenv_dir
:
"
{{
edxapp_app_dir
}}"
rbenv_ruby_version
:
"
{{
edxapp_ruby_version
}}"
-
devpi
-
nltk
-
role
:
user
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
33ae37fb
...
...
@@ -120,29 +120,6 @@
-
install:code
-
install:app-requirements
# Ruby plays that need to be run after platform updates.
-
name
:
gem install bundler
shell
:
>
gem install bundle
chdir={{ edxapp_code_dir }}
executable=/bin/bash
environment
:
"
{{
edxapp_environment
}}"
sudo_user
:
"
{{
edxapp_user
}}"
tags
:
-
install
-
install:app-requirements
-
name
:
bundle install
shell
:
>
bundle install --binstubs
chdir={{ edxapp_code_dir }}
executable=/bin/bash
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
tags
:
-
install
-
install:app-requirements
# Set the npm registry
# This needs to be done as root since npm is weird about
# chown - https://github.com/npm/npm/issues/3565
...
...
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