Skip to content

Commit 9e4fc15

Browse files
authored
Update ruby imagestreams (#1567)
1 parent 6d71b55 commit 9e4fc15

File tree

6 files changed

+174
-0
lines changed

6 files changed

+174
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
description: |-
2+
This content is expermental, do not use it in production. Ruby imagestreams on UBI.
3+
For more information about using this builder image, including OpenShift considerations,
4+
see https://github.com/sclorg/s2i-ruby-container/blob/master/3.3/README.md.
5+
annotations:
6+
charts.openshift.io/name: Red Hat Ruby applications on UBI (experimental)
7+
apiVersion: v2
8+
appVersion: 0.0.4
9+
kubeVersion: '>=1.20.0'
10+
name: redhat-ruby-imagestreams
11+
tags: builder,ruby
12+
sources:
13+
- https://github.com/sclorg/helm-charts
14+
version: 0.0.4
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Ruby imagestreams helm chart
2+
3+
A Helm chart for importing Ruby imagestreams on OpenShift.
4+
5+
For more information about helm charts see the official [Helm Charts Documentation](https://helm.sh/).
6+
7+
You need to have access to a cluster for each operation with OpenShift 4, like deploying and testing.
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
kind: ImageStream
3+
apiVersion: image.openshift.io/v1
4+
metadata:
5+
name: ruby
6+
annotations:
7+
openshift.io/display-name: Ruby
8+
spec:
9+
tags:
10+
- name: latest
11+
annotations:
12+
openshift.io/display-name: Ruby (Latest)
13+
openshift.io/provider-display-name: Red Hat, Inc.
14+
description: |-
15+
Build and run Ruby applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-ruby-container/tree/master/3.3/README.md.
16+
17+
WARNING: By selecting this tag, your application will automatically update to use the latest version of Ruby available on OpenShift, including major version updates.
18+
iconClass: icon-ruby
19+
tags: builder,ruby
20+
supports: ruby
21+
sampleRepo: https://github.com/sclorg/ruby-ex.git
22+
from:
23+
kind: ImageStreamTag
24+
name: 3.3-ubi8
25+
referencePolicy:
26+
type: Local
27+
- name: 3.3-ubi9
28+
annotations:
29+
openshift.io/display-name: Ruby 3.3 (UBI 9)
30+
openshift.io/provider-display-name: Red Hat, Inc.
31+
description: Build and run Ruby 3.3 applications on UBI 9. For more information
32+
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-ruby-container/blob/master/3.3/README.md.
33+
iconClass: icon-ruby
34+
tags: builder,ruby
35+
supports: ruby:3.3,ruby
36+
version: '3.3'
37+
sampleRepo: https://github.com/sclorg/ruby-ex.git
38+
from:
39+
kind: DockerImage
40+
name: registry.redhat.io/ubi9/ruby-33:latest
41+
referencePolicy:
42+
type: Local
43+
- name: 3.1-ubi9
44+
annotations:
45+
openshift.io/display-name: Ruby 3.1 (UBI 9)
46+
openshift.io/provider-display-name: Red Hat, Inc.
47+
description: Build and run Ruby 3.1 applications on UBI 9. For more information
48+
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-ruby-container/blob/master/3.1/README.md.
49+
iconClass: icon-ruby
50+
tags: builder,ruby
51+
supports: ruby:3.1,ruby
52+
version: '3.1'
53+
sampleRepo: https://github.com/sclorg/ruby-ex.git
54+
from:
55+
kind: DockerImage
56+
name: registry.redhat.io/ubi9/ruby-31:latest
57+
referencePolicy:
58+
type: Local
59+
- name: 3.3-ubi8
60+
annotations:
61+
openshift.io/display-name: Ruby 3.3 (UBI 8)
62+
openshift.io/provider-display-name: Red Hat, Inc.
63+
description: Build and run Ruby 3.3 applications on UBI 8. For more information
64+
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-ruby-container/blob/master/3.3/README.md.
65+
iconClass: icon-ruby
66+
tags: builder,ruby
67+
supports: ruby:3.3,ruby
68+
version: '3.3'
69+
sampleRepo: https://github.com/sclorg/ruby-ex.git
70+
from:
71+
kind: DockerImage
72+
name: registry.redhat.io/ubi8/ruby-33:latest
73+
referencePolicy:
74+
type: Local
75+
- name: 3.0-ubi9
76+
annotations:
77+
openshift.io/display-name: Ruby 3.0 (UBI 9)
78+
openshift.io/provider-display-name: Red Hat, Inc.
79+
description: Build and run Ruby 3.0 applications on UBI 9. For more information
80+
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-ruby-container/blob/master/3.0/README.md.
81+
iconClass: icon-ruby
82+
tags: builder,ruby
83+
supports: ruby:3.0,ruby
84+
version: '3.0'
85+
sampleRepo: https://github.com/sclorg/ruby-ex.git
86+
from:
87+
kind: DockerImage
88+
name: registry.redhat.io/ubi9/ruby-30:latest
89+
referencePolicy:
90+
type: Local
91+
- name: 3.1-ubi8
92+
annotations:
93+
openshift.io/display-name: Ruby 3.1 (UBI 8)
94+
openshift.io/provider-display-name: Red Hat, Inc.
95+
description: Build and run Ruby 3.1 applications on UBI 8. For more information
96+
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-ruby-container/blob/master/3.1/README.md.
97+
iconClass: icon-ruby
98+
tags: builder,ruby
99+
supports: ruby:3.1,ruby
100+
version: '3.1'
101+
sampleRepo: https://github.com/sclorg/ruby-ex.git
102+
from:
103+
kind: DockerImage
104+
name: registry.redhat.io/ubi8/ruby-31:latest
105+
referencePolicy:
106+
type: Local
107+
- name: 2.5-ubi8
108+
annotations:
109+
openshift.io/display-name: Ruby 2.5 (UBI 8)
110+
openshift.io/provider-display-name: Red Hat, Inc.
111+
description: Build and run Ruby 2.5 applications on UBI 8. For more information
112+
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-ruby-container/blob/master/2.5/README.md.
113+
iconClass: icon-ruby
114+
tags: builder,ruby
115+
supports: ruby:2.5,ruby
116+
version: '2.5'
117+
sampleRepo: https://github.com/sclorg/ruby-ex.git
118+
from:
119+
kind: DockerImage
120+
name: registry.redhat.io/ubi8/ruby-25:latest
121+
referencePolicy:
122+
type: Local
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: "{{ .Release.Name }}-connection-test"
5+
namespace: "{{ .Release.Namespace }}"
6+
annotations:
7+
"helm.sh/hook": test
8+
spec:
9+
#serviceAccount: {{ .Values.serviceAccount }}
10+
containers:
11+
- name: "ruby-imagestream-test"
12+
image: "registry.access.redhat.com/ubi9/ruby-31"
13+
imagePullPolicy: IfNotPresent
14+
command:
15+
- '/bin/bash'
16+
- '-ec'
17+
- >
18+
ruby -v
19+
lookupPolicy:
20+
local: true
21+
restartPolicy: Never
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "http://json-schema.org/schema#",
3+
"type": "object",
4+
"properties": {
5+
"namespace": {
6+
"type": "string"
7+
}
8+
}
9+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
namespace: openshift

0 commit comments

Comments
 (0)