Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos based image-stream for usage in OpenShift #4

Merged
merged 1 commit into from
Sep 20, 2018
Merged

Centos based image-stream for usage in OpenShift #4

merged 1 commit into from
Sep 20, 2018

Conversation

sspeiche
Copy link
Contributor

No description provided.

@centos-ci
Copy link
Collaborator

Can one of the admins verify this patch?

1 similar comment
@centos-ci
Copy link
Collaborator

Can one of the admins verify this patch?

@sspeiche
Copy link
Contributor Author

@bparees fyi

@rhscl-bot
Copy link

Can one of the admins verify this patch?

1 similar comment
@rhscl-bot
Copy link

Can one of the admins verify this patch?

@sspeiche
Copy link
Contributor Author

@hhorak I wasn't sure naming convention for these repos but I figured this could just be a start. I can update library and pull it into OSO starter as well. Just let me know.

@jcajka
Copy link
Contributor

jcajka commented Mar 28, 2018

Could you move the stream file in to separate directory, like imagestreams or a like? @hhorak Or is there any current convention for carrying the stream files in the SCL repositories.

Otherwise LGTM. I have verifies that the stream is usable while looking in to the issue #5.

@sspeiche
Copy link
Contributor Author

@jcajka I updated the structure to match https://github.com/sclorg/s2i-ruby-container/tree/master/imagestreams and switched the sample to use a dedicated separate repo for the example.

Will evolve the example as needed and move to sclorg (or someone can create better example)

@pvalena
Copy link
Member

pvalena commented Mar 28, 2018

Just a side note: having some standartized locations for template and imagestream files would be really nice (I do have some automation regarding that and intend to have more).

@jcajka
Copy link
Contributor

jcajka commented Mar 29, 2018

@sspeiche Thanks. If there will be agreement on some other location we can easily move it afterwards.
@pvalena What I have been looking through the SCL repos. They have the streamfiles folder. I guess you are expecting it right?

@jcajka
Copy link
Contributor

jcajka commented Jul 24, 2018

@pvalena has there been any progress on setting some standard for streamfiles (location)?
I would really like to merge this soon.

@pvalena
Copy link
Member

pvalena commented Jul 24, 2018

@jcajka the current location is fine.
Thanks!

"kind": "ImageStreamTag",
"name": "1.8"
},
"name": "latest"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're missing:


        "referencePolicy": {
          "type": "Local"
        }

here. (See example)

"kind": "DockerImage",
"name": "docker.io/centos/go-toolset-7-centos7:latest"
},
"name": "1.8"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@pvalena
Copy link
Member

pvalena commented Jul 24, 2018

I've not tested it (esp. the example), and there're no tests. Could you provide sample of logs for 3.9?

Otherwise it LGTM.

@sspeiche
Copy link
Contributor Author

sspeiche commented Sep 5, 2018

@pvalena I think I've made all needed changes and is ready to merge, let me know if you need anything else

"iconClass": "icon-go-gopher",
"openshift.io/display-name": "Go (Latest)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/sspeiche/golang-ex.git",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to move sample app into https://github.com/sclorg/ org?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at a minimum it should be https://github.com/openshift/golang-ex

but yeah, i can go ahead and move the repo. That said, it's a weird sample because it doesn't rely on the s2i-golang image:

https://github.com/openshift/golang-ex/blob/master/Dockerfile

So i dunno that the SCL team wants to own it?

We probably need to create a new golang sample that actually does use the golang s2i builder:
https://github.com/sclorg/golang-container

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pvalena i created https://github.com/sclorg/golang-ex
feel free to update the settings/collaborators on the repo to whatever you guys want them to be.

"iconClass": "icon-go-gopher",
"openshift.io/display-name": "Go (1.8)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"sampleRepo": "https://github.com/openshift/origin.git",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this one... Shouldn't it be the same url as above?

@bparees
Copy link

bparees commented Sep 6, 2018

before we proceed with this, we should fix the sample so that it is built using the s2i builder, not embedding its own Dockerfile.

@sspeiche
Copy link
Contributor Author

sspeiche commented Sep 6, 2018

Moved my sample to https//github.com/sclorg/golang-ex.git and updated references to it from this image-stream (in both locations).

/ptal @pvalena

@pvalena
Copy link
Member

pvalena commented Sep 10, 2018

before we proceed with this, we should fix the sample so that it is built using the s2i builder, not embedding its own Dockerfile.

@bparees, I somehow missed this, would you mind to elaborate? Do you mean the sample app? The sclorg one uses s2i, right?

@bparees
Copy link

bparees commented Sep 10, 2018

@bparees, I somehow missed this, would you mind to elaborate? Do you mean the sample app? The sclorg one uses s2i, right?

I don't think the sclorg one existed before now.

We just created it here:
https://github.com/sclorg/golang-ex

but yes, it now uses s2i.

@sspeiche
Copy link
Contributor Author

@pvalena looks like this is ready to merge, not outstanding comments

@pvalena
Copy link
Member

pvalena commented Sep 20, 2018

Although I've not tested this, it LGTM.

@pvalena pvalena merged commit 4d9f19c into sclorg:master Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants