Skip to content

Commit 5c3a51e

Browse files
committed
trying to fix text replace
1 parent b711b82 commit 5c3a51e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/kind-maven.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ jobs:
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

deployment/fix.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/bin/bash
22

3+
chmod 666 src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
34
sed -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

79
cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
810

0 commit comments

Comments
 (0)