From 26073e04b87bf31954dca5ab5963873e3cc8bb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Thu, 21 Oct 2021 11:31:07 +0200 Subject: [PATCH] mockbuild: do not subscribe All runners are already subscribed. --- schutzbot/mockbuild.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index e2269b0..0ff8171 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -10,13 +10,6 @@ function greenprint { source /etc/os-release ARCH=$(uname -m) -# Register RHEL if we are provided with a registration script. -if [[ $ID == "rhel" && -n "${RHN_REGISTRATION_SCRIPT:-}" ]] && ! sudo subscription-manager status; then - greenprint "🪙 Registering RHEL instance" - sudo chmod +x $RHN_REGISTRATION_SCRIPT - sudo $RHN_REGISTRATION_SCRIPT -fi - # Mock configuration file to use for building RPMs. MOCK_CONFIG="${ID}-${VERSION_ID%.*}-$(uname -m)"