Skip to content

Commit 9afd5e8

Browse files
committed
NodeJS 16 reached EOL. Deprecate it
Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent ade902b commit 9afd5e8

File tree

4 files changed

+3
-83
lines changed

4 files changed

+3
-83
lines changed

1minutetip.edcsa

Lines changed: 0 additions & 9 deletions
This file was deleted.

charts/redhat/nodejs-imagestreams/src/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ description: |-
55
annotations:
66
charts.openshift.io/name: Red Hat NodeJS applications on UBI (experimental)
77
apiVersion: v2
8-
appVersion: 0.0.2
8+
appVersion: 0.0.3
99
kubeVersion: '>=1.20.0'
1010
name: nodejs-imagestreams
1111
tags: builder,nodejs
1212
sources:
1313
- https://github.com/sclorg/helm-charts
14-
version: 0.0.2
14+
version: 0.0.3

charts/redhat/nodejs-imagestreams/src/templates/nodejs-imagestream.yaml

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
sampleRepo: https://github.com/sclorg/nodejs-ex.git
2222
from:
2323
kind: ImageStreamTag
24-
name: 16-ubi8
24+
name: 20-ubi8
2525
referencePolicy:
2626
type: Local
2727
- name: 20-ubi9
@@ -54,21 +54,6 @@ spec:
5454
name: registry.redhat.io/ubi9/nodejs-18:latest
5555
referencePolicy:
5656
type: Local
57-
- name: 16-ubi9
58-
annotations:
59-
openshift.io/display-name: Node.js 16 (UBI 9)
60-
openshift.io/provider-display-name: Red Hat, Inc.
61-
description: Build and run Node.js 16 applications on UBI 9. For more information
62-
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/16/README.md.
63-
iconClass: icon-nodejs
64-
tags: builder,nodejs
65-
version: '16'
66-
sampleRepo: https://github.com/sclorg/nodejs-ex.git
67-
from:
68-
kind: DockerImage
69-
name: registry.redhat.io/ubi9/nodejs-16:latest
70-
referencePolicy:
71-
type: Local
7257
- name: 20-ubi9-minimal
7358
annotations:
7459
openshift.io/display-name: Node.js 20 (UBI 9 Minimal)
@@ -101,22 +86,6 @@ spec:
10186
name: registry.redhat.io/ubi9/nodejs-18-minimal:latest
10287
referencePolicy:
10388
type: Local
104-
- name: 16-ubi9-minimal
105-
annotations:
106-
openshift.io/display-name: Node.js 16 (UBI 9 Minimal)
107-
openshift.io/provider-display-name: Red Hat, Inc.
108-
description: Build and run Node.js 16 applications on UBI 9 Minimal. For more
109-
information about using this builder image, including OpenShift considerations,
110-
see https://github.com/sclorg/s2i-nodejs-container/blob/master/16-minimal/README.md.
111-
iconClass: icon-nodejs
112-
tags: builder,nodejs
113-
version: '16'
114-
sampleRepo: https://github.com/sclorg/nodejs-ex.git
115-
from:
116-
kind: DockerImage
117-
name: registry.redhat.io/ubi9/nodejs-16-minimal:latest
118-
referencePolicy:
119-
type: Local
12089
- name: 20-ubi8
12190
annotations:
12291
openshift.io/display-name: Node.js 20 (UBI 8)
@@ -147,21 +116,6 @@ spec:
147116
name: registry.redhat.io/ubi8/nodejs-18:latest
148117
referencePolicy:
149118
type: Local
150-
- name: 16-ubi8
151-
annotations:
152-
openshift.io/display-name: Node.js 16 (UBI 8)
153-
openshift.io/provider-display-name: Red Hat, Inc.
154-
description: Build and run Node.js 16 applications on UBI 8. For more information
155-
about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/16/README.md.
156-
iconClass: icon-nodejs
157-
tags: builder,nodejs
158-
version: '16'
159-
sampleRepo: https://github.com/sclorg/nodejs-ex.git
160-
from:
161-
kind: DockerImage
162-
name: registry.redhat.io/ubi8/nodejs-16:latest
163-
referencePolicy:
164-
type: Local
165119
- name: 20-ubi8-minimal
166120
annotations:
167121
openshift.io/display-name: Node.js 20 (UBI 8 Minimal)
@@ -194,22 +148,6 @@ spec:
194148
name: registry.redhat.io/ubi8/nodejs-18-minimal:latest
195149
referencePolicy:
196150
type: Local
197-
- name: 16-ubi8-minimal
198-
annotations:
199-
openshift.io/display-name: Node.js 16 (UBI 8 Minimal)
200-
openshift.io/provider-display-name: Red Hat, Inc.
201-
description: Build and run Node.js 16 applications on UBI 8 Minimal. For more
202-
information about using this builder image, including OpenShift considerations,
203-
see https://github.com/sclorg/s2i-nodejs-container/blob/master/16-minimal/README.md.
204-
iconClass: icon-nodejs
205-
tags: builder,nodejs
206-
version: '16'
207-
sampleRepo: https://github.com/sclorg/nodejs-ex.git
208-
from:
209-
kind: DockerImage
210-
name: registry.redhat.io/ubi8/nodejs-16-minimal:latest
211-
referencePolicy:
212-
type: Local
213151
- name: 14-ubi7
214152
annotations:
215153
openshift.io/display-name: Node.js 14 (UBI 7)

tests/test_nodejs_imagestreams.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ def teardown_method(self):
2929
("18-ubi9-minimal", "registry.redhat.io/ubi9/nodejs-18-minimal:latest"),
3030
("18-ubi8", "registry.redhat.io/ubi8/nodejs-18:latest"),
3131
("18-ubi8-minimal", "registry.redhat.io/ubi8/nodejs-18-minimal:latest"),
32-
("16-ubi9", "registry.redhat.io/ubi9/nodejs-16:latest"),
33-
("16-ubi9-minimal", "registry.redhat.io/ubi9/nodejs-16-minimal:latest"),
34-
("16-ubi8", "registry.redhat.io/ubi8/nodejs-16:latest"),
35-
("16-ubi8-minimal", "registry.redhat.io/ubi8/nodejs-16-minimal:latest"),
3632
("14-ubi7", "registry.redhat.io/ubi7/nodejs-14:latest"),
3733
],
3834
)
@@ -55,17 +51,12 @@ def teardown_method(self):
5551
@pytest.mark.parametrize(
5652
"version,registry",
5753
[
58-
("16-ubi9", "registry.access.redhat.com/ubi9/nodejs-16:latest"),
59-
("16-ubi9-minimal", "registry.access.redhat.com/ubi9/nodejs-16-minimal:latest"),
60-
("16-ubi8", "registry.access.redhat.com/ubi8/nodejs-16:latest"),
61-
("16-ubi8-minimal", "registry.access.redhat.com/ubi8/nodejs-16-minimal:latest"),
6254
("14-ubi8", "registry.access.redhat.com/ubi8/nodejs-14:latest"),
6355
("14-ubi8-minimal", "registry.access.redhat.com/ubi8/nodejs-14-minimal:latest"),
6456
("14-ubi7", "registry.access.redhat.com/ubi7/nodejs-14:latest"),
6557
],
6658
)
6759
def test_package_imagestream(self, version, registry):
68-
self.hc_api.set_version("0.0.1")
6960
self.hc_api.helm_package()
7061
self.hc_api.helm_installation()
7162
assert self.hc_api.check_imagestreams(version=version, registry=registry)

0 commit comments

Comments
 (0)