The testing is inconvenient and not described properly anywhere. Adding --rm=false to docker build seems to be a workaround.
--rm=false
See also current TODO in Dockerfile-tests:
# TODO: Consider making this a volume instead COPY . .
How is it "inconvenient and not described properly"?
@mprahl Editing files and re-running tests is not really easy as the files are copied in one build step to the docker image. I tried mounting a volume to the container, but there were other manual tasks necessary. E.g.: git clean to get rid of *.pyc linked to the host libs. There may be other manual steps involved in the process of repeated testing. It is also time-demanding.
The docker build --rm=false ... seems to be a reasonable workaround, at least.
docker build --rm=false ...
Metadata Update from @mprahl: - Issue assigned to mprahl
@fivaldi could you review https://pagure.io/fm-orchestrator/pull-request/953?
PR#953 fixes this issue. Thanks again!
Metadata Update from @fivaldi: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.