Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate v1alpha1 #639

Merged
merged 5 commits into from
Oct 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ generator/build/generator "interfaces" "paths=./pkg/apis/workspaces/v1alpha2"

echo "Generating K8S CRDs"

generator/build/generator "crds" "output:crds:artifacts:config=crds" "paths=./pkg/apis/workspaces/v1alpha2;./pkg/apis/workspaces/v1alpha1"
generator/build/generator "crds" "output:crds:artifacts:config=crds" "paths=./pkg/apis/workspaces/v1alpha2;"

echo "Generating DeepCopy implementations"

generator/build/generator "deepcopy" "paths=./pkg/apis/workspaces/v1alpha2;./pkg/apis/workspaces/v1alpha1"
generator/build/generator "deepcopy" "paths=./pkg/apis/workspaces/v1alpha2;"

echo "Generating JsonSchemas"

Expand Down
11,229 changes: 3,548 additions & 7,681 deletions crds/workspace.devfile.io_devworkspaces.v1beta1.yaml

Large diffs are not rendered by default.

4,082 changes: 0 additions & 4,082 deletions crds/workspace.devfile.io_devworkspaces.yaml

Large diffs are not rendered by default.

10,628 changes: 3,352 additions & 7,276 deletions crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml

Large diffs are not rendered by default.

3,875 changes: 0 additions & 3,875 deletions crds/workspace.devfile.io_devworkspacetemplates.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions devfile.api.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "crds", "paths=./pkg/apis/workspaces/v1alpha2;./pkg/apis/workspaces/v1alpha1", "output:crds:artifacts:config=crds" ],
"args": [ "crds", "paths=./pkg/apis/workspaces/v1alpha2;", "output:crds:artifacts:config=crds" ],
"cwd": "${workspaceFolder:api}"
},
{
Expand All @@ -75,7 +75,7 @@
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "deepcopy", "paths=./pkg/apis/workspaces/v1alpha2;./pkg/apis/workspaces/v1alpha1" ],
"args": [ "deepcopy", "paths=./pkg/apis/workspaces/v1alpha2;" ],
"cwd": "${workspaceFolder:api}"
},
{
Expand All @@ -85,7 +85,7 @@
"mode": "auto",
"program": "${workspaceFolder:generator}",
"env": { "GOMOD": "${workspaceFolder:generator}/go.mod"},
"args": [ "schemas", "paths=./pkg/apis/workspaces/v1alpha2;./pkg/apis/workspaces/v1alpha1", "output:schemas:artifacts:config=schemas" ],
"args": [ "schemas", "paths=./pkg/apis/workspaces/v1alpha2;", "output:schemas:artifacts:config=schemas" ],
"cwd": "${workspaceFolder:api}"
},
{
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ go 1.13

require (
github.com/ghodss/yaml v1.0.0
github.com/google/go-cmp v0.5.5
github.com/google/gofuzz v1.2.0
github.com/google/gofuzz v1.2.0 // indirect
github.com/hashicorp/go-multierror v1.1.0
github.com/lucasjones/reggen v0.0.0-20200904144131-37ba4fa293bb
github.com/mitchellh/reflectwalk v1.0.1
Expand Down
40 changes: 0 additions & 40 deletions pkg/apis/workspaces/v1alpha1/attributes_conversion.go

This file was deleted.

215 changes: 0 additions & 215 deletions pkg/apis/workspaces/v1alpha1/commands.go

This file was deleted.

Loading