Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bots: Drop obsolete vm-prep call attempt
Browse files Browse the repository at this point in the history
vm-prep does not exist in any maintained branch any more.
martinpitt committed Sep 21, 2018
1 parent 127211b commit f4cd7aa
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions bots/image-refresh
Original file line number Diff line number Diff line change
@@ -120,11 +120,6 @@ def run(image, verbose=False, **kwargs):
# Cleanup any extraneous disk usage elsewhere
subprocess.check_call([ os.path.join(BASE, "test", "vm-reset") ])

# Setup network if necessary, any failures caught during testing
prep = os.path.join(BASE, "test", "vm-prep")
if os.path.exists(prep):
subprocess.call(["sudo", "-n", prep ])

cmd = [ os.path.join(BOTS, "image-create"), "--verbose", "--upload" ]
if store:
cmd += [ "--store", store ]
5 changes: 0 additions & 5 deletions bots/tests-invoke
Original file line number Diff line number Diff line change
@@ -349,11 +349,6 @@ class PullTask(object):
env = os.environ.copy()
env["PATH"] = "{0}:{1}:{2}".format(env.get("PATH", "/bin:/sbin"), BOTS, test)

# Setup network if necessary, any failures caught during testing
prep = os.path.join(BASE, "test", "vm-prep")
if os.path.exists(prep):
subprocess.call(["sudo", "-n", prep ], env=env)

# Prepare the image to run
if not ret and prefix != "cockpit":
ret = self.prepare(prefix, value, image, opts.verbose)

0 comments on commit f4cd7aa

Please sign in to comment.