Skip to content

Commit

Permalink
Merge pull request #408 from hhorak/addv18is
Browse files Browse the repository at this point in the history
Add v18 image streams
  • Loading branch information
phracek authored Oct 5, 2023
2 parents 86a8844 + c3a2f7f commit 666d4ed
Show file tree
Hide file tree
Showing 7 changed files with 248 additions and 17 deletions.
2 changes: 1 addition & 1 deletion common
Submodule common updated 0 files
80 changes: 78 additions & 2 deletions imagestreams/nodejs-centos.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,91 @@
"annotations": {
"openshift.io/display-name": "Node.js (Latest)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/16/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major version updates.",
"description": "Build and run Node.js applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major version updates.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"supports":"nodejs",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "ImageStreamTag",
"name": "16-ubi8"
"name": "18-ubi8"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi9",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 9)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 9. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.access.redhat.com/ubi9/nodejs-18:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi9-minimal",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 9 Minimal)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 9 Minimal. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18-minimal/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.access.redhat.com/ubi9/nodejs-18-minimal:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi8",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 8)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 8. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.access.redhat.com/ubi8/nodejs-18:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi8-minimal",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 8 Minimal)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 8 Minimal. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18-minimal/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.access.redhat.com/ubi8/nodejs-18-minimal:latest"
},
"referencePolicy": {
"type": "Local"
Expand Down
80 changes: 78 additions & 2 deletions imagestreams/nodejs-rhel-aarch64.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,91 @@
"annotations": {
"openshift.io/display-name": "Node.js (Latest)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/16/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major version updates.",
"description": "Build and run Node.js applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major version updates.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"supports":"nodejs",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "ImageStreamTag",
"name": "16-ubi8"
"name": "18-ubi8"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi9",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 9)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 9. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi9/nodejs-18:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi9-minimal",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 9 Minimal)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 9 Minimal. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18-minimal/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi9/nodejs-18-minimal:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi8",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 8)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 8. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi8/nodejs-18:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi8-minimal",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 8 Minimal)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 8 Minimal. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18-minimal/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi8/nodejs-18-minimal:latest"
},
"referencePolicy": {
"type": "Local"
Expand Down
80 changes: 78 additions & 2 deletions imagestreams/nodejs-rhel.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,91 @@
"annotations": {
"openshift.io/display-name": "Node.js (Latest)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/16/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major version updates.",
"description": "Build and run Node.js applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major version updates.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"supports":"nodejs",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "ImageStreamTag",
"name": "16-ubi8"
"name": "18-ubi8"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi9",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 9)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 9. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi9/nodejs-18:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi9-minimal",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 9 Minimal)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 9 Minimal. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18-minimal/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi9/nodejs-18-minimal:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi8",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 8)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 8. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi8/nodejs-18:latest"
},
"referencePolicy": {
"type": "Local"
}
},
{
"name": "18-ubi8-minimal",
"annotations": {
"openshift.io/display-name": "Node.js 18 (UBI 8 Minimal)",
"openshift.io/provider-display-name": "Red Hat, Inc.",
"description": "Build and run Node.js 18 applications on UBI 8 Minimal. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/18-minimal/README.md.",
"iconClass": "icon-nodejs",
"tags": "builder,nodejs",
"version": "18",
"sampleRepo": "https://github.com/sclorg/nodejs-ex.git"
},
"from": {
"kind": "DockerImage",
"name": "registry.redhat.io/ubi8/nodejs-18-minimal:latest"
},
"referencePolicy": {
"type": "Local"
Expand Down
10 changes: 0 additions & 10 deletions test/run-openshift
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ set -eo nounset

trap ct_os_cleanup EXIT SIGINT

test_latest_imagestreams() {
local result=1
# Switch to root directory of a container
pushd "${test_dir}/.." >/dev/null || return 1
ct_check_latest_imagestreams
result=$?
popd >/dev/null || return 1
return $result
}

ct_os_check_compulsory_vars

ct_os_enable_print_logs
Expand Down
1 change: 1 addition & 0 deletions test/run-openshift-remote-cluster
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ test_nodejs_s2i_container
test_nodejs_s2i_app_ex
test_nodejs_s2i_templates
test_nodejs_imagestream
test_latest_imagestreams
"


Expand Down
12 changes: 12 additions & 0 deletions test/test-lib-nodejs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ THISDIR=$(dirname ${BASH_SOURCE[0]})
source "${THISDIR}/test-lib.sh"
source "${THISDIR}/test-lib-openshift.sh"

test_dir="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"

info() {
echo -e "\n\e[1m[INFO] $@...\e[0m\n"
}
Expand Down Expand Up @@ -574,5 +576,15 @@ function test_nodejs_s2i_templates() {
return $ret_val
}

function test_latest_imagestreams() {
local result=1
# Switch to root directory of a container
pushd "${test_dir}/.." >/dev/null || return 1
ct_check_latest_imagestreams
result=$?
popd >/dev/null || return 1
return $result
}

# vim: set tabstop=2:shiftwidth=2:expandtab:

0 comments on commit 666d4ed

Please sign in to comment.