UNCLASSIFIED

README.md 1.39 KB
Newer Older
Ildefonso Montero's avatar
Ildefonso Montero committed
1
# CloudBees CI setup
Gerard Fulton's avatar
Gerard Fulton committed
2

Ildefonso Montero's avatar
Ildefonso Montero committed
3
## Approved with Conditions
Andy Maksymowicz's avatar
Andy Maksymowicz committed
4 5
Must run behind CNAP or VPN (no internet facing).

Ildefonso Montero's avatar
Ildefonso Montero committed
6
CloudBees CI (formerly known as _CloudBees Core_) consists of three Docker images installed via Helm chart:
7 8

* `core-oc`: the Operations Center
Ildefonso Montero's avatar
Ildefonso Montero committed
9
* `core-mm`: a managed Jenkins controller
10 11 12 13 14
* `agent`: a Jenkins build agent

For each image, all files other than UBI and native packages
are included in a `files.tar` marked with a SHA-256 checksum.

Ildefonso Montero's avatar
Ildefonso Montero committed
15
A version of CloudBees CI is given in the format `2.303.1.6-ra`
16 17 18
where the first three components are aligned with a Jenkins LTS.
The Helm chart is coversioned with `core-oc`.
The `core-mm` image typically shares the same version,
Ildefonso Montero's avatar
Ildefonso Montero committed
19 20
though a given controller may be deliberately kept at a somewhat older release.
The `agent` image is preferably coversioned with the controller.
21 22 23 24 25 26 27

After creating images, create a values file that specifies locally uploaded images
plus whatever other customizations are desired:

```yaml
OperationsCenter:
  Image:
Ildefonso Montero's avatar
Ildefonso Montero committed
28
    dockerImage: your-registry/core-oc:2.303.1.6-ra
29 30
Master:
  Image:
Ildefonso Montero's avatar
Ildefonso Montero committed
31
    dockerImage: your-registry/core-mm:2.303.1.6-ra
32 33
Agents:
  Image:
Ildefonso Montero's avatar
Ildefonso Montero committed
34
    dockerImage: your-registry/agent:2.303.1.6-ra
35 36 37 38 39
```

and [install via Helm 3](https://docs.cloudbees.com/docs/cloudbees-core/latest/kubernetes-install-guide/installing-kubernetes-using-helm) using the local copy of the chart:

```bash
Jesse Glick's avatar
Jesse Glick committed
40
helm install cloudbees-core core-oc/helm -f dcar-values.yaml
41
```