File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ jobs:
5151 run : echo "ipPort = $(kubectl get svc default-couchbase-cluster-ui -o jsonpath='{.spec.ports[].nodePort}')" >> $GITHUB_ENV
5252 - name : debug ip and port
5353 run : |
54- echo "IP Address ${{ env. ipAddress }} Port ${{ env. ipPort }}"
55- echo "IP Address $env. ipAddres Port $env. ipPort"
54+ echo "IP Address ${{ ipAddress }} Port ${{ ipPort }}"
55+ echo "IP Address $ipAddres Port $ipPort"
5656 - name : fix connection string
57- run : awk -i inplace '{gsub(/127.0.0.1/,"$env. ipAddress:$env. ipPort?network=external"); print }' src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
57+ run : awk -i inplace '{gsub(/127.0.0.1/,"${{ ipAddress }}:${{ ipPort }} ?network=external"); print }' src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
5858 - name : validate file fix
5959 run : cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
6060 - name : Build with Maven
You can’t perform that action at this time.
0 commit comments