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
62a45d19
Commit
62a45d19
authored
Apr 02, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #977 from edx/feanil/local_pypi
Feanil/local pypi
parents
00db0fe7
f013f714
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
41 additions
and
13 deletions
+41
-13
AUTHORS
+1
-0
playbooks/roles/devpi/tasks/main.yml
+1
-0
playbooks/roles/discern/tasks/deploy.yml
+6
-2
playbooks/roles/edx_ansible/tasks/deploy.yml
+3
-1
playbooks/roles/ora/tasks/deploy.yml
+6
-2
playbooks/roles/ora/tasks/ease.yml
+6
-2
playbooks/roles/supervisor/tasks/main.yml
+6
-2
playbooks/roles/xqueue/tasks/deploy.yml
+6
-2
playbooks/roles/xserver/tasks/deploy.yml
+6
-2
No files found.
AUTHORS
View file @
62a45d19
...
...
@@ -27,3 +27,4 @@ William Desloge <william.desloge@ionis-group.com>
Valera Rozuvan <valera.rozuvan@gmail.com>
Ker Ruben Ramos <xdiscent@gmail.com>
Fred Smith <derf@edx.org>
Wang Peifeng <pku9104038@hotmail.com>
playbooks/roles/devpi/tasks/main.yml
View file @
62a45d19
...
...
@@ -63,6 +63,7 @@
name={{ item }}
state=present
virtualenv={{ devpi_venv_dir }}
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
devpi_user
}}"
with_items
:
devpi_pip_pkgs
notify
:
restart devpi
...
...
playbooks/roles/discern/tasks/deploy.yml
View file @
62a45d19
...
...
@@ -46,7 +46,9 @@
#Numpy has to be a pre-requirement in order for scipy to build
-
name
:
install python pre-requirements for discern and ease
pip
:
requirements={{item}} virtualenv={{ discern_venv_dir }} state=present
pip
:
>
requirements={{item}} virtualenv={{ discern_venv_dir }} state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
discern_user
}}"
notify
:
-
restart discern
...
...
@@ -55,7 +57,9 @@
-
"
{{
discern_ease_pre_requirements_file
}}"
-
name
:
install python requirements for discern and ease
pip
:
requirements={{item}} virtualenv={{ discern_venv_dir }} state=present
pip
:
>
requirements={{item}} virtualenv={{ discern_venv_dir }} state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
discern_user
}}"
notify
:
-
restart discern
...
...
playbooks/roles/edx_ansible/tasks/deploy.yml
View file @
62a45d19
...
...
@@ -4,7 +4,9 @@
sudo_user
:
"
{{
edx_ansible_user
}}"
-
name
:
install edx_ansible venv requirements
pip
:
requirements="{{ edx_ansible_requirements_file }}" virtualenv="{{ edx_ansible_venv_dir }}" state=present
pip
:
>
requirements="{{ edx_ansible_requirements_file }}" virtualenv="{{ edx_ansible_venv_dir }}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
edx_ansible_user
}}"
-
name
:
create update script
...
...
playbooks/roles/ora/tasks/deploy.yml
View file @
62a45d19
...
...
@@ -52,7 +52,9 @@
# Install the python pre requirements into {{ ora_venv_dir }}
-
name
:
install python pre-requirements
pip
:
requirements="{{ ora_pre_requirements_file }}" virtualenv="{{ ora_venv_dir }}" state=present
pip
:
>
requirements="{{ ora_pre_requirements_file }}" virtualenv="{{ ora_venv_dir }}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
ora_user
}}"
notify
:
-
restart ora
...
...
@@ -60,7 +62,9 @@
# Install the python post requirements into {{ ora_venv_dir }}
-
name
:
install python post-requirements
pip
:
requirements="{{ ora_post_requirements_file }}" virtualenv="{{ ora_venv_dir }}" state=present
pip
:
>
requirements="{{ ora_post_requirements_file }}" virtualenv="{{ ora_venv_dir }}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
ora_user
}}"
notify
:
-
restart ora
...
...
playbooks/roles/ora/tasks/ease.yml
View file @
62a45d19
...
...
@@ -16,7 +16,9 @@
# Install the python pre requirements into {{ ora_ease_venv_dir }}
-
name
:
install ease python pre-requirements
pip
:
requirements="{{ora_ease_pre_requirements_file}}" virtualenv="{{ora_ease_venv_dir}}" state=present
pip
:
>
requirements="{{ora_ease_pre_requirements_file}}" virtualenv="{{ora_ease_venv_dir}}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
ora_user
}}"
notify
:
-
restart ora
...
...
@@ -24,7 +26,9 @@
# Install the python post requirements into {{ ora_ease_venv_dir }}
-
name
:
install ease python post-requirements
pip
:
requirements="{{ora_ease_post_requirements_file}}" virtualenv="{{ora_ease_venv_dir}}" state=present
pip
:
>
requirements="{{ora_ease_post_requirements_file}}" virtualenv="{{ora_ease_venv_dir}}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
ora_user
}}"
notify
:
-
restart ora
...
...
playbooks/roles/supervisor/tasks/main.yml
View file @
62a45d19
...
...
@@ -87,11 +87,15 @@
-
name
:
install supervisor in its venv
pip
:
name=supervisor virtualenv="{{supervisor_venv_dir}}" state=present
pip
:
>
name=supervisor virtualenv="{{supervisor_venv_dir}}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
supervisor_user
}}"
-
name
:
install supervisor in its venv
pip
:
name=boto virtualenv="{{supervisor_venv_dir}}" state=present
pip
:
>
name=boto virtualenv="{{supervisor_venv_dir}}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
supervisor_user
}}"
when
:
supervisor_service == "supervisor" and disable_edx_services and not devstack
...
...
playbooks/roles/xqueue/tasks/deploy.yml
View file @
62a45d19
...
...
@@ -36,14 +36,18 @@
# Install the python pre requirements into {{ xqueue_venv_dir }}
-
name
:
install python pre-requirements
pip
:
requirements="{{ xqueue_pre_requirements_file }}" virtualenv="{{ xqueue_venv_dir }}" state=present
pip
:
>
requirements="{{ xqueue_pre_requirements_file }}" virtualenv="{{ xqueue_venv_dir }}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
xqueue_user
}}"
notify
:
-
restart xqueue
# Install the python post requirements into {{ xqueue_venv_dir }}
-
name
:
install python post-requirements
pip
:
requirements="{{ xqueue_post_requirements_file }}" virtualenv="{{ xqueue_venv_dir }}" state=present
pip
:
>
requirements="{{ xqueue_post_requirements_file }}" virtualenv="{{ xqueue_venv_dir }}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
xqueue_user
}}"
notify
:
-
restart xqueue
...
...
playbooks/roles/xserver/tasks/deploy.yml
View file @
62a45d19
...
...
@@ -17,12 +17,16 @@
notify
:
restart xserver
-
name
:
install requirements
pip
:
requirements="{{xserver_requirements_file}}" virtualenv="{{ xserver_venv_dir }}" state=present
pip
:
>
requirements="{{xserver_requirements_file}}" virtualenv="{{ xserver_venv_dir }}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
xserver_user
}}"
notify
:
restart xserver
-
name
:
install sandbox requirements
pip
:
requirements="{{xserver_requirements_file}}" virtualenv="{{xserver_venv_sandbox_dir}}" state=present
pip
:
>
requirements="{{xserver_requirements_file}}" virtualenv="{{xserver_venv_sandbox_dir}}" state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
sudo_user
:
"
{{
xserver_user
}}"
notify
:
restart xserver
...
...
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