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
82ca8a5b
Unverified
Commit
82ca8a5b
authored
Apr 23, 2018
by
Jeremy Bowman
Committed by
GitHub
Apr 23, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4508 from edx/jmbowman/TE-2546
TE-2546 Remove references to obsolete requirements files
parents
903b11f8
87d02ce8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
40 deletions
+4
-40
playbooks/roles/edxapp/defaults/main.yml
+1
-23
playbooks/roles/edxapp/tasks/deploy.yml
+0
-2
playbooks/roles/edxapp/vars/devstack.yml
+2
-11
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
+1
-4
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
82ca8a5b
...
...
@@ -1428,47 +1428,25 @@ edx_platform_repo: "https://{{ COMMON_GIT_MIRROR }}/edx/edx-platform.git"
# `edx_platform_version` can be anything that git recognizes as a commit
# reference, including a tag, a branch name, or a commit hash
edx_platform_version
:
'
release'
pre_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/pre.txt"
github_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/github.txt"
custom_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/custom.txt"
local_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/local.txt"
base_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/base.txt"
django_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/django.txt"
post_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/post.txt"
paver_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/paver.txt"
openstack_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/openstack.txt"
sandbox_base_requirements
:
"
{{
edxapp_code_dir
}}/requirements/edx-sandbox/base.txt"
sandbox_local_requirements
:
"
{{
edxapp_code_dir
}}/requirements/edx-sandbox/local.txt"
sandbox_post_requirements
:
"
{{
edxapp_code_dir
}}/requirements/edx-sandbox/post.txt"
# The Python requirements files in the order they should be installed. This order should
# match the order of PYTHON_REQ_FILES in edx-platform/pavelib/prereqs.py. (Also check the
# edx-solutions fork of edx-platform when if you consider reordering this list.)
# private_requirements_file is not included in this list, since it is only installed
# conditionally based on the value of EDXAPP_INSTALL_PRIVATE_REQUIREMENTS.
# match the order of PYTHON_REQ_FILES in edx-platform/pavelib/prereqs.py.
edxapp_requirements_files
:
-
"
{{
pre_requirements_file
}}"
-
"
{{
github_requirements_file
}}"
-
"
{{
custom_requirements_file
}}"
-
"
{{
local_requirements_file
}}"
-
"
{{
base_requirements_file
}}"
-
"
{{
django_requirements_file
}}"
-
"
{{
post_requirements_file
}}"
-
"
{{
paver_requirements_file
}}"
# All edxapp requirements files potentially containing Github URLs. When using a custom
# Github mirror, occurrences of "github.com" are replaced by the custom mirror in these
# files.
edxapp_requirements_with_github_urls
:
-
"
{{
pre_requirements_file
}}"
-
"
{{
github_requirements_file
}}"
-
"
{{
custom_requirements_file
}}"
-
"
{{
base_requirements_file
}}"
-
"
{{
post_requirements_file
}}"
-
"
{{
paver_requirements_file
}}"
-
"
{{
sandbox_post_requirements
}}"
-
"
{{
sandbox_local_requirements
}}"
-
"
{{
sandbox_base_requirements
}}"
edxapp_chrislea_ppa
:
"
ppa:chris-lea/node.js"
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
82ca8a5b
...
...
@@ -221,8 +221,6 @@
chdir
:
"
{{
edxapp_code_dir
}}"
with_items
:
-
"
{{
sandbox_base_requirements
}}"
-
"
{{
sandbox_local_requirements
}}"
-
"
{{
sandbox_post_requirements
}}"
become_user
:
"
{{
edxapp_user
}}"
when
:
not EDXAPP_PYTHON_SANDBOX
tags
:
...
...
playbooks/roles/edxapp/vars/devstack.yml
View file @
82ca8a5b
---
# The only difference between these requirements and the role defaults is the
#
presence of the "development.txt" and "testing.txt" files. These two se
ts
#
of requirements
should not be used in production.
#
use of "development.txt" instead of "base.txt". This set of requiremen
ts
# should not be used in production.
development_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/development.txt"
testing_requirements_file
:
"
{{
edxapp_code_dir
}}/requirements/edx/testing.txt"
edxapp_requirements_files
:
-
"
{{
pre_requirements_file
}}"
-
"
{{
github_requirements_file
}}"
-
"
{{
custom_requirements_file
}}"
-
"
{{
local_requirements_file
}}"
-
"
{{
base_requirements_file
}}"
-
"
{{
django_requirements_file
}}"
-
"
{{
post_requirements_file
}}"
-
"
{{
paver_requirements_file
}}"
-
"
{{
development_requirements_file
}}"
-
"
{{
testing_requirements_file
}}"
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
View file @
82ca8a5b
...
...
@@ -22,10 +22,7 @@
virtualenv
:
"
{{
jenkins_home
}}/edx-venv"
virtualenv_command
:
virtualenv
with_items
:
-
pre.txt
-
github.txt
-
base.txt
-
paver.txt
-
django.txt
-
testing.txt
become_user
:
"
{{
jenkins_user
}}"
...
...
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