Skip to content

Commit

Permalink
Remove docker build (#187)
Browse files Browse the repository at this point in the history
* Update dailyBuild

* Update dailyBuild
  • Loading branch information
gkwan-ibm authored Apr 23, 2024
1 parent 2711c08 commit 342882d
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 @@ -3,8 +3,6 @@ while getopts t:d:b:u: flag; do
case "${flag}" in
t) DATE="${OPTARG}" ;;
d) DRIVER="${OPTARG}" ;;
b) BUILD="${OPTARG}" ;;
u) DOCKER_USERNAME="${OPTARG}" ;;
*) echo "Invalid option" ;;
esac
done
Expand All @@ -14,10 +12,4 @@ echo "Testing daily build image"
sed -i "\#</containerRunOpts>#a<install><runtimeUrl>https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/nightly/$DATE/$DRIVER</runtimeUrl></install>" inventory/pom.xml system/pom.xml
cat inventory/pom.xml system/pom.xml

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

docker pull "$DOCKER_USERNAME/olguides:$BUILD"

sudo ../scripts/testApp.sh

0 comments on commit 342882d

Please sign in to comment.