Code Review
/
cps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
e345397
)
Merge "Add ncmp tag to application yaml"
author
Toine Siebelink
<toine.siebelink@est.tech>
Tue, 10 May 2022 14:29:54 +0000
(14:29 +0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Tue, 10 May 2022 14:29:54 +0000
(14:29 +0000)
csit/plans/cps/setup.sh
patch
|
blob
|
history
diff --git
a/csit/plans/cps/setup.sh
b/csit/plans/cps/setup.sh
index
6ef4c9a
..
d633b1e
100755
(executable)
--- a/
csit/plans/cps/setup.sh
+++ b/
csit/plans/cps/setup.sh
@@
-50,7
+50,7
@@
check_health()
###################### setup env ############################
# Set env variables for docker compose
-export LOCAL_IP=$(
ip -4 addr show docker0 | grep -Po 'inet \K[\d.]+
')
+export LOCAL_IP=$(
(ip -4 addr show docker0 | grep -Po 'inet \K[\d.]+') || hostname -I | awk '{print $1}
')
source $WORKSPACE/plans/cps/test.properties
export $(cut -d= -f1 $WORKSPACE/plans/cps/test.properties)