Skip to content

Commit

Permalink
test(test-tooling): containers#pruneDockerResources prints disk usage
Browse files Browse the repository at this point in the history
Also adds a timeout and a log level parameter to the containers#exec
utility function to improve the developer experience while
troubleshooting test failures related to containers.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Jul 6, 2021
1 parent 142cd56 commit 021b435
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -578,9 +578,6 @@ export class Containers {
log.debug(`Clearing ${imageIds.length} images.... %o`, imageIds);

const cleanUpCmds = [
// `docker kill $(docker ps -q)`,
// `docker rm $(docker ps -a -q)`,
// `docker rmi $(docker images -q -a)`,
{ binary: "docker", args: ["rmi", ...imageIds] },
{ binary: "docker", args: ["volume", "prune", "--force"] },
];
Expand Down

0 comments on commit 021b435

Please sign in to comment.