Skip to content

Commit 04ddb00

Browse files
authored
Deprecate old go stacks (#642)
* Deprecate old go stacks Signed-off-by: thepetk <thepetk@gmail.com> * Fix issue with validate_devfile_schemas Signed-off-by: thepetk <thepetk@gmail.com> --------- Signed-off-by: thepetk <thepetk@gmail.com>
1 parent 984f405 commit 04ddb00

9 files changed

Lines changed: 17 additions & 1 deletion

File tree

renovate.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,15 @@
6161
"stacks/nodejs/**",
6262
"stacks/go/1.0.2/**",
6363
"stacks/go/1.1.0/**",
64+
"stacks/go/1.2.0/**",
65+
"stacks/go/1.2.1/**",
66+
"stacks/go/1.3.0/**",
67+
"stacks/go/1.3.1/**",
6468
"stacks/go/2.0.0/**",
6569
"stacks/go/2.1.0/**",
70+
"stacks/go/2.2.0/**",
71+
"stacks/go/2.3.0/**",
72+
"stacks/go/2.4.0/**",
6673
"stacks/nodejs/2.1.1/**",
6774
"stacks/nodejs-angular/2.0.2/**",
6875
"stacks/nodejs-nextjs/1.0.3/**",

stacks/go/1.2.0/devfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/golang.svg
77
tags:
88
- Go
9+
- Deprecated
910
projectType: Go
1011
language: Go
1112
provider: Red Hat

stacks/go/1.2.1/devfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/golang.svg
77
tags:
88
- Go
9+
- Deprecated
910
projectType: Go
1011
language: Go
1112
provider: Red Hat

stacks/go/1.3.0/devfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/golang.svg
77
tags:
88
- Go
9+
- Deprecated
910
projectType: Go
1011
language: Go
1112
provider: Red Hat

stacks/go/1.3.1/devfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/golang.svg
77
tags:
88
- Go
9+
- Deprecated
910
projectType: Go
1011
language: Go
1112
provider: Red Hat

stacks/go/2.2.0/devfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/golang.svg
77
tags:
88
- Go
9+
- Deprecated
910
projectType: Go
1011
language: Go
1112
provider: Red Hat

stacks/go/2.3.0/devfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/golang.svg
77
tags:
88
- Go
9+
- Deprecated
910
projectType: Go
1011
language: Go
1112
provider: Red Hat

stacks/go/2.4.0/devfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/golang.svg
77
tags:
88
- Go
9+
- Deprecated
910
projectType: Go
1011
language: Go
1112
provider: Red Hat

tests/validate_devfile_schemas/validate_devfile_schemas_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ var _ = Describe("validate stacks follow the schema", func() {
4747
It(fmt.Sprintf("stack: %s", dir), func() {
4848
path := filepath.Join(stacksPath, dir, "devfile.yaml")
4949

50+
convertKubernetesContentInUri := false
5051
parserArgs := parser.ParserArgs{
51-
Path: path,
52+
Path: path,
53+
ConvertKubernetesContentInUri: &convertKubernetesContentInUri,
5254
}
5355

5456
GinkgoWriter.Println(parserArgs)

0 commit comments

Comments
 (0)