danwatford commented on pull request #250:
URL: https://github.com/apache/ofbiz-framework/pull/250#issuecomment-757871611


   Hi @ieugen ,
   
   I tried running the integration steps again today, this time carefully 
double checking and recording my steps and am happy to report that integration 
tests are running.
   
   For completeness I include my steps to run the integration tests against 
trunk and against the PR below:
   
   ```
   $ git checkout trunk
   $ git pull
   $ ./gradlew cleanAll
   
   # Merge tools to build docker containers
   $ git merge --no-commit --squash docker-from-gradle
   $ ./gradlew buildOfbizBaseDockerImage
   $ ./gradlew buildOfbizDockerImage
   
   # Run integration tests against trunk. Bind mount the logs folder for test 
results.
   $ docker run -it --rm --mount 
type=bind,source=$PWD/runtime/logs,destination=/ofbiz/runtime/logs ofbiz:latest 
"ofbiz --test"
   
   # Fetch and merge the PR, autostashing the docker-from-gradle changes.
   $ git fetch origin pull/250/head:pr250
   $ git merge --no-commit --squash --autostash pr250
   
   # Rebuild the docker images with the PR included.
   $ ./gradlew buildOfbizDockerImage
   
   # Run the integration tests against the PR
   $ docker run -it --rm --mount 
type=bind,source=$PWD/runtime/logs,destination=/ofbiz/runtime/logs ofbiz:latest 
"ofbiz --test"
   ```
   
   The docker-from-gradle branch is available here 
(https://github.com/danwatford/ofbiz-framework/tree/docker-from-gradle) and 
includes gradle tasks to build docker images as discussed in this thread 
(https://lists.apache.org/thread.html/r40fd679818a37e113b469add51755b1097a2b02d3961e71a2cfe928d%40%3Cdev.ofbiz.apache.org%3E)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to