Commit 461a5dfa by Feanil Patel

Merge pull request #1989 from edx/feanil/update_ghmirror_urls

Removed post.txt from the list of files that will have its github urls replaced with git mirror urls.
parents ae229ce7 09807f8e
- Role: edxapp
- Removed post.txt from the list of files that will have its github urls replaced with git mirror urls.
- Role: edxapp
- The edxapp role no longer uses checksums to bypass pip installs.
- pip install will always run for all known requirements files.
......
......@@ -523,9 +523,8 @@ edxapp_sandbox_user: 'sandbox' # I think something about the codejail requires
edxapp_aa_command: "{% if EDXAPP_SANDBOX_ENFORCE %}aa-enforce{% else %}aa-complain{% endif %}"
# all edxapp requirements files
edxapp_all_req_files:
edxapp_requirements_with_github_urls:
- "{{ pre_requirements_file }}"
- "{{ post_requirements_file }}"
- "{{ base_requirements_file }}"
- "{{ paver_requirements_file }}"
- "{{ github_requirements_file }}"
......
......@@ -64,7 +64,7 @@
# This is run on every single deploy
- name: Updating requirement files for git mirror
command: |
/bin/sed -i -e 's/github\.com/{{ COMMON_GIT_MIRROR }}/g' {{ " ".join(edxapp_all_req_files) }}
/bin/sed -i -e 's/github\.com/{{ COMMON_GIT_MIRROR }}/g' {{ " ".join(edxapp_requirements_with_github_urls) }}
sudo_user: "{{ edxapp_user }}"
# Ruby plays that need to be run after platform updates.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment