Skip to content

Commit 13f2451

Browse files
committed
export
1 parent 2ffc482 commit 13f2451

File tree

1 file changed

+5
-0
lines changed
  • .buildkite/scripts/steps

1 file changed

+5
-0
lines changed

.buildkite/scripts/steps/ess.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ function ess_load_secrets() {
5858
# shellcheck source=/dev/null
5959
source "${secrets_file}" || rm "$secrets_file"
6060
rm $secrets_file || true
61+
# Export the secrets as environment variables
62+
export ELASTICSEARCH_HOST ELASTICSEARCH_USERNAME ELASTICSEARCH_PASSWORD
63+
export KIBANA_HOST KIBANA_USERNAME KIBANA_PASSWORD=$ELASTICSEARCH_PASSWORD
64+
# NOTE: I don't think INTEGRATIONS_SERVER_HOST is used in the ESS stack
65+
#export INTEGRATIONS_SERVER_HOST=$FLEET_URL
6166

6267
echo "smoke test: ESS Stack secrets loaded"
6368
curl -X GET "${ELASTICSEARCH_HOST}/_cat/indices?v" -u ${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}

0 commit comments

Comments
 (0)