Commit b1d59db6 by Ned Batchelder

Require OPENEDX_RELEASE

parent b7313f40
- Installation
- OPENEDX_RELEASE is now required, to prevent accidental installation of master.
- XQueue - XQueue
- Expose CLOUDWATCH_QUEUE_COUNT_METRIC which is defined XQueue's settings.py for further dictionary structure - Expose CLOUDWATCH_QUEUE_COUNT_METRIC which is defined XQueue's settings.py for further dictionary structure
......
...@@ -9,11 +9,17 @@ ...@@ -9,11 +9,17 @@
## ##
## ##
## Sanity check ## Sanity checks
## ##
if [[ ! $OPENEDX_RELEASE ]]; then
echo "You must define OPENEDX_RELEASE"
exit
fi
if [[ `lsb_release -rs` != "16.04" ]]; then if [[ `lsb_release -rs` != "16.04" ]]; then
echo "This script is only known to work on Ubuntu 16.04, exiting..."; echo "This script is only known to work on Ubuntu 16.04, exiting..."
exit; exit
fi fi
## ##
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment