Skip to content

Commit 9e126dc

Browse files
Merge pull request #17281 from alexcern/examples_python36
Automatic merge from submit-queue (batch tested with PRs 17327, 17281). Add python 3.6 S2I image to examples Python 3.6 S2I image was added by sclorg/s2i-python-container#215
2 parents c50426d + d4a8e61 commit 9e126dc

File tree

5 files changed

+116
-13
lines changed

5 files changed

+116
-13
lines changed

examples/image-streams/image-streams-centos7.json

+19-2
Original file line numberDiff line numberDiff line change
@@ -407,15 +407,15 @@
407407
"annotations": {
408408
"openshift.io/display-name": "Python (Latest)",
409409
"openshift.io/provider-display-name": "Red Hat, Inc.",
410-
"description": "Build and run Python applications on CentOS 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.5/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Python available on OpenShift, including major versions updates.",
410+
"description": "Build and run Python applications on CentOS 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.6/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Python available on OpenShift, including major versions updates.",
411411
"iconClass": "icon-python",
412412
"tags": "builder,python",
413413
"supports":"python",
414414
"sampleRepo": "https://github.com/openshift/django-ex.git"
415415
},
416416
"from": {
417417
"kind": "ImageStreamTag",
418-
"name": "3.5"
418+
"name": "3.6"
419419
}
420420
},
421421
{
@@ -485,6 +485,23 @@
485485
"kind": "DockerImage",
486486
"name": "centos/python-35-centos7:latest"
487487
}
488+
},
489+
{
490+
"name": "3.6",
491+
"annotations": {
492+
"openshift.io/display-name": "Python 3.6",
493+
"openshift.io/provider-display-name": "Red Hat, Inc.",
494+
"description": "Build and run Python 3.6 applications on CentOS 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.6/README.md.",
495+
"iconClass": "icon-python",
496+
"tags": "builder,python",
497+
"supports":"python:3.6,python",
498+
"version": "3.6",
499+
"sampleRepo": "https://github.com/openshift/django-ex.git"
500+
},
501+
"from": {
502+
"kind": "DockerImage",
503+
"name": "centos/python-36-centos7:latest"
504+
}
488505
}
489506
]
490507
}

examples/image-streams/image-streams-rhel7.json

+19-2
Original file line numberDiff line numberDiff line change
@@ -407,15 +407,15 @@
407407
"annotations": {
408408
"openshift.io/display-name": "Python (Latest)",
409409
"openshift.io/provider-display-name": "Red Hat, Inc.",
410-
"description": "Build and run Python applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.5/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Python available on OpenShift, including major versions updates.",
410+
"description": "Build and run Python applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.6/README.md.\n\nWARNING: By selecting this tag, your application will automatically update to use the latest version of Python available on OpenShift, including major versions updates.",
411411
"iconClass": "icon-python",
412412
"tags": "builder,python",
413413
"supports":"python",
414414
"sampleRepo": "https://github.com/openshift/django-ex.git"
415415
},
416416
"from": {
417417
"kind": "ImageStreamTag",
418-
"name": "3.5"
418+
"name": "3.6"
419419
}
420420
},
421421
{
@@ -485,6 +485,23 @@
485485
"kind": "DockerImage",
486486
"name": "registry.access.redhat.com/rhscl/python-35-rhel7:latest"
487487
}
488+
},
489+
{
490+
"name": "3.6",
491+
"annotations": {
492+
"openshift.io/display-name": "Python 3.6",
493+
"openshift.io/provider-display-name": "Red Hat, Inc.",
494+
"description": "Build and run Python 3.6 applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-python-container/blob/master/3.6/README.md.",
495+
"iconClass": "icon-python",
496+
"tags": "builder,python",
497+
"supports":"python:3.6,python",
498+
"version": "3.6",
499+
"sampleRepo": "https://github.com/openshift/django-ex.git"
500+
},
501+
"from": {
502+
"kind": "DockerImage",
503+
"name": "registry.access.redhat.com/rhscl/python-36-rhel7:latest"
504+
}
488505
}
489506
]
490507
}

pkg/oc/bootstrap/bindata.go

+38-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/cmd/newapp.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ os::cmd::try_until_success 'oc get imagestreamtags python:2.7'
285285
os::cmd::try_until_success 'oc get imagestreamtags python:3.3'
286286
os::cmd::try_until_success 'oc get imagestreamtags python:3.4'
287287
os::cmd::try_until_success 'oc get imagestreamtags python:3.5'
288+
os::cmd::try_until_success 'oc get imagestreamtags python:3.6'
288289
os::cmd::try_until_success 'oc get imagestreamtags ruby:latest'
289290
os::cmd::try_until_success 'oc get imagestreamtags ruby:2.0'
290291
os::cmd::try_until_success 'oc get imagestreamtags ruby:2.2'
@@ -301,7 +302,7 @@ os::cmd::expect_success_and_text 'oc new-app --search --image-stream=nodejs' "Ta
301302
os::cmd::expect_success_and_text 'oc new-app --search --image-stream=perl' "Tags:\s+5.20, 5.24, latest"
302303
os::cmd::expect_success_and_text 'oc new-app --search --image-stream=php' "Tags:\s+5.6, 7.0, latest"
303304
os::cmd::expect_success_and_text 'oc new-app --search --image-stream=postgresql' "Tags:\s+9.4, 9.5, latest"
304-
os::cmd::expect_success_and_text 'oc new-app -S --image-stream=python' "Tags:\s+2.7, 3.4, 3.5, latest"
305+
os::cmd::expect_success_and_text 'oc new-app -S --image-stream=python' "Tags:\s+2.7, 3.4, 3.5, 3.6, latest"
305306
os::cmd::expect_success_and_text 'oc new-app -S --image-stream=ruby' "Tags:\s+2.2, 2.3, 2.4, latest"
306307
os::cmd::expect_success_and_text 'oc new-app -S --image-stream=wildfly' "Tags:\s+10.0, 10.1, 8.1, 9.0, latest"
307308
os::cmd::expect_success_and_text 'oc new-app --search --template=ruby-helloworld-sample' 'ruby-helloworld-sample'

test/extended/testdata/bindata.go

+38-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)