fabric8io / openshift-jenkins-s2i-config

Config repo used to build a customised OpenShift Jenkins image using S2I
6 stars 23 forks source link

Image usage instructions are outdated and wrong #142

Open jaseemabid opened 6 years ago

jaseemabid commented 6 years ago

The run instructions are outdated and wrong. The file jenkins-template.yml mentioned in the oc new-app ... command doesn't exist anymore.

hrishin commented 6 years ago

Looks like templates are here. https://github.com/fabric8-services/fabric8-tenant-jenkins/tree/master/apps/jenkins/src/main/fabric8

cc: @rupalibehera

jaseemabid commented 6 years ago

@hrishin The trouble with that repo is that there are too many yaml files. 2445 lines in 71 files. Now which ones are useful and what is old junk that needs to be deleted? You get 989 lines of xml in 10 files as bonus as well.

hrishin commented 6 years ago

@jaseemabid it's not there yet. @rupalibehera could answer it.

IMO final template file can be derived by running mvn fabric8:resource at https://github.com/fabric8-services/fabric8-tenant-jenkins/tree/master/apps/jenkins/ location. This will generate Kubernetes/OpenShift single template file in https://github.com/fabric8-services/fabric8-tenant-jenkins/tree/master/apps/jenkins/target/classes/META-INF/fabric8/openshift.yml