You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove CentOS references
- Remove OpenShift V3 references
- Use UBI base image for local development Dockerfile
Signed-off-by: Vinu Kochukuttan <vkochuku@redhat.com>
Signed-off-by: Vinu K <kevy.vinu@gmail.com>
Copy file name to clipboardExpand all lines: PLUGINS.md
+9-44Lines changed: 9 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,56 +3,22 @@
3
3
### Base set of plugins
4
4
5
5
An initial set of Jenkins plugins are included in the OpenShift Jenkins images. The general methodology
6
-
is that the CentOS7 image if first updated with any changes to the list of plugins. After some level
7
-
of verification with that image, the RHEL7 image is updated.
8
-
```
6
+
is that the UBI image if first updated with any changes to the list of plugins. After some level
7
+
of verification with that image, the RHEL9 image is updated.
9
8
10
-
#### Plugin installation for CentOS7 V4
9
+
#### Plugin installation for V4
11
10
In v4, that call has been moved to [this script](2/contrib/jenkins/install-jenkins-core-plugins.sh), which is called from
12
-
both `Dockerfile.localdev`, `Dockerfile.rhel7` and `Dockerfile.rhel8`.
11
+
`Dockerfile.localdev`, `Dockerfile.rhel8` and `Dockerfile.rhel9`.
13
12
14
13
Where both [base-plugins.txt](2/contrib/openshift/base-plugins.txt) and [install-plugins.sh](2/contrib/jenkins/install-plugins.sh)
15
14
are copied into the image prior to that invocation.
16
15
17
16
The running of `install-plugins.sh` will download the files listed in `base-plugins.txt`, and then open each plugin's manifest
18
17
and download any needed dependencies listed, including upgrading any previously installed dependencies as needed.
19
18
20
-
#### Plugin installation for CentOS7 V4.10+
21
-
Starting from `release-4.10`, the `base-plugins.txt` file is instead used to generate `bundle-plugins.txt` which is the comprehensive
22
-
list of plugins used by the Jenkins image. To generate this list, developers must run `make plugins-list` prior to commit `base-plugins.txt`.
23
-
A git hook is provided to enforce that `bundle-plugins.txt` is always newer than `base-plugins.txt` on every commit attempt. And `openshift-ci`
24
-
also runs the `make plugins-list` to be sure that the locally generated list of plugins does not change between the developer commit and the
25
-
ci run.
26
-
The `bundle-plugins.txt` becomes then the source of truth for the ran, tested and verified plugins list. This file is intended to be used by
27
-
anyone who wants to build a Jenkins Image with the exact same set of plugins. Hence, this file is used by the Red Hat internal release
28
-
team (ART) and does not alter the existing release process, except that instead of getting the list of plugins from a succesful build, we now get it
29
-
from a predefined, pre-test and historized file written to the code repository.
30
-
31
-
32
-
33
-
To update the version of a plugin or add a new plugin, construct a PR for this repository that updates `base-plugins.txt` appropriately.
34
-
Administrators for this repository will make sure necessary tests are run and merge the PR when things are ready.
35
-
36
-
When PRs for this repository's `openshift-3*` branches are merged, they kick off associated builds in the [`push_jenkins_images` job on OpenShift's public
37
-
Jenkins CI/CD server](https://ci.openshift.redhat.com/jenkins/view/All/job/push_jenkins_images/). When those builds complete,
38
-
new versions of the CentOS7 based versions of the images produced by this repository are pushed to Docker Hub. See the top of the README for the precise list.
39
-
40
-
For v4.0, the job definitions for this repository in https://github.com/openshif/release result in our Prow based infrastructure to eventually
41
-
mirror the image content on quay.io.
42
-
43
-
#### Plugin installation for RHEL7 V3 and V4
44
-
45
-
Only OpenShift developers working for Red Hat can update the list of plugins for the RHEL7 image. For those developers, visit this
46
-
[internal Jenkins server](https://buildvm.openshift.eng.bos.redhat.com:8443/job/devex/job/devex%252Fjenkins-plugins/) and log in (contact our CD team for permissions to this job). Click the `Build with parameters` link, update the `PLUGIN_LIST` field, and submit the build. The format of the data for the `PLUGIN_LIST` field is the same as `base-plugins.txt`.
47
-
48
-
The complete list of plugins (i.e. including dependencies) needs to be provided though. The most straight forward approach is to mine the output of the CentOS7 build which passed verification for the complete list. Just search for `Installed plugins:` and leverage copy/paste to compile what is needed.
49
-
50
-
Although this document will refrain on detailing the precise details, once the build on the internal Jenkins server is complete,
51
-
the processes will be set in motion to build the `jenkins-2-plugins` RPM that is installed by the [RHEL7 Dockerfile](2/Dockerfile.rhel7) when the next version of the RHEL7 based OpenShift Jenkins image is built. When new versions of OpenShift are released, associated versions of the RHEL7 based versions of the images produced by this repository are pushed to the Docker registry provided to RHEL7 subscribers.
19
+
#### Plugin installation for V4.11+
52
20
53
-
Some reference links for the OpenShift Jenkins developers and where things cross over with the CD/CL/Atomic/RHEL teams:
0 commit comments