File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,17 @@ jobs:
4646 sleep 60
4747
4848 - name : set IPAddress
49- run : echo "ipAddress = $(kubectl get nodes -o jsonpath='{.items[*].status.addresses[?(@.type=="InternalIP")].address}')" >> $GITHUB_ENV
49+ run : |
50+ echo "ipAddress = $(kubectl get nodes -o jsonpath='{.items[*].status.addresses[?(@.type=="InternalIP")].address}')" >> $GITHUB_ENV
5051 - name : set envIpPort
51- run : echo "ipPort = $(kubectl get svc default-couchbase-cluster-ui -o jsonpath='{.spec.ports[].nodePort}')" >> $GITHUB_ENV
52+ run : |
53+ echo "ipPort = $(kubectl get svc default-couchbase-cluster-ui -o jsonpath='{.spec.ports[].nodePort}')" >> $GITHUB_ENV
5254 - name : debug ip and port
5355 run : |
54- echo "IP Address ${{ ipAddress }} Port ${{ ipPort }}"
55- echo "IP Address $ipAddres Port $ipPort"
56+ echo "IP Address ${ipAddress} Port ${ipPort}"
5657 - name : fix connection string
57- run : awk -i inplace '{gsub(/127.0.0.1/,"${{ ipAddress }}:${{ ipPort }}?network=external"); print }' src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
58+ run : |
59+ awk -i inplace '{gsub(/127.0.0.1/,"${ipAddress}:${ipPort}?network=external"); print }' src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
5860 - name : validate file fix
5961 run : cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
6062 - name : Build with Maven
You can’t perform that action at this time.
0 commit comments