Skip to content

Commit

Permalink
Merge pull request #436 from mengqiy/cleanup
Browse files Browse the repository at this point in the history
cleanup kubebulder-gen
  • Loading branch information
k8s-ci-robot authored Oct 12, 2018
2 parents c1beac4 + c4a61e0 commit d1fc6f7
Show file tree
Hide file tree
Showing 38 changed files with 19 additions and 3,174 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install:
-

script:
- TRACE=1 ./testv1.sh
- TRACE=1 ./test.sh

# TBD. Suppressing for now.
notifications:
Expand Down
13 changes: 2 additions & 11 deletions build/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
# This is a GoReleaser configuration file for Kubebuilder release.
# Make sure to check the documentation at http://goreleaser.com
builds:
- main: ./cmd/kubebuilder
- main: ./cmd
binary: kubebuilder
ldflags: -s -X sigs.k8s.io/kubebuilder/cmd/kubebuilder/version.kubeBuilderVersion={{.Version}} -X sigs.k8s.io/kubebuilder/cmd/kubebuilder/version.gitCommit={{.Commit}} -X sigs.k8s.io/kubebuilder/cmd/kubebuilder/version.buildDate={{.Date}} -X sigs.k8s.io/kubebuilder/cmd/kubebuilder/version.kubernetesVendorVersion={{.Env.KUBERNETES_VERSION}}
goos:
- darwin
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- main: ./cmd/kubebuilder-gen
binary: kubebuilder-gen
ldflags: -s -X sigs.k8s.io/kubebuilder/cmd/version.kubeBuilderVersion={{.Version}} -X sigs.k8s.io/kubebuilder/cmd/version.gitCommit={{.Commit}} -X sigs.k8s.io/kubebuilder/cmd/version.buildDate={{.Date}} -X sigs.k8s.io/kubebuilder/cmd/version.kubernetesVendorVersion={{.Env.KUBERNETES_VERSION}}
goos:
- darwin
- linux
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cmd/kubebuilder/api.go → cmd/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"

"sigs.k8s.io/kubebuilder/cmd/kubebuilder/util"
"sigs.k8s.io/kubebuilder/cmd/util"
"sigs.k8s.io/kubebuilder/pkg/scaffold"
"sigs.k8s.io/kubebuilder/pkg/scaffold/controller"
"sigs.k8s.io/kubebuilder/pkg/scaffold/input"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cmd/kubebuilder/init_project.go → cmd/init_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"

"sigs.k8s.io/kubebuilder/cmd/kubebuilder/util"
"sigs.k8s.io/kubebuilder/cmd/util"
"sigs.k8s.io/kubebuilder/pkg/scaffold"
"sigs.k8s.io/kubebuilder/pkg/scaffold/input"
"sigs.k8s.io/kubebuilder/pkg/scaffold/manager"
Expand Down
285 changes: 0 additions & 285 deletions cmd/internal/codegen/parse/apis.go

This file was deleted.

41 changes: 0 additions & 41 deletions cmd/internal/codegen/parse/context.go

This file was deleted.

Loading

0 comments on commit d1fc6f7

Please sign in to comment.