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
579038ef
Commit
579038ef
authored
Apr 17, 2018
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pin pip in edxapp and in all IDAs that use the edx_django_service role.
parent
fb624df3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletions
+21
-1
playbooks/roles/common_vars/defaults/main.yml
+4
-1
playbooks/roles/edx_django_service/tasks/main.yml
+7
-0
playbooks/roles/edxapp/tasks/deploy.yml
+10
-0
No files found.
playbooks/roles/common_vars/defaults/main.yml
View file @
579038ef
...
@@ -125,8 +125,11 @@ common_debian_pkgs:
...
@@ -125,8 +125,11 @@ common_debian_pkgs:
old_python_debian_pkgs
:
old_python_debian_pkgs
:
-
"
python2.7=2.7.10-0+{{
ansible_distribution_release
}}1"
-
"
python2.7=2.7.10-0+{{
ansible_distribution_release
}}1"
common_pip_version
:
'
9.0.3'
common_pip_pkgs
:
common_pip_pkgs
:
-
pip==
9.0.3
-
pip==
{{ common_pip_version }}
-
setuptools==39.0.1
-
setuptools==39.0.1
-
virtualenv==15.2.0
-
virtualenv==15.2.0
-
virtualenvwrapper==4.8.2
-
virtualenvwrapper==4.8.2
...
...
playbooks/roles/edx_django_service/tasks/main.yml
View file @
579038ef
...
@@ -61,6 +61,13 @@
...
@@ -61,6 +61,13 @@
-
install
-
install
-
install:system-requirements
-
install:system-requirements
-
name
:
Pin pip to a specific version.
command
:
"
{{
edx_django_service_venv_dir
}}/bin/pip
install
pip=={{
common_pip_version
}}"
become_user
:
"
{{
edx_django_service_user
}}"
tags
:
-
install
-
install:system-requirements
# NOTE (CCB): Ideally we should use the pip Ansible command,
# NOTE (CCB): Ideally we should use the pip Ansible command,
# but that doesn't seem to work with the Python 3.x virtualenv.
# but that doesn't seem to work with the Python 3.x virtualenv.
-
name
:
install nodenv
-
name
:
install nodenv
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
579038ef
...
@@ -129,6 +129,16 @@
...
@@ -129,6 +129,16 @@
-
install
-
install
-
install:app-requirements
-
install:app-requirements
-
name
:
Pin pip to a specific version.
command
:
"
{{
edxapp_venv_dir
}}/bin/pip
install
pip=={{
common_pip_version
}}"
args
:
chdir
:
"
{{
edxapp_code_dir
}}"
become_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
tags
:
-
install
-
install:app-requirements
-
name
:
Stat each Python requirements file to ensure it exists
-
name
:
Stat each Python requirements file to ensure it exists
stat
:
stat
:
path
:
"
{{
item
}}"
path
:
"
{{
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