You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# check that if an --output-version is requested on a list of varying resource kinds, an error is returned if
101
+
# at least one of the resource groups does not support the given version
102
+
os::cmd::expect_failure_and_text 'oc new-app -f examples/prometheus/prometheus.yaml -o yaml --output-version=v1''extensions.Deployment is not suitable for converting'
103
+
os::cmd::expect_failure_and_not_text 'oc new-app -f examples/prometheus/prometheus.yaml -o yaml --output-version=extensions/v1beta1''extensions.Deployment is not suitable for converting'
104
+
os::cmd::expect_failure_and_not_text 'oc new-app -f examples/prometheus/prometheus.yaml -o yaml --output-version=apps/v1beta1''extensions.Deployment is not suitable for converting'
105
+
98
106
# check that an error is produced when using --context-dir with a template
99
107
os::cmd::expect_failure_and_text 'oc new-app -f examples/sample-app/application-template-stibuild.json --context-dir=example''\-\-context-dir is not supported when using a template'
0 commit comments