Skip to content

Changes

Summary

  1. treewide: fix missing --rm for "docker run" (details)
Commit 5c158b326abe394a731094b197ef8ff08e019622 by Oliver Smith
treewide: fix missing --rm for "docker run"

Add "--rm" to each "docker run" command, so they don't continuously fill
up disk space.

Fix this even in the pipework script. We don't use the code path there,
but by always having --rm after "docker run" (same line or next line),
a new lint script in osmo-ci I8ab9c291504475d670bdefc50c4524c5bdd4c880
can help us avoid this in the future.

In ttcn3-ggsn-test/jenkins.sh, move one existing --rm in a later line
upwards so the linter can find it.

Related: SYS#5827, OS#5099
Related: https://github.com/jpetazzo/pipework/pull/248
Change-Id: I48b01c43fedf379b8a565eaab0369806d7831bd8
The file was modified ttcn3-ggsn-test/jenkins.sh
The file was modified common/pipework
The file was modified ttcn3-fr-test/jenkins.sh
The file was modified jenkins-common.sh