Skip to content

Commit 41d0ed5

Browse files
committed
HACKING: Update documentation to reflect changes
- Update documentation to reflect changes - Add note about how to work with the Fedora Staging pipecfg. Signed-off-by: Renata Ravanelli <rravanel@redhat.com>
1 parent cf61d01 commit 41d0ed5

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

HACKING.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -532,12 +532,6 @@ using a development cluster, it normally isn't, and you can drop it. For
532532
the Fedora prod cluster, use `ocs-storagecluster-ceph-rbd` as shown
533533
above.
534534

535-
If using an additional root CA certificate, then you will also need to
536-
specify the `AGENT_NAMESPACE` parameter to yours, e.g.:
537-
538-
```
539-
--param=AGENT_NAMESPACE=fedora-coreos-pipeline \
540-
```
541535

542536
Now, create the Jenkins configmap:
543537

@@ -586,6 +580,10 @@ This will create:
586580
3. the Jenkins agent BuildConfig (if a root CA cert was provided),
587581
4. the jenkins-config configmap.
588582

583+
Note: If you are working with the Fedora staging pipeline, specify the
584+
`staging` branch for the pipecfg: `--pipecfg
585+
https://github.com/coreos/fedora-coreos-pipeline@staging`.
586+
589587
If a root CA cert was provided, we need to build the base images that
590588
will bake in the cert in the controller and agent:
591589

@@ -600,6 +598,12 @@ We can now start an S2I build of the Jenkins controller:
600598
oc start-build --follow jenkins-s2i
601599
```
602600

601+
If you added the root CA:
602+
```
603+
oc start-build jenkins-s2i --follow -e JENKINS_IMAGE_STREAM_TAG=upstream
604+
```
605+
606+
603607
Once the Jenkins controller image is built, Jenkins should start up (verify
604608
with `oc get pods`). Once the pod is marked READY, you should be able to
605609
login to the Jenkins UI at https://jenkins-$NAMESPACE.$CLUSTER_URL/

0 commit comments

Comments
 (0)