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
9743533f
Commit
9743533f
authored
6 years ago
by
Jeremy Bowman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sandbox pip runs with new requirements files (take 2)
This reverts commit
4aab0091
.
parent
5de93c27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
16 deletions
+1
-16
playbooks/roles/edxapp/tasks/deploy.yml
+1
-16
No files found.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
9743533f
...
...
@@ -272,6 +272,7 @@
-
name
:
code sandbox | Install base sandbox requirements and create sandbox virtualenv
pip
:
chdir
:
"
{{
edxapp_code_dir
}}"
requirements
:
"
{{
sandbox_base_requirements
}}"
virtualenv
:
"
{{
edxapp_sandbox_venv_dir
}}"
state
:
present
...
...
@@ -283,22 +284,6 @@
-
install
-
install:app-requirements
-
name
:
code sandbox | Install sandbox requirements into sandbox venv
shell
:
"
{{
edxapp_sandbox_venv_dir
}}/bin/pip
install
-i
{{
COMMON_PYPI_MIRROR_URL
}}
--exists-action
w
-r
{{
item
}}"
args
:
chdir
:
"
{{
edxapp_code_dir
}}"
with_items
:
-
"
{{
sandbox_local_requirements
}}"
-
"
{{
sandbox_post_requirements
}}"
become_user
:
"
{{
edxapp_sandbox_user
}}"
when
:
EDXAPP_PYTHON_SANDBOX
register
:
sandbox_install_output
changed_when
:
sandbox_install_output.stdout is defined and 'installed' in sandbox_install_output.stdout
tags
:
-
edxapp-sandbox
-
install
-
install:app-requirements
-
name
:
code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE
command
:
/usr/sbin/{{ edxapp_aa_command }} /etc/apparmor.d/code.sandbox
when
:
EDXAPP_PYTHON_SANDBOX
...
...
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