diff options
author | Ofir Sonsino <os0695@intl.att.com> | 2020-01-26 15:48:38 +0200 |
---|---|---|
committer | Ofir Sonsino <os0695@intl.att.com> | 2020-01-26 16:05:26 +0200 |
commit | 474fdab95457b43e4366e437c8e7cccca0199ac8 (patch) | |
tree | 88df2190f25e284d779153d2eea2e85537d42b6d /sdc-os-chef | |
parent | f96c42cd1dbf65bb47920a26dde4c5ab9708377d (diff) |
Remove ES + Kibana
Remove logo from ci report
Change-Id: Idef648bc04feffc64ac513e0dbf212256e740978
Issue-ID: SDC-2724
Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
Diffstat (limited to 'sdc-os-chef')
-rw-r--r-- | sdc-os-chef/environments/Template.json | 15 | ||||
-rwxr-xr-x | sdc-os-chef/scripts/docker_run.sh | 52 |
2 files changed, 1 insertions, 66 deletions
diff --git a/sdc-os-chef/environments/Template.json b/sdc-os-chef/environments/Template.json index 651d64d81b..ceecd6a773 100644 --- a/sdc-os-chef/environments/Template.json +++ b/sdc-os-chef/environments/Template.json @@ -10,8 +10,6 @@ "BE_VIP": "yyy", "ONBOARDING_BE_VIP": "yyy", "FE_VIP": "yyy", - "ES_VIP": "yyy", - "KB_VIP": "yyy", "DCAE_BE_VIP": "yyy", "DCAE_FE_VIP": "yyy", "DCAE_TOSCA_LAB_VIP": "yyy", @@ -38,11 +36,7 @@ ], "BE": "yyy", "ONBOARDING_BE": "yyy", - "FE": "yyy", - "ES": [ - "yyy" - ], - "KB": "yyy" + "FE": "yyy" }, "VnfRepo": { "vnfRepoPort": "8702", @@ -66,13 +60,6 @@ "domain_name": "sdc", "catalog_notification_url": "%s://%s:%s/sdc2/rest/v1/catalog/notif/vsp/" }, - "elasticsearch": { - "cluster_name": "SDC-ES-", - "ES_path_home": "/usr/share/elasticsearch", - "ES_path_data": "/usr/share/elasticsearch/data", - "num_of_replicas": "0", - "num_of_shards": "1" - }, "cassandra": { "cassandra_port": 9042, "concurrent_reads": "32", diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh index 51e552e975..c5015e681a 100755 --- a/sdc-os-chef/scripts/docker_run.sh +++ b/sdc-os-chef/scripts/docker_run.sh @@ -179,10 +179,6 @@ function monitor_docker { ready_probe ${DOCKER_NAME} ${TIME} ; status=$? ; ;; - sdc-es) - probe_es ${TIME} ; - status=$? ; - ;; sdc-BE) ready_probe ${DOCKER_NAME} ${TIME} ; status=$? ; @@ -267,38 +263,6 @@ function command_exit_status { # Run Containers # -#Elastic-Search -function sdc-es { - DOCKER_NAME="sdc-es" - echo "docker run sdc-elasticsearch..." - if [ ${LOCAL} = false ]; then - echo "pulling code" - docker pull ${PREFIX}/sdc-elasticsearch:${RELEASE} - fi - docker run -dit --name ${DOCKER_NAME} --env ENVNAME="${DEP_ENV}" --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --env ES_JAVA_OPTS="-Xms512m -Xmx512m" --ulimit memlock=-1:-1 --ulimit nofile=4096:100000 ${LOCAL_TIME_MOUNT_CMD} --env ES_HEAP_SIZE=1024M --volume ${WORKSPACE}/data/ES:/usr/share/elasticsearch/data --volume ${WORKSPACE}/data/environments:/root/chef-solo/environments --publish 9200:9200 --publish 9300:9300 ${PREFIX}/sdc-elasticsearch:${RELEASE} /bin/sh - command_exit_status $? ${DOCKER_NAME} - echo "please wait while ES is starting..." - monitor_docker ${DOCKER_NAME} -} -# - - -#Init-Elastic-Search -function sdc-init-es { - DOCKER_NAME="sdc-init-es" - echo "docker run sdc-init-elasticsearch..." - if [ ${LOCAL} = false ]; then - echo "pulling code" - docker pull ${PREFIX}/sdc-init-elasticsearch:${RELEASE} - fi - echo "Running sdc-init-es" - docker run --name ${DOCKER_NAME} --env ENVNAME="${DEP_ENV}" --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --ulimit nofile=4096:100000 ${LOCAL_TIME_MOUNT_CMD} --volume ${WORKSPACE}/data/environments:/root/chef-solo/environments ${PREFIX}/sdc-init-elasticsearch:${RELEASE} > /dev/null 2>&1 - rc=$? - docker_logs ${DOCKER_NAME} - if [[ ${rc} != 0 ]]; then exit ${rc}; fi -} -# - #Cassandra function sdc-cs { @@ -345,19 +309,6 @@ function sdc-cs-onboard-init { # -#Kibana -function sdc-kbn { - DOCKER_NAME="sdc-kbn" - echo "docker run sdc-kibana..." - if [ ${LOCAL} = false ]; then - docker pull ${PREFIX}/sdc-kibana:${RELEASE} - docker run --detach --name ${DOCKER_NAME} --env ENVNAME="${DEP_ENV}" --env NODE_OPTIONS="--max-old-space-size=200" --log-driver=json-file --log-opt max-size=100m --log-opt max-file=10 --ulimit memlock=-1:-1 --ulimit nofile=4096:100000 ${LOCAL_TIME_MOUNT_CMD} --volume ${WORKSPACE}/data/environments:/root/chef-solo/environments --publish 5601:5601 ${PREFIX}/sdc-kibana:${RELEASE} - command_exit_status $? ${DOCKER_NAME} - fi -} -# - - #Back-End function sdc-BE { DOCKER_NAME="sdc-BE" @@ -609,11 +560,8 @@ echo "" if [ -z "${DOCKER}" ]; then cleanup all dir_perms - sdc-es - sdc-init-es sdc-cs sdc-cs-init -# sdc-kbn sdc-cs-onboard-init sdc-onboard-BE sdc-BE |