On Tue, Jun 19, 2018 at 1:25 AM Barak Korren <[email protected]> wrote:

> Hi there,
>
>
> TL;DR: Is your build/CI/other process consuming RPMs directly from
> Jenkins? Could it be changed to consume from other available places?
>
>
> In STDCI V1 we supported obtaining of the latest CI build for a particular
> project in a particular branch on a particular platform directly from
> Jenkins, by using the "latestSuccessfulBuild" dynamic link that Jenkins
> generates.
>
> This was possible in STDCI V1 because we had one-to-one correlation
> between jenkins jobs and project/branch/platform combinations. That is no
> longer the case in STDCI V2 where each project gets just two fixed jobs
> that adjust themselves automatically to run needed functionality.
>
> We could implement some equivalent functionality in STDCI V2 by for e.g.
> uploading builds to some predictable locations on an artifact server, but
> that will take some non-trivial amount of work, so it leads us to the
> question if this functionality is really needed.
>
> There are a couple of alternatives locations to get recently built
> packages from:
> - The 'tested' repo which contains all the packages that passed CQ/OST
> - The 'snapshot' repo which contains a nightly snapshot of 'tested'.
>
> So given the options above, if you have a build/CI/other process that
> currently consumes builds from Jenkins, could it be changed to consume from
> the other available locations?
>

Hi Barak,

We had some caching and timing issues with ovirt-engine-nodejs-modules. Our
node-based projects are using nodejs-modules to collectively store all node
modules. When we are developing, say we add some dependencies to nodejs-modules
for a new feature. We need to build nodejs-modules and have it available
via 'official' repos (accessible to jenkins and mock_runner) immediately so
we can iterate / develop.

So we use a 'build.packages.force' file [1], add the repo [2], and 'yum|dnf
install ovirt-engine-nodejs-modules'.
This means we do not have to wait for tested repo, and caches (mock cache,
maybe another?) get invalidated.

I'm happy to change this process in any way that allows us to 'install' a
new nodejs-modules and make it live immediately to all the projects that
need it.

[1]
https://github.com/oVirt/ovirt-engine-dashboard/blob/master/automation/build.packages.force
[2] ovirt-engine-nodejs-modules_master,
http://jenkins.ovirt.org/job/ovirt-engine-nodejs-modules_master_build-artifacts-$distro-x86_64/lastSuccessfulBuild/artifact/exported-artifacts/

Greg


> --
> Barak Korren
> RHV DevOps team , RHCE, RHCi
> Red Hat EMEA
> redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
> _______________________________________________
> Devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/[email protected]/message/A5LFDPPFWXTEEZLZFSBGZVJNEIP3H7HC/
>


-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

<https://www.redhat.com/>

[email protected]    IRC: gshereme
<https://red.ht/sig>
_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/WRLYZ644TNQI2H5EJZJSB55HWFISZ7JN/

Reply via email to