diff --git a/scripts/dailyBuild.sh b/scripts/dailyBuild.sh index d6aa44b..a1ec3a5 100755 --- a/scripts/dailyBuild.sh +++ b/scripts/dailyBuild.sh @@ -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 @@ -15,8 +13,4 @@ echo "Testing daily build image" sed -i "\#liberty-maven-plugin#ahttps://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE/$DRIVER" 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 - sudo -u runner ../scripts/testApp.sh