Unverified Commit a1f55062 by Ned Batchelder Committed by GitHub

Merge pull request #4668 from edx/nedbat/require-release

Require OPENEDX_RELEASE
parents b7313f40 b1d59db6
- 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