Permalink
Browse files

[Bug 809449] Set the ES prefix based on build.sh

Use the build name to generate a ES_INDEX_PREFIX value in build.sh, so
we can have multiple jobs on Jenkins without them colliding in ES.
  • Loading branch information...
1 parent 38a5db4 commit 60e1a64950998e24a475d06ced2382c09ac9962f @mythmon mythmon committed Nov 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 scripts/build.sh
View
@@ -57,6 +57,7 @@ DATABASES['default']['TEST_CHARSET'] = 'utf8'
DATABASES['default']['TEST_COLLATION'] = 'utf8_general_ci'
CELERY_ALWAYS_EAGER = True
CACHE_BACKEND = 'caching.backends.locmem://'
+ES_INDEX_PREFIX = 'sumo_$BUILD_NAME'
SETTINGS
echo "Starting tests..." `date`

0 comments on commit 60e1a64

Please sign in to comment.