<commit_before>#!/bin/bash

#
# Discover the APP_BASE from the location of this script.
#
if [ -z "$APP_BASE" ] ; then
  DIRNAME=`dirname "$0"`
  APP_BASE=`cd "$DIRNAME"; pwd`
  export APP_BASE
fi

OPENSHIFT_VERSION=v0.4.2

FABRIC8_VERSION=2.0.40
OPENSHIFT_IMAGE=openshift/origin:${OPENSHIFT_VERSION}
OPENSHIFT_ROUTER_IMAGE=openshift/origin-haproxy-router:${OPENSHIFT_VERSION}
REGISTRY_IMAGE=openshift/origin-docker-registry:${OPENSHIFT_VERSION}
INFLUXDB_IMAGE=tutum/influxdb:latest
FABRIC8_CONSOLE_IMAGE=fabric8/hawtio-kubernetes:latest
KIBANA_IMAGE=jimmidyson/kibana4:latest
ELASTICSEARCH_IMAGE=fabric8/elasticsearch-k8s:1.5.0
FLUENTD_IMAGE=fabric8/fluentd-kubernetes:latest
#GRAFANA_IMAGE=jimmidyson/grafana:latest
APP_LIBRARY_IMAGE=fabric8/app-library:${FABRIC8_VERSION}
FORGE_IMAGE=fabric8/fabric8-forge:${FABRIC8_VERSION}
KIWIIRC_IMAGE=fabric8/fabric8-kiwiirc:latest
REDIS_IMAGE=redis:latest
GOIRC_SERVER_IMAGE=lonli078/go-irc-server:latest
HUBOT_IMAGE=fabric8/hubot:latest
HUBOT_NOTIFIER=fabric8/hubot-notifier:${FABRIC8_VERSION}

MINIMUM_IMAGES="${OPENSHIFT_IMAGE} ${FABRIC8_CONSOLE_IMAGE} ${APP_LIBRARY_IMAGE} ${REGISTRY_IMAGE} ${OPENSHIFT_ROUTER_IMAGE}"
ALL_IMAGES="${MINIMUM_IMAGES} ${INFLUXDB_IMAGE} ${KIBANA_IMAGE} ${ELASTICSEARCH_IMAGE} ${FLUENTD_IMAGE} ${GRAFANA_IMAGE} ${FORGE_IMAGE} ${KIWIIRC_IMAGE} ${REDIS_IMAGE} ${GOIRC_SERVER_IMAGE} ${HUBOT_IMAGE} ${HUBOT_NOTIFIER}"<commit_msg>Fabric8 upgrade<commit_after>#!/bin/bash

#
# Discover the APP_BASE from the location of this script.
#
if [ -z "$APP_BASE" ] ; then
  DIRNAME=`dirname "$0"`
  APP_BASE=`cd "$DIRNAME"; pwd`
  export APP_BASE
fi

OPENSHIFT_VERSION=v0.4.2

FABRIC8_VERSION=192.168.127.12
OPENSHIFT_IMAGE=openshift/origin:${OPENSHIFT_VERSION}
OPENSHIFT_ROUTER_IMAGE=openshift/origin-haproxy-router:${OPENSHIFT_VERSION}
REGISTRY_IMAGE=openshift/origin-docker-registry:${OPENSHIFT_VERSION}
INFLUXDB_IMAGE=tutum/influxdb:latest
FABRIC8_CONSOLE_IMAGE=fabric8/hawtio-kubernetes:latest
KIBANA_IMAGE=jimmidyson/kibana4:latest
ELASTICSEARCH_IMAGE=fabric8/elasticsearch-k8s:1.5.0
FLUENTD_IMAGE=fabric8/fluentd-kubernetes:latest
#GRAFANA_IMAGE=jimmidyson/grafana:latest
APP_LIBRARY_IMAGE=fabric8/app-library:${FABRIC8_VERSION}
FORGE_IMAGE=fabric8/fabric8-forge:${FABRIC8_VERSION}
KIWIIRC_IMAGE=fabric8/fabric8-kiwiirc:latest
REDIS_IMAGE=redis:latest
GOIRC_SERVER_IMAGE=lonli078/go-irc-server:latest
HUBOT_IMAGE=fabric8/hubot:latest
HUBOT_NOTIFIER=fabric8/hubot-notifier:${FABRIC8_VERSION}

MINIMUM_IMAGES="${OPENSHIFT_IMAGE} ${FABRIC8_CONSOLE_IMAGE} ${APP_LIBRARY_IMAGE} ${REGISTRY_IMAGE} ${OPENSHIFT_ROUTER_IMAGE}"
ALL_IMAGES="${MINIMUM_IMAGES} ${INFLUXDB_IMAGE} ${KIBANA_IMAGE} ${ELASTICSEARCH_IMAGE} ${FLUENTD_IMAGE} ${GRAFANA_IMAGE} ${FORGE_IMAGE} ${KIWIIRC_IMAGE} ${REDIS_IMAGE} ${GOIRC_SERVER_IMAGE} ${HUBOT_IMAGE} ${HUBOT_NOTIFIER}"
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.02564102564102564, 'mean_word_length': 11.596412556053812, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4865723', 'n_tokens_mistral': 1251, 'n_tokens_neox': 1157, 'n_words': 114}