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
1814b1a0
Commit
1814b1a0
authored
May 06, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make install of post.txt optional for jenkins_worker.
parent
513aec13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletions
+20
-1
playbooks/roles/jenkins_worker/tasks/python.yml
+20
-1
No files found.
playbooks/roles/jenkins_worker/tasks/python.yml
View file @
1814b1a0
...
...
@@ -58,10 +58,29 @@
-
pre.txt
-
github.txt
-
base.txt
-
post.txt
-
paver.txt
sudo_user
:
"
{{
jenkins_user
}}"
# These and the pip install below it can be removed some time after
# https://github.com/edx/edx-platform/pull/7465 has merged.
# This will keep us from breaking after that gets merged.
-
stat
:
path="{{ jenkins_home }}/shallow-clone/requirements/edx/post.txt"
register
:
post_requirements
sudo_user
:
"
{{
jenkins_user
}}"
-
name
:
Install edx-platform post requirements using pip
pip
:
>
requirements={{ jenkins_home }}/shallow-clone/requirements/edx/{{ item }}
extra_args="--exists-action=w"
virtualenv={{ jenkins_home }}/edx-venv
virtualenv_command=virtualenv-2.7
executable=pip
with_items
:
-
post.txt
sudo_user
:
"
{{
jenkins_user
}}"
when
:
post_requirements.stat.exists
# Archive the current state of the virtualenv
# as a starting point for new builds.
# The edx-venv directory is deleted and then recreated
...
...
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