Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
964588f5
Commit
964588f5
authored
Nov 02, 2016
by
Stu Young
Committed by
GitHub
Nov 02, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13869 from edx/estute/log-pip-freeze
log pip freeze output for debugging jenkins builds
parents
464ab1a1
48b2575c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
pavelib/prereqs.py
+7
-0
pavelib/utils/envs.py
+4
-1
No files found.
pavelib/prereqs.py
View file @
964588f5
...
...
@@ -300,3 +300,10 @@ def install_prereqs():
install_node_prereqs
()
install_python_prereqs
()
log_installed_python_prereqs
()
def
log_installed_python_prereqs
():
""" Logs output of pip freeze for debugging. """
sh
(
"pip freeze > {}"
.
format
(
Env
.
GEN_LOG_DIR
+
"/pip_freeze.log"
))
return
pavelib/utils/envs.py
View file @
964588f5
...
...
@@ -22,12 +22,15 @@ class Env(object):
REPORT_DIR
=
REPO_ROOT
/
'reports'
METRICS_DIR
=
REPORT_DIR
/
'metrics'
# Generic log dir
GEN_LOG_DIR
=
REPO_ROOT
/
"test_root"
/
"log"
# Python unittest dirs
PYTHON_COVERAGERC
=
REPO_ROOT
/
".coveragerc"
# Bok_choy dirs
BOK_CHOY_DIR
=
REPO_ROOT
/
"common"
/
"test"
/
"acceptance"
BOK_CHOY_LOG_DIR
=
REPO_ROOT
/
"test_root"
/
"log"
BOK_CHOY_LOG_DIR
=
GEN_LOG_DIR
BOK_CHOY_REPORT_DIR
=
REPORT_DIR
/
"bok_choy"
BOK_CHOY_A11Y_REPORT_DIR
=
REPORT_DIR
/
"a11y"
BOK_CHOY_COVERAGERC
=
BOK_CHOY_DIR
/
".coveragerc"
...
...
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