From 7926bd6a2e12e90da0c4e30276df0ba34e9f2958 Mon Sep 17 00:00:00 2001 From: jpic Date: Thu, 13 Feb 2020 13:09:33 +0100 Subject: [PATCH] Disable push during test --- podctl/console_script.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/podctl/console_script.py b/podctl/console_script.py index 7458e77..bcb2216 100644 --- a/podctl/console_script.py +++ b/podctl/console_script.py @@ -31,6 +31,12 @@ async def test(*args, **kwargs): continue podfile = Podfile.factory(candidate) + # disable push + for name, container in podfile.containers.items(): + commit = container.visitor('commit') + if commit: + commit.push = False + output.print( '\n\x1b[1;38;5;160;48;5;118m BUILD START \x1b[0m' + ' ' + podfile.path + '\n'