Skip to content

Commit

Permalink
new debug disabled values for kubernetes defaults on aws
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-johnson committed Aug 2, 2018
1 parent 9c02f3e commit f934cfd
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ script:
- python manage.py test

after_success:
- export USE_VERSION=1.3.5
- export USE_VERSION=1.3.6
- echo "Building Docker images with tag=${USE_VERSION}"
- echo "Test Success - Branch=${TRAVIS_BRANCH} Version=${USE_VERSION} Pull Request=${TRAVIS_PULL_REQUEST} Tag=${TRAVIS_TAG}"
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then echo -e "Push Container to Docker Hub"; fi
Expand Down
41 changes: 41 additions & 0 deletions envs/k8-debug.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
export POSTGRES_HOST=postgres-primary
export POSTGRES_PORT=5432
export REDIS_HOST=redis-master
export REDIS_PORT=6379
export WEBAPP_HOST=0.0.0.0
export WEBAPP_PORT=8010
export JUPYTER_PORT=8888
export ANTINEX_URL=https://api-svc:8010
export ANTINEX_API_URL=https://api-svc:8010
export ANTINEX_AUTH_URL=redis://redis-master:6379/6
export ANTINEX_RESULT_AUTH_URL=redis://redis-master:6379/9
export ANTINEX_CORE_BROKER_URL=redis://redis-master:6379/6
export FORWARD_BROKER_URL=redis://redis-master:6379/0
export ENVIRONMENT=Development
export DJANGO_CONFIGURATION=Development
export DJANGO_SECRET_KEY=supersecret
export DJANGO_DEBUG=yes
export DJANGO_TEMPLATE_DEBUG=yes
export HTTP_X_FORWARDED_PROTOCOL_KEY=HTTP_X_FORWARDED_PROTO
export COLLECT_STATICS=1
export CELERY_ENABLED=1
export CACHEOPS_ENABLED=1
export ANTINEX_API_NUM_WORKERS=4
export ANTINEX_WORKER_ENABLED=1
export ANTINEX_WORKER_ONLY=0
export ANTINEX_WORKER_SSL_ENABLED=0
export ANTINEX_DELIVERY_MODE=persistent
export ANTINEX_EXCHANGE_NAME=webapp.predict.requests
export ANTINEX_EXCHANGE_TYPE=topic
export ANTINEX_QUEUE_NAME=webapp.predict.requests
export ANTINEX_CA_CERTS=
export ANTINEX_KEYFILE=
export ANTINEX_CERTFILE=
export ANTINEX_TLS_PROTOCOL=
export ANTINEX_KEYFILE=
export ANTINEX_CORE_NUM_WORKERS=1
export DJANGO_ALLOWED_HOSTS=*
export USE_ENV=k8
export USE_VENV=/opt/venv
export SHARED_DIR=/opt/data
export SHARED_LOG_CFG=/opt/antinex/core/antinex_core/log/k8-logging.json
50 changes: 50 additions & 0 deletions envs/k8-splunk-debug.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
export POSTGRES_HOST=postgres-primary
export POSTGRES_PORT=5432
export REDIS_HOST=redis-master
export REDIS_PORT=6379
export WEBAPP_HOST=0.0.0.0
export WEBAPP_PORT=8010
export JUPYTER_PORT=8888
export ANTINEX_URL=https://api-svc:8010
export ANTINEX_API_URL=https://api-svc:8010
export ANTINEX_AUTH_URL=redis://redis-master:6379/6
export ANTINEX_RESULT_AUTH_URL=redis://redis-master:6379/9
export ANTINEX_CORE_BROKER_URL=redis://redis-master:6379/6
export FORWARD_BROKER_URL=redis://redis-master:6379/0
export ENVIRONMENT=Development
export DJANGO_CONFIGURATION=Development
export DJANGO_SECRET_KEY=supersecret
export DJANGO_DEBUG=yes
export DJANGO_TEMPLATE_DEBUG=yes
export HTTP_X_FORWARDED_PROTOCOL_KEY=HTTP_X_FORWARDED_PROTO
export COLLECT_STATICS=1
export CELERY_ENABLED=1
export CACHEOPS_ENABLED=1
export ANTINEX_API_NUM_WORKERS=4
export ANTINEX_WORKER_ENABLED=1
export ANTINEX_WORKER_ONLY=0
export ANTINEX_WORKER_SSL_ENABLED=0
export ANTINEX_DELIVERY_MODE=persistent
export ANTINEX_EXCHANGE_NAME=webapp.predict.requests
export ANTINEX_EXCHANGE_TYPE=topic
export ANTINEX_QUEUE_NAME=webapp.predict.requests
export ANTINEX_CA_CERTS=
export ANTINEX_KEYFILE=
export ANTINEX_CERTFILE=
export ANTINEX_TLS_PROTOCOL=
export ANTINEX_KEYFILE=
export ANTINEX_CORE_NUM_WORKERS=1
export DJANGO_ALLOWED_HOSTS=*
export USE_ENV=k8-splunk
export USE_VENV=/opt/venv
export SHARED_DIR=/opt/data
export SHARED_LOG_CFG=/opt/antinex/core/antinex_core/log/k8-logging-splunk.json
export SPLUNK_USER=trex
export SPLUNK_PASSWORD=123321
export SPLUNK_INDEX=antinex
export SPLUNK_ADDRESS=splunk-svc:8088
export SPLUNK_API_ADDRESS=splunk-svc:8089
export SPLUNK_TCP_ADDRESS=splunk-tcp-svc:1514
export SPLUNK_HANDLER_NAME=splunk
export SPLUNK_VERIFY=1
export SPLUNK_DEBUG=0
5 changes: 2 additions & 3 deletions envs/k8-splunk.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ export ANTINEX_CORE_BROKER_URL=redis://redis-master:6379/6
export FORWARD_BROKER_URL=redis://redis-master:6379/0
export ENVIRONMENT=Development
export DJANGO_CONFIGURATION=Development
export DJANGO_SECRET_KEY=supersecret
export DJANGO_DEBUG=yes
export DJANGO_TEMPLATE_DEBUG=yes
export DJANGO_DEBUG=no
export DJANGO_TEMPLATE_DEBUG=no
export HTTP_X_FORWARDED_PROTOCOL_KEY=HTTP_X_FORWARDED_PROTO
export COLLECT_STATICS=1
export CELERY_ENABLED=1
Expand Down
5 changes: 2 additions & 3 deletions envs/k8.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ export ANTINEX_CORE_BROKER_URL=redis://redis-master:6379/6
export FORWARD_BROKER_URL=redis://redis-master:6379/0
export ENVIRONMENT=Development
export DJANGO_CONFIGURATION=Development
export DJANGO_SECRET_KEY=supersecret
export DJANGO_DEBUG=yes
export DJANGO_TEMPLATE_DEBUG=yes
export DJANGO_DEBUG=no
export DJANGO_TEMPLATE_DEBUG=no
export HTTP_X_FORWARDED_PROTOCOL_KEY=HTTP_X_FORWARDED_PROTO
export COLLECT_STATICS=1
export CELERY_ENABLED=1
Expand Down

0 comments on commit f934cfd

Please sign in to comment.