Commit cec179bf authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Updated Readme and elastic host split script

parent 05593cda
......@@ -485,8 +485,7 @@ __- Setup and Configure the ADO Library__ `Azure Service Release - storage`
__- Setup and Configure the ADO Library__ `Azure Service Release - indexer`
__- Setup and Configure the ADO Library__ `Azure Service Release - indexer-service`
| Variable | Value |
|----------|-------|
......@@ -497,7 +496,7 @@ __- Setup and Configure the ADO Library__ `Azure Service Release - indexer`
__- Setup and Configure the ADO Library__ `Azure Service Release - search`
__- Setup and Configure the ADO Library__ `Azure Service Release - search-service`
| Variable | Value |
|----------|-------|
......
......@@ -34,8 +34,6 @@ steps:
#!/bin/bash
set -euo pipefail
env
# extract the protocol
proto="$(echo $ENDPOINT | grep :// | sed -e's,^\(.*://\).*,\1,g')"
# remove the protocol -- updated
......@@ -46,7 +44,9 @@ steps:
# by request - try to extract the port
port="$(echo $url | sed -e 's,^.*:,:,g' -e 's,.*:\([0-9]*\).*,\1,g' -e 's,[^0-9],,g')"
echo " host: $host"
echo " port: $port"
echo " elastic host: $host"
echo " elastic port: $port"
echo " elastic username: $ELASTIC_USERNAME"
echo " elastic password: $ELASTIC_PASSWORD"
echo "##vso[task.setvariable variable=elastic-host;]$host"
echo "##vso[task.setvariable variable=elastic-port;]$port"
Supports Markdown
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