On Fri, Jan 07, 2022 at 06:42:37PM +0100, Vít Ondruch wrote:
Hi everybody and sorry for the rant, but I must vent somewhere.
So I am preparing updated Ruby package. I know that there is
rpminspect executed at some point and the results are available in
Bodhi [1]. Therefore, I'd like to execute similar test on my machine
prior pushing anything anywhere. So lets give rpminspect a shot:
~~~
$ rpminspect
rpminspect: Please specify a configuration file using '-c' or supply
./rpminspect.yaml
rpminspect requires the -c option for the main configuration file. You need
both rpminspect installed and a data package, such as rpminspect-data-fedora
or rpminspect-data-redhat. The data packages provide wrapper scripts like
'rpminspect-redhat' and 'rpminspect-fedora' to launch rpminspect with the
corresponding configuration file.
See this section in the RHEL Developer Guide for more info on using rpminspect
locally:
http://docs.osci.redhat.com/developer-guide/#con_rpminspect_assembly_auto...
I also have upstream documentation here:
https://rpminspect.readthedocs.io/en/latest/
~~~
Hm, bummer. So how is this configured in Bodhi? Lets look at Jenkins
[2]. Hm, nice, but how is it executed? No clue.
So lets try the main task [3]. Ha, console [4], there must be the
"rpminspect" command, right? But no, there is non. There is just 11
pages of nonsense.
So looking once again, ok, kubernetes, there is used some container.
Lets check what the rpminspect-pipeline stands for, opening its
repository [5]. FMF, that sounds familiar, lets open the
rpminspect.fmf [6]. Hm, /usr/local/bin/rpminspect_runner.sh, what is
that? How can I get it? Ah, there is image repository and the file
[7], which as again more then 5 pages of gibberish. There finally some
`rpminspect` call on line 155 [8], but then I could continue with
localization of the config file.
This is really awful and I suffer every time I have to do something
like this. I am really frustrated. I really don't understand, why the
command can't be visible as far as at the console [4].
Comparing e.g. with GH actions, I have opened cpython repository for
the first time in my life and on 5 clicks, I know the test suite is
executed via `make buildbottest TESTOPTS="-j4 -uall,-cpu"`.
Do I want to try to test rpminspect at this moment? No, No, No and no
again, because this is not CI, this is just torture. This is so
intimidating.
So, would it be so big problem to have the several rpminspect calls
which are certainly done somewhere at some point visible on the
Jenkins console [4]?
/rant
Vít
P.S. Once again sorry and please no offense.
[1]
https://bodhi.fedoraproject.org/updates/FEDORA-2021-62cd39359e
[2]
https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/rpminspect-...
[3]
https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/rpminspect-...
[4]
https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/rpminspect-...
[5]
https://github.com/fedora-ci/rpminspect-pipeline
[6]
https://github.com/fedora-ci/rpminspect-image/blob/master/rpminspect_runn...
[7]
https://github.com/fedora-ci/rpminspect-pipeline/blob/master/rpminspect.fmf
[8]
https://github.com/fedora-ci/rpminspect-image/blob/master/rpminspect_runn...
_______________________________________________
CI mailing list -- ci(a)lists.fedoraproject.org
To unsubscribe send an email to ci-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/ci@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
--
David Cantrell <dcantrell(a)redhat.com>
Red Hat, Inc. | Boston, MA | EST5EDT