mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
do not check with scratch builds
Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
parent
37fb23b990
commit
bd2c302d34
1 changed files with 6 additions and 7 deletions
|
@ -159,7 +159,7 @@ class centpkgClient(cliClient):
|
||||||
def _build(self, sets=None):
|
def _build(self, sets=None):
|
||||||
|
|
||||||
# Only do rhel-target if we are centpkg, not centpkg-sig
|
# Only do rhel-target if we are centpkg, not centpkg-sig
|
||||||
if not os.path.basename(sys.argv[0]).endswith('-sig'):
|
if not os.path.basename(sys.argv[0]).endswith('-sig') and not self.args.scratch:
|
||||||
|
|
||||||
# Only run if we have internal configuraions, or scratch
|
# Only run if we have internal configuraions, or scratch
|
||||||
internal_config_file = "/etc/rpkg/centpkg_internal.conf"
|
internal_config_file = "/etc/rpkg/centpkg_internal.conf"
|
||||||
|
@ -254,7 +254,6 @@ class centpkgClient(cliClient):
|
||||||
self.log.info(" rhel-target: " + json.loads(self.args.custom_user_metadata)['rhel-target'])
|
self.log.info(" rhel-target: " + json.loads(self.args.custom_user_metadata)['rhel-target'])
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if not self.args.scratch:
|
|
||||||
self.log.info("NO INTERNAL CONFIGURATION")
|
self.log.info("NO INTERNAL CONFIGURATION")
|
||||||
self.log.info("Only scratch builds are allowed without internal configurations")
|
self.log.info("Only scratch builds are allowed without internal configurations")
|
||||||
self.log.info("Hint: Install the rhel-packager package from https://download.devel.redhat.com/rel-eng/RCMTOOLS/latest-RCMTOOLS-2-RHEL-9/compose/BaseOS/x86_64/os/Packages/ if you want to build the package via internal (Red Hat) configuration.")
|
self.log.info("Hint: Install the rhel-packager package from https://download.devel.redhat.com/rel-eng/RCMTOOLS/latest-RCMTOOLS-2-RHEL-9/compose/BaseOS/x86_64/os/Packages/ if you want to build the package via internal (Red Hat) configuration.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue