Skip to content

Commit

Permalink
Merge pull request #203 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 187083f + f74af90 commit 6400da1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/dailyBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ do
case "${flag}" in
t) DATE="${OPTARG}";;
d) DRIVER="${OPTARG}";;
b) BUILD="${OPTARG}";;
u) DOCKER_USERNAME="${OPTARG}";;
*) echo "Invalid option";;
esac
done
Expand All @@ -15,10 +13,4 @@ echo "Testing daily OpenLiberty image"
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>" pom.xml
cat pom.xml

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

docker pull "$DOCKER_USERNAME""/olguides:""$BUILD"

sudo ../scripts/testApp.sh

0 comments on commit 6400da1

Please sign in to comment.