backend.mockremote.__init__¶
-
class
backend.mockremote.__init__.
MockRemote
(builder_host, job, logger, opts=None)[source]¶ -
check
()[source]¶ Checks that MockRemote configuration and environment are correct.
- Raises
MockRemoteError – when configuration is wrong or some expected resource is unavailable
-
property
chroot_dir
¶
-
property
pkg
¶
-
add_pubkey
()[source]¶ Adds pubkey.gpg with public key to
chroot_dir
using copr_username and copr_projectname from self.job.
-
sign_built_packages
()[source]¶ - Sign built rpms
using copr_username and copr_projectname from self.job by means of obs-sign. If user builds doesn’t have a key pair at sign service, it would be created through
copr-keygen
- Parameters
chroot_dir – Directory with rpms to be signed
pkg – path to the source package
-