File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4848 run : |
4949 echo "envIpAddress=$(kubectl get nodes -o jsonpath='{.items[*].status.addresses[?(@.type=="InternalIP")].address}')" >> $GITHUB_ENV
5050 echo "envIpPort=$(kubectl get svc default-couchbase-cluster-ui -o jsonpath='{.spec.ports[].nodePort}')" >> $GITHUB_ENV
51- - name : add sed
52- run : |
53- sudo apt-get update -y
54- sudo apt-get install -y sed
5551 - name : combine to full connection string
5652 run : |
5753 echo "connectionString = $(echo "${envIpAddress}:${envIpPort}?network=external" | sed -e 's/[]$.*[\^]/\\&/g' )" | xargs >> $GITHUB_ENV
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ chmod 666 src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
34sed -i " s|127\.0\.0\.1|$1 |" src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
45
5- sed -i " s|127\.0\.0\.1|$1 |" src/main/java/resources/application.properties
6+ chmod 666 src/main/resources/application.properties
7+ sed -i " s|127\.0\.0\.1|$1 |" src/main/resources/application.properties
68
79cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
810
You can’t perform that action at this time.
0 commit comments