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
aff5aa13
Commit
aff5aa13
authored
Mar 18, 2015
by
Fred Smith
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1908 from edx/derf/pip_-_wipe_existing_requirements_on_name_conflict
pip - wipe existing requirements on name conflict
parents
3b5cda73
094ba823
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/edxapp/tasks/deploy.yml
+4
-4
No files found.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
aff5aa13
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
requirements="{{ pre_requirements_file }}"
requirements="{{ pre_requirements_file }}"
virtualenv="{{ edxapp_venv_dir }}"
virtualenv="{{ edxapp_venv_dir }}"
state=present
state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}
--exists-action w
"
sudo_user
:
"
{{
edxapp_user
}}"
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
environment
:
"
{{
edxapp_environment
}}"
when
:
not inst.stat.exists or new.stat.md5 != inst.stat.md5
when
:
not inst.stat.exists or new.stat.md5 != inst.stat.md5
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
requirements="{{ post_requirements_file }}"
requirements="{{ post_requirements_file }}"
virtualenv="{{ edxapp_venv_dir }}"
virtualenv="{{ edxapp_venv_dir }}"
state=present
state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}
--exists-action w
"
sudo_user
:
"
{{
edxapp_user
}}"
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
environment
:
"
{{
edxapp_environment
}}"
when
:
not inst.stat.exists or new.stat.md5 != inst.stat.md5
when
:
not inst.stat.exists or new.stat.md5 != inst.stat.md5
...
@@ -160,7 +160,7 @@
...
@@ -160,7 +160,7 @@
requirements="{{ paver_requirements_file }}"
requirements="{{ paver_requirements_file }}"
virtualenv="{{ edxapp_venv_dir }}"
virtualenv="{{ edxapp_venv_dir }}"
state=present
state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}
--exists-action w
"
sudo_user
:
"
{{
edxapp_user
}}"
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
environment
:
"
{{
edxapp_environment
}}"
when
:
not inst.stat.exists or new.stat.md5 != inst.stat.md5
when
:
not inst.stat.exists or new.stat.md5 != inst.stat.md5
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
requirements="{{ custom_requirements_file }}"
requirements="{{ custom_requirements_file }}"
virtualenv="{{ edxapp_venv_dir }}"
virtualenv="{{ edxapp_venv_dir }}"
state=present
state=present
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}"
extra_args="-i {{ COMMON_PYPI_MIRROR_URL }}
--exists-action w
"
sudo_user
:
"
{{
edxapp_user
}}"
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
environment
:
"
{{
edxapp_environment
}}"
when
:
custom_requirements.stat.exists and new.stat.md5 != inst.stat.md5
when
:
custom_requirements.stat.exists and new.stat.md5 != inst.stat.md5
...
...
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