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
OpenEdx
configuration
Commits
d97702a7
Commit
d97702a7
authored
9 years ago
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another attempt at not timing out
parent
0576ae37
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
docker/build/edxapp/ansible_overrides.yml
+3
-0
playbooks/roles/common_vars/defaults/main.yml
+1
-0
playbooks/roles/edxapp/tasks/deploy.yml
+3
-3
No files found.
docker/build/edxapp/ansible_overrides.yml
View file @
d97702a7
...
...
@@ -2,6 +2,9 @@
DOCKER_TLD
:
"
edx"
# prevents Travis from giving up on the build
COMMON_PIP_VERBOSITY
:
"
-vvvv"
EDXAPP_MYSQL_HOST
:
"
db.{{
DOCKER_TLD
}}"
EDXAPP_MONGO_HOSTS
:
-
"
mongo.{{
DOCKER_TLD
}}"
This diff is collapsed.
Click to expand it.
playbooks/roles/common_vars/defaults/main.yml
View file @
d97702a7
...
...
@@ -39,6 +39,7 @@ common_directories:
COMMON_ENVIRONMENT
:
'
default_env'
COMMON_DEPLOYMENT
:
'
default_deployment'
COMMON_PIP_VERBOSITY
:
'
'
COMMON_PYPI_MIRROR_URL
:
'
https://pypi.python.org/simple'
COMMON_NPM_MIRROR_URL
:
'
http://registry.npmjs.org'
COMMON_UBUNTU_APT_KEYSERVER
:
"
http://keyserver.ubuntu.com/pks/lookup?op=get&fingerprint=on&search="
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
d97702a7
...
...
@@ -198,7 +198,7 @@
# requirements are pathed relative to the edx-platform repo. Using the pip from inside the virtual environment implicitly
# installs everything into that virtual environment.
command
:
>
{{ edxapp_venv_dir }}/bin/pip install -i {{ COMMON_PYPI_MIRROR_URL }} --exists-action w -r {{ item.item }}
{{ edxapp_venv_dir }}/bin/pip install
{{ COMMON_PIP_VERBOSITY }}
-i {{ COMMON_PYPI_MIRROR_URL }} --exists-action w -r {{ item.item }}
chdir={{ edxapp_code_dir }}
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
...
...
@@ -215,7 +215,7 @@
# requirements are pathed relative to the edx-platform repo. Using the pip from inside the virtual environment implicitly
# installs everything into that virtual environment.
shell
:
>
{{ edxapp_venv_dir }}/bin/pip install -i {{ COMMON_PYPI_MIRROR_URL }} --exists-action w -r {{ item }}
{{ edxapp_venv_dir }}/bin/pip install
{{ COMMON_PIP_VERBOSITY }}
-i {{ COMMON_PYPI_MIRROR_URL }} --exists-action w -r {{ item }}
chdir={{ edxapp_code_dir }}
with_items
:
-
"
{{
private_requirements_file
}}"
...
...
@@ -261,7 +261,7 @@
# requirements are pathed relative to the edx-platform repo. Using the pip from inside the virtual environment implicitly
# installs everything into that virtual environment.
shell
:
>
{{ edxapp_venv_dir }}/bin/pip install -i {{ COMMON_PYPI_MIRROR_URL }} --exists-action w -r {{ item }}
{{ edxapp_venv_dir }}/bin/pip install
{{ COMMON_PIP_VERBOSITY }}
-i {{ COMMON_PYPI_MIRROR_URL }} --exists-action w -r {{ item }}
chdir={{ edxapp_code_dir }}
with_items
:
-
"
{{
sandbox_base_requirements
}}"
...
...
This diff is collapsed.
Click to expand it.
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