Skip to content

Commit

Permalink
Merge pull request #161 from OpenLiberty/staging
Browse files Browse the repository at this point in the history
Merge staging to prod - Remove docker build
  • Loading branch information
gkwan-ibm authored Apr 23, 2024
2 parents 29d5b66 + ea858ae commit 1aa2aa9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/dailyBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ while getopts t:d:b:u:j: flag; do
case "${flag}" in
t) DATE="${OPTARG}" ;;
d) DRIVER="${OPTARG}" ;;
b) BUILD="${OPTARG}" ;;
u) DOCKER_USERNAME="${OPTARG}" ;;
j) JDK_LEVEL="${OPTARG}" ;;
*) echo "Invalid option";;
esac
Expand All @@ -20,9 +18,4 @@ fi
sed -i "\#<artifactId>liberty-maven-plugin</artifactId>#,\#<configuration>#c<artifactId>liberty-maven-plugin</artifactId><version>3.10</version><configuration><install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE/$DRIVER</runtimeUrl></install>" pom.xml
cat pom.xml

sed -i "s;FROM icr.io/appcafe/open-liberty:full-java17-openj9-ubi;FROM $DOCKER_USERNAME/olguides:$BUILD-java17;g" Dockerfile
sed -i "s;FROM icr.io/appcafe/open-liberty:kernel-slim-java17-openj9-ubi;FROM $DOCKER_USERNAME/olguides:$BUILD-java17;g" Dockerfile
sed -i "s;RUN features.sh;#RUN features.sh;g" Dockerfile
cat Dockerfile

sudo -E ../scripts/testApp.sh

0 comments on commit 1aa2aa9

Please sign in to comment.