File tree Expand file tree Collapse file tree 3 files changed +41
-5
lines changed
pkg/console/subresource/configmap Expand file tree Collapse file tree 3 files changed +41
-5
lines changed Original file line number Diff line number Diff line change 26
26
os::log::info " Testing ${PACKAGE} "
27
27
go test $PACKAGE
28
28
done
29
+
30
+ OCP_PACKAGES_TO_TEST=(
31
+ " github.com/openshift/console-operator/pkg/console/subresource/configmap"
32
+ " github.com/openshift/console-operator/pkg/console/subresource/deployment"
33
+ " github.com/openshift/console-operator/pkg/console/subresource/oauthclient"
34
+ " github.com/openshift/console-operator/pkg/console/subresource/route"
35
+ " github.com/openshift/console-operator/pkg/console/subresource/secret"
36
+ " github.com/openshift/console-operator/pkg/console/subresource/service"
37
+ " github.com/openshift/console-operator/pkg/console/subresource/util"
38
+ " github.com/openshift/console-operator/pkg/console/version"
39
+ )
40
+
41
+ for PACKAGE in " ${OCP_PACKAGES_TO_TEST[@]} "
42
+ do
43
+ os::log::info " Testing with tag ocp ${PACKAGE} "
44
+ go test -tags " ocp" $PACKAGE
45
+ done
Original file line number Diff line number Diff line change 13
13
subresources :
14
14
status : {}
15
15
versions :
16
- - name : v1
17
- served : true
18
- storage : true
16
+ - name : v1
17
+ served : true
18
+ storage : true
19
+ validation :
20
+ openAPIV3Schema :
21
+ properties :
22
+ spec :
23
+ properties :
24
+ authentication :
25
+ properties :
26
+ logoutRedirect :
27
+ pattern : ^((http|https):\/\/?)[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))$
28
+ type : string
29
+ customization :
30
+ properties :
31
+ documentationBaseURL :
32
+ # pattern: ^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+\/$
33
+ pattern : ^((http|https):\/\/?)[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))\/$
34
+ type : string
35
+ brand :
36
+ pattern : ^(ocp|origin|okd|dedicated|online)$
37
+ type : string
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ clusterInfo:
27
27
consoleBaseAddress: https://` + host + `
28
28
consoleBasePath: ""
29
29
customization:
30
- branding: okd
31
- documentationBaseURL: https://docs.okd.io/4.0/
30
+ branding: ` + DEFAULT_BRAND + `
31
+ documentationBaseURL: ` + DEFAULT_DOC_URL + `
32
32
servingInfo:
33
33
bindAddress: https://0.0.0.0:8443
34
34
certFile: /var/serving-cert/tls.crt
You can’t perform that action at this time.
0 commit comments