From a5b75f307265ecbd4c9562bcb21530e4bc20eb04 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 24 Aug 2020 15:15:14 +0200 Subject: [PATCH] CI: remove unused common.check_build() (MR 802) The function is also present in build_changed_aports.py, and it is only used there. --- .gitlab-ci/common.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.gitlab-ci/common.py b/.gitlab-ci/common.py index 767a0c9e2..b266b0d98 100755 --- a/.gitlab-ci/common.py +++ b/.gitlab-ci/common.py @@ -190,15 +190,3 @@ def get_changed_packages(): ret.add(os.path.basename(dirname)) return ret - - -def check_build(packages, verify_only=False): - # Initialize build environment with less logging - run_pmbootstrap(["build_init"]) - - if verify_only: - run_pmbootstrap(["--details-to-stdout", "checksum", "--verify"] + - list(packages)) - else: - run_pmbootstrap(["--details-to-stdout", "build", "--strict", - "--force"] + list(packages))