-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Prep for daily builds * Fix sed command * Update sed commands * Update test.yml Co-authored-by: Austin Seto <[email protected]> Co-authored-by: Gilbert Kwan <[email protected]>
- Loading branch information
1 parent
b448468
commit e1afbf4
Showing
4 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ target/ | |
finish/target/ | ||
start/target/ | ||
|
||
bin/ | ||
|
||
.classpath | ||
.factorypath | ||
.project | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
while getopts t:d:b:u: flag; | ||
do | ||
case "${flag}" in | ||
t) DATE="${OPTARG}";; | ||
d) DRIVER="${OPTARG}";; | ||
b) BUILD="${OPTARG}";; | ||
u) DOCKER_USERNAME="${OPTARG}";; | ||
esac | ||
done | ||
|
||
sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#a<configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/"$DATE"/"$DRIVER"</runtimeUrl></install></configuration>" frontendUI/pom.xml | ||
cat frontendUI/pom.xml | ||
|
||
sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#,\#<configuration>#c<artifactId>liberty-maven-plugin</artifactId><version>3.3.1</version><configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/"$DATE"/"$DRIVER"</runtimeUrl></install>" backendServices/pom.xml | ||
cat backendServices/pom.xml | ||
|
||
../scripts/testApp.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters