From: Michael Tremer Date: Thu, 14 Jul 2022 15:53:08 +0000 (+0000) Subject: hub: Delete any uploads after builds have been created X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc6f22cfaa5dabd61ba0a932a0ab0270617f3f79;p=pbs.git hub: Delete any uploads after builds have been created Signed-off-by: Michael Tremer --- diff --git a/src/hub/builds.py b/src/hub/builds.py index abcf0542..2b008fbb 100644 --- a/src/hub/builds.py +++ b/src/hub/builds.py @@ -58,6 +58,9 @@ class CreateHandler(BaseHandler): # Create a new build build = self.backend.builds.create(repo, package) + # Delete the upload + upload.delete() + # Send some data about the build self.finish({ "uuid" : build.uuid,