Skip to content

Commit c6c8273

Browse files
committed
HACKING.md: Add note about RHCOS pipeline in ITUP clusters
Add a note about needing the the `shard=internal` label added to the Jenkins route to run the RHCOS pipeline in the internal ITUP clusters. It's also necessary to add the .int sub domain to the jenkins URL, specifically `jenkins-<NAMESPACE>.apps.int.<cluster-URL>`.
1 parent 62488e5 commit c6c8273

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

HACKING.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,22 @@ password works to log in as `developer`.
609609
It may be a good idea to set the Kubernetes plugin to
610610
[use DNS for service names](TROUBLESHOOTING.md#issue-for-jenkins-dns-names).
611611

612+
#### [OPTIONAL] Add internal router shard label to Jenkins route
613+
614+
To run the RHCOS pipeline in the internal ITUP clusters, the Jenkins route must have the `shard=internal` label added to the route and the hostname URL must be updated to include `apps.int`.
615+
616+
Manually edit the route after pipeline deployment:
617+
```
618+
# optionally run this if the route already exists
619+
oc delete route jenkins
620+
621+
# recreate the route with the right label and hostname
622+
oc expose service jenkins -l shard=internal --hostname jenkins-<NAMESPACE>.apps.int.<cluster-URL>
623+
624+
# if label was not added, manually add it to the new route
625+
oc label routes jenkins shard=internal
626+
```
627+
612628
### Running the pipeline
613629

614630
Once Jenkins is ready, make sure that the seed job has been run successfully.

0 commit comments

Comments
 (0)