Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
devstack
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
devstack
Commits
ba93cfd2
Commit
ba93cfd2
authored
Apr 10, 2017
by
Joel Barciauskas
Committed by
Joel Barciauskas
Apr 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add curl health checks for ecomm, studio and LMS to Travis
parent
3f5a9c9b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
.travis.yml
+1
-0
Makefile
+3
-0
healthchecks.sh
+11
-0
No files found.
.travis.yml
View file @
ba93cfd2
...
...
@@ -13,3 +13,4 @@ before_install:
script
:
-
make provision
-
make healthchecks
Makefile
View file @
ba93cfd2
...
...
@@ -55,3 +55,6 @@ lms-shell: ## Run a shell on the LMS container
studio-shell
:
##
Run a shell on the Studio container
docker
exec
-it
edx.devstack.studio env
TERM
=
$(TERM)
/edx/app/edxapp/devstack.sh open
healthchecks
:
##
Run a curl against all services' healthcheck endpoints to make sure they are up. This will eventually be parameterized
./healthchecks.sh
healthchecks.sh
0 → 100755
View file @
ba93cfd2
set
-e
set
-x
echo
"Checking LMS heartbeat:"
curl http://localhost:18000/heartbeat
# LMS
echo
echo
"Checking Studio heartbeat:"
curl http://localhost:18010/heartbeat
# Studio
echo
echo
"Checking ecommerce health:"
curl http://localhost:18130/health/
# Ecommerce
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