rht-labs / labs-ci-cd

👻UNMAINTAINED - A collection of Red Hat Open Innovation Labs CI/CD components
Apache License 2.0
101 stars 70 forks source link

Jenkins Tagging #116

Closed jtprichett closed 6 years ago

jtprichett commented 6 years ago

The latest image for Jenkins within the Red Hat Container catalog tag is v3.6 for all Jenkins images.

https://access.redhat.com/containers/#/search/jenkins

sherl0cks commented 6 years ago

@JoshuaTPritchett that is to handle an issue related to the oc client breaking deployments, this repo should be tagged to v3.7. There is a 3.6 tag if needed: https://github.com/rht-labs/labs-ci-cd/releases/tag/v3.6.0

jtprichett commented 6 years ago

Ah I see, I am doing development on Minishift at home, all of the Jenkins image builds seem to fail, 3.6 or not.

sherl0cks commented 6 years ago

ok - do share the build failure log, that can be helpful

jtprichett commented 6 years ago

Problem

Jenkins BuildConfig fails to start:

screenshot from 2018-01-30 22-20-51

image

Potential Reason

Within

params/jenkins/build

The ImageStreamTag that is being used is v3.7, however, based on the images above, Minishift only delivers with v2,1,latest within the OpenShift namespace.

sherl0cks commented 6 years ago

Interesting. I'll need to double check what ive been doing on our clusters - we have it this type of thing with inage tags in 3.7 and again, its related to that issue I mentioned with 3.7 oc client breaking backwards conpatibility.

For now, you can run the bellow command, which should pull all the tags into the openshift namespace:

oc import-image openshift/jenkins --from=registry.access.redhat.com/openshift3/jenkins-2-rhel7 --confirm --all

jtprichett commented 6 years ago

Sounds good, I went ahead and just changed the stream tag to latest locally to test #115. I will make sure to import the new image moving forward.