Closed ckavili closed 2 years ago
@ckavili can you elaborate on what you want to achieve? This part of the jenkins on openshift code has been quite old, and our s2i integration was meant to be able to extend the jenkins image by specifying a set of additional plugins for it. Maybe, not all s2i features have been implementent fully.
It seems that you have found a workaround for it. If it is an easy fix for us that worth implementing it we can have a look. Otherwise, let me know if we can close the issue.
wdyt?
hey @akram , thanks for the reply! We have some configs to customize/extend Jenkins for our needs and we use s2i
cli with GitHub actions to build and store this customized Jenkins image. It was working fine with openshift/jenkins-2-centos7
but when we switched to quay.io/openshift/origin-jenkins
, it seems, s2i process cannot actually trigger assemble script (or cannot override ENTRYPOINT).
Like you said, we've found a workaround for ourselves and s2i build process works fine with OpenShift build - I just wanted to check if there's anything we are missing or an easy fix. It'd be great if it can work directly with s2i build...
, so that I can use Red Hat s2i GH action but yeah, the workaround is fine for us so you can close the issue if you want :)
@ckavili mmm, could it be related to the fact that we use an ENTRYPOINT
with args ?
https://github.com/openshift/jenkins/blob/master/2/Dockerfile.localdev#L97
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten /remove-lifecycle stale
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen
.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Exclude this issue from closing again by commenting /lifecycle frozen
.
/close
@openshift-bot: Closing this issue.
Hi,
I've been using
quay.io/openshift/origin-jenkins
image with OpenShift s2i build successfully. However, when I try to run it withs2i
cli, it doesn't work as expected. When I run the below s2i command, it triggers assemble script but it doesn't do much - instead it tries to start up Jenkins itself.If you look at the running container during the s2i command, it runs a tar command under /tmp, but there is nothing there as well.
When I try to create Dockerfile, instead of building the image, it gives me the right Dockerfile though.
openshift/jenkins-2 was working fine with s2i cli. Am I missing something here? Can you please guide me?
Thanks!