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
c7db5d89
Commit
c7db5d89
authored
Jul 27, 2017
by
Jeremy Bowman
Committed by
GitHub
Jul 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15674 from edx/jmbowman/PLAT-1590
PLAT-1590 Fixes for Docker Devstack e2e tests
parents
8b24b29a
70c0b7bd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
cms/envs/devstack.py
+3
-2
cms/envs/devstack_docker.py
+1
-1
lms/envs/devstack.py
+3
-2
lms/envs/devstack_docker.py
+1
-1
No files found.
cms/envs/devstack.py
View file @
c7db5d89
...
@@ -90,8 +90,9 @@ DEBUG_TOOLBAR_CONFIG = {
...
@@ -90,8 +90,9 @@ DEBUG_TOOLBAR_CONFIG = {
}
}
def
should_show_debug_toolbar
(
_
):
def
should_show_debug_toolbar
(
request
):
return
True
# We always want the toolbar on devstack regardless of IP, auth, etc.
# We always want the toolbar on devstack unless running tests from another Docker container
return
not
request
.
get_host
()
.
startswith
(
'edx.devstack.studio:'
)
# To see stacktraces for MongoDB queries, set this to True.
# To see stacktraces for MongoDB queries, set this to True.
...
...
cms/envs/devstack_docker.py
View file @
c7db5d89
...
@@ -10,7 +10,7 @@ LOGGING['handlers']['local'] = LOGGING['handlers']['tracking'] = {
...
@@ -10,7 +10,7 @@ LOGGING['handlers']['local'] = LOGGING['handlers']['tracking'] = {
LOGGING
[
'loggers'
][
'tracking'
][
'handlers'
]
=
[
'console'
]
LOGGING
[
'loggers'
][
'tracking'
][
'handlers'
]
=
[
'console'
]
LMS_BASE
=
'edx.devstack.lms:18000'
LMS_BASE
=
'edx.devstack.lms:18000'
CMS_BASE
=
'edx.devstack.
cms
:18010'
CMS_BASE
=
'edx.devstack.
studio
:18010'
LMS_ROOT_URL
=
'http://{}'
.
format
(
LMS_BASE
)
LMS_ROOT_URL
=
'http://{}'
.
format
(
LMS_BASE
)
...
...
lms/envs/devstack.py
View file @
c7db5d89
...
@@ -87,8 +87,9 @@ DEBUG_TOOLBAR_CONFIG = {
...
@@ -87,8 +87,9 @@ DEBUG_TOOLBAR_CONFIG = {
}
}
def
should_show_debug_toolbar
(
_
):
def
should_show_debug_toolbar
(
request
):
return
True
# We always want the toolbar on devstack regardless of IP, auth, etc.
# We always want the toolbar on devstack unless running tests from another Docker container
return
not
request
.
get_host
()
.
startswith
(
'edx.devstack.lms:'
)
########################### PIPELINE #################################
########################### PIPELINE #################################
...
...
lms/envs/devstack_docker.py
View file @
c7db5d89
...
@@ -10,7 +10,7 @@ LOGGING['handlers']['local'] = LOGGING['handlers']['tracking'] = {
...
@@ -10,7 +10,7 @@ LOGGING['handlers']['local'] = LOGGING['handlers']['tracking'] = {
LOGGING
[
'loggers'
][
'tracking'
][
'handlers'
]
=
[
'console'
]
LOGGING
[
'loggers'
][
'tracking'
][
'handlers'
]
=
[
'console'
]
LMS_BASE
=
'edx.devstack.lms:18000'
LMS_BASE
=
'edx.devstack.lms:18000'
CMS_BASE
=
'edx.devstack.
cms
:18010'
CMS_BASE
=
'edx.devstack.
studio
:18010'
SITE_NAME
=
LMS_BASE
SITE_NAME
=
LMS_BASE
LMS_ROOT_URL
=
'http://{}'
.
format
(
LMS_BASE
)
LMS_ROOT_URL
=
'http://{}'
.
format
(
LMS_BASE
)
...
...
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