Bug 2061616 - Pre compute Jenkins Plugins list
Summary: Pre compute Jenkins Plugins list
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Jenkins
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.z
Assignee: Akram Ben Aissi
QA Contact: Jitendar Singh
Depends On: 2061614 2069134
Blocks: 2067128
TreeView+ depends on / blocked
Reported: 2022-03-08 02:48 UTC by Akram Ben Aissi
Modified: 2022-04-01 17:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2061614
: 2067128 (view as bug list)
Last Closed: 2022-03-28 12:03:18 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift jenkins pull 1398 0 None open Bug 2061616: [release-4.10] Compute bundle plugins in build 2022-03-11 07:11:15 UTC
Red Hat Product Errata RHBA-2022:1026 0 None None None 2022-03-28 12:03:40 UTC

Description Akram Ben Aissi 2022-03-08 02:48:51 UTC
+++ This bug was initially created as a clone of Bug #2061614 +++

the primary goal is to avoid the strong requirement of a midstream repository while running automated productisation (CPaaS) by providing a convenient way to generate the comprehensive list of plugins used by the Jenkins image.

the secondary goal is to remove supply chain errors which could rarely happen in case of a commit of the base-plugins.txt only, and in the meanwhile, if a transitive dependency changes, we could end-up release a different version compared to what we have test in local development environment or in CI.

Generating the comprehensive list of plugins at build time allows its strict usage during the CI build and the CPaaS build.

Before this PR, the comprehensive list of plugins was provided manually from the CI build logs to the ART team.
By having the list forcibly generated at commit time (a git pre-commit hook can now be added), and being checked at CI time, ensures that the commited list of plugins is the exactly one that will be tested during CI openshift/release#25817 ; and then, it can be used as-is in CPaaS as well without having to re-compute the list.
If a drift between the committed list of plugins and its locally computed comprehensive list is detected, the CI build fails by asking the developer to re-compute the list locally and push it to the code repository.

Comment 4 Jitendar Singh 2022-03-23 13:46:54 UTC

Comment 6 errata-xmlrpc 2022-03-28 12:03:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.10.6 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.