File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ func TestParseDevfileAndValidate(t *testing.T) {
46
46
47
47
devfileStruct := schema.DevWorkspaceTemplate {
48
48
TypeMeta : metav1.TypeMeta {
49
- APIVersion : "2.3 .0" ,
49
+ APIVersion : "2.1 .0" ,
50
50
},
51
51
Spec : schema.DevWorkspaceTemplateSpec {
52
52
DevWorkspaceTemplateSpecContent : schema.DevWorkspaceTemplateSpecContent {
@@ -152,12 +152,12 @@ metadata:
152
152
tags:
153
153
- Go
154
154
version: 1.0.0
155
- schemaVersion: 2.3.0
155
+ schemaVersion: 2.2.2
156
156
`
157
157
158
158
devfileContentWithVariable := devfileContent + `variables:
159
159
PARAMS: foo`
160
- devfileContentWithParent := `schemaVersion: 2.3.0
160
+ devfileContentWithParent := `schemaVersion: 2.2.2
161
161
parent:
162
162
id: devfile1
163
163
registryUrl: http://127.0.0.1:8080/registry
@@ -167,11 +167,11 @@ parent:
167
167
id: devfile1
168
168
registryUrl: http://127.0.0.1:8080/registry
169
169
`
170
- devfileContentWithParentNoRegistry := `schemaVersion: 2.3.0
170
+ devfileContentWithParentNoRegistry := `schemaVersion: 2.2.2
171
171
parent:
172
172
id: devfile1
173
173
`
174
- devfileContentWithCRDParent := `schemaVersion: 2.3.0
174
+ devfileContentWithCRDParent := `schemaVersion: 2.2.2
175
175
parent:
176
176
kubernetes:
177
177
name: devfile1
You can’t perform that action at this time.
0 commit comments