File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ jobs:
4646 sleep 180
4747 - name : set IPAddress
4848 run : |
49- echo "ipAddress =$(kubectl get nodes -o jsonpath='{.items[*].status.addresses[?(@.type=="InternalIP")].address}')" >> $GITHUB_ENV
49+ echo "envIpAddress =$(kubectl get nodes -o jsonpath='{.items[*].status.addresses[?(@.type=="InternalIP")].address}')" >> $GITHUB_ENV
5050 - name : set envIpPort
5151 run : |
52- echo "ipPort = $(kubectl get svc default-couchbase-cluster-ui -o jsonpath='{.spec.ports[].nodePort}')" >> $GITHUB_ENV
52+ echo "envIpPort= $(kubectl get svc default-couchbase-cluster-ui -o jsonpath='{.spec.ports[].nodePort}')" >> $GITHUB_ENV
5353 - name : combine to full connection string
5454 run : |
55- echo $ipAddress
56- echo $ipPort
57- echo "connectionString = $ipAddress:$ipPort ?network=external" >> $GITHUB_ENV
55+ echo $envIpAddress
56+ echo $envIpPort
57+ echo "connectionString = ${envIpAddress}:${envIpPort} ?network=external" >> $GITHUB_ENV
5858 - name : fix connection string
5959 run : |
6060 awk -i inplace '{sub(/127.0.0.1/,$connectionString); print }' src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
You can’t perform that action at this time.
0 commit comments