[k6] Always pull latest cps and dmi stub images 80/138780/4
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 16 Aug 2024 14:47:57 +0000 (15:47 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Mon, 26 Aug 2024 14:02:31 +0000 (15:02 +0100)
commitdacc217afe3e4ae9f1bda96a285929016204701e
tree002d3b77387ef0d77c53b79db7927ba1be4645b2
parent64ff45847a3466cb24a8dab57b65be753ee3cd03
[k6] Always pull latest cps and dmi stub images

Presently, k6 tests are using old cached DMI stub version in the
Jenkins job. This commit ensures latest images are pulled by
cleaning old images if a variable is set.

Issue-ID: CPS-2368
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I66a749c7cdeb7daee06a00b06dff50ead6854f28
k6-tests/teardown.sh