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
c088836b
Commit
c088836b
authored
7 years ago
by
Michael Youngstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dir for pip command
parent
2d404755
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
19 deletions
+1
-19
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
+1
-19
No files found.
playbooks/roles/jenkins_worker/tasks/python_platform_worker.yml
View file @
c088836b
...
...
@@ -16,6 +16,7 @@
# Install the platform requirements using pip.
-
name
:
Install edx-platform requirements using pip
pip
:
chdir
:
"
{{
jenkins_home
}}/shallow-clone"
requirements
:
"
{{
jenkins_home
}}/shallow-clone/requirements/edx/{{
item
}}"
extra_args
:
"
--exists-action=w"
virtualenv
:
"
{{
jenkins_home
}}/edx-venv"
...
...
@@ -28,25 +29,6 @@
-
testing.txt
become_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
become_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
with_items
:
-
post.txt
become_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
...
...
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