Skip to content

Commit 48b2a22

Browse files
Make APPLICATIONINSIGHTS_CONNECTION_STRING available to the child env (#7826)
1 parent e782376 commit 48b2a22

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
docker build -t oteltest .
4+
docker run -it \
5+
-e ENV_FILE=/.env \
6+
-v `pwd`/.env:/.env \
7+
oteltest
8+

tools/stress-cluster/services/otelcollector/startup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
set -ex
44

55
source $ENV_FILE
6+
export APPLICATIONINSIGHTS_CONNECTION_STRING
67
/otelcol-contrib --config otel-collector-config.yml $@

0 commit comments

Comments
 (0)