Skip to content

Commit 951f505

Browse files
committed
remove shell file and go back to doing it in yaml file
1 parent 36de779 commit 951f505

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.github/workflows/kind-maven.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,11 @@ jobs:
5353
echo "connectionString = $(echo "${envIpAddress}:${envIpPort}?network=external" | sed -e 's/[]$.*[\^]/\\&/g' )" | xargs >> $GITHUB_ENV
5454
- name: fix connection string
5555
run: |
56-
chmod 755 deployment/fix.sh
57-
./deployment/fix.sh ${{ env.connectionString }}
56+
sed -i'' -e "s|localhost|${{ env.connectionString }}|" src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
57+
sed -i'' -e "s|localhost|$connectionString|" src/main/resources/application.properties
58+
59+
cat src/main/java/org/couchbase/quickstart/configs/ConfigDb.java
60+
cat src/main/resources/application.properties
5861
- name: Build with Maven
5962
run: mvn -B package --file pom.xml
6063

deployment/fix.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)