diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 34ad126f..4666f048 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -68,7 +68,7 @@ jobs: ARCH=$2 echo "Building for $OS-$ARCH" GOOS=$OS CGO_ENABLED=0 GOARCH=$ARCH go build \ - -ldflags "-X 'github.com/vmware-tanzu/kpack-cli/pkg/rootcommand.Version=${{ env.VERSION }}' -X 'github.com/vmware-tanzu/kpack-cli/pkg/rootcommand.CommitSHA=$(git rev-parse --short HEAD)'" \ + -ldflags "-X 'github.com/buildpacks-community/kpack-cli/pkg/rootcommand.Version=${{ env.VERSION }}' -X 'github.com/buildpacks-community/kpack-cli/pkg/rootcommand.CommitSHA=$(git rev-parse --short HEAD)'" \ -o kp-binaries/kp-$OS-$ARCH-${{ env.VERSION }} \ ./cmd/kp } diff --git a/cmd/docs/main.go b/cmd/docs/main.go index 1f2c5424..95eed34c 100644 --- a/cmd/docs/main.go +++ b/cmd/docs/main.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra/doc" - "github.com/vmware-tanzu/kpack-cli/pkg/rootcommand" + "github.com/buildpacks-community/kpack-cli/pkg/rootcommand" ) func main() { diff --git a/cmd/kp/main.go b/cmd/kp/main.go index 48d30130..894fbe4c 100644 --- a/cmd/kp/main.go +++ b/cmd/kp/main.go @@ -8,7 +8,7 @@ import ( "log" "os" - "github.com/vmware-tanzu/kpack-cli/pkg/rootcommand" + "github.com/buildpacks-community/kpack-cli/pkg/rootcommand" ) func main() { diff --git a/docs/kp_clusterstack_create.md b/docs/kp_clusterstack_create.md index 84397bb8..ec78d8c1 100644 --- a/docs/kp_clusterstack_create.md +++ b/docs/kp_clusterstack_create.md @@ -10,7 +10,7 @@ The run and build images will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. Additionally, your cluster must have read access to the registry. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. The default service account used is read from the "default.repository.serviceaccount" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/docs/kp_clusterstack_patch.md b/docs/kp_clusterstack_patch.md index 96316ae9..834a53e7 100644 --- a/docs/kp_clusterstack_patch.md +++ b/docs/kp_clusterstack_patch.md @@ -9,7 +9,7 @@ Patches the run and build images of a specific cluster-scoped stack. The run and build images will be uploaded to the the registry configured on your stack. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. The default service account used is read from the "default.repository.serviceaccount" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/docs/kp_clusterstack_save.md b/docs/kp_clusterstack_save.md index e390ab97..f294d944 100644 --- a/docs/kp_clusterstack_save.md +++ b/docs/kp_clusterstack_save.md @@ -10,7 +10,7 @@ The run and build images will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. Additionally, your cluster must have read access to the registry. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. The default service account used is read from the "default.repository.serviceaccount" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/docs/kp_clusterstore_add.md b/docs/kp_clusterstore_add.md index 51c037fe..e8a546fe 100644 --- a/docs/kp_clusterstore_add.md +++ b/docs/kp_clusterstore_add.md @@ -9,7 +9,7 @@ Upload buildpackage(s) to a specific cluster-scoped buildpack store. Buildpackages will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/docs/kp_clusterstore_create.md b/docs/kp_clusterstore_create.md index b2c80394..b8c52a48 100644 --- a/docs/kp_clusterstore_create.md +++ b/docs/kp_clusterstore_create.md @@ -9,7 +9,7 @@ Create a cluster-scoped buildpack store by providing command line arguments. Buildpackages will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md This clusterstore will be created only if it does not exist. The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/docs/kp_clusterstore_save.md b/docs/kp_clusterstore_save.md index 6e3cd0f7..11037808 100644 --- a/docs/kp_clusterstore_save.md +++ b/docs/kp_clusterstore_save.md @@ -9,7 +9,7 @@ Create or update a cluster-scoped buildpack store by providing command line argu Buildpackages will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md This clusterstore will be created only if it does not exist, otherwise it will be updated. The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/docs/kp_image_create.md b/docs/kp_image_create.md index 2e78a2e5..6ff990ad 100644 --- a/docs/kp_image_create.md +++ b/docs/kp_image_create.md @@ -29,7 +29,7 @@ Service bindings may be provided by using the "--service-binding" flag. For each service binding, supply the "--service-binding" flag followed by the :: or just which will default the kind to "Secret". For example, "--service-binding my-secret-1 --service-binding Secret:v1:my-secret-2 --service-binding CustomProvisionedService:v1beta1:my-ps -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md" +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md" ``` kp image create --tag [flags] diff --git a/docs/kp_image_patch.md b/docs/kp_image_patch.md index 663684fb..794ae100 100644 --- a/docs/kp_image_patch.md +++ b/docs/kp_image_patch.md @@ -33,7 +33,7 @@ For example, "--service-binding my-secret-1 --service-binding CustomProvisionedS The --cache-size flag can only be used to increase the size of the existing cache. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md ``` diff --git a/docs/kp_image_save.md b/docs/kp_image_save.md index 9111db12..8f6455ba 100644 --- a/docs/kp_image_save.md +++ b/docs/kp_image_save.md @@ -31,7 +31,7 @@ Service bindings may be provided by using the "--service-binding" flag or delete For each service binding, supply the "--service-binding" flag followed by the :: or just which will default the kind to "Secret". For example, "--service-binding my-secret-1 --service-binding CustomProvisionedService:v1beta1:my-ps --delete-service-binding Secret:v1:my-secret-2" -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md ``` diff --git a/docs/kp_import.md b/docs/kp_import.md index d4b2fb8e..94cf341f 100644 --- a/docs/kp_import.md +++ b/docs/kp_import.md @@ -9,7 +9,7 @@ This operation will create or update clusterstores, clusterstacks, and clusterbu kp import will always attempt to upload the stack, store, and builder images, even if the resources have not changed. This can be used as a way to repair resources when registry images have been unexpectedly removed. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md ``` kp import -f [flags] diff --git a/docs/kp_lifecycle_patch.md b/docs/kp_lifecycle_patch.md index f14bc5d8..73206165 100644 --- a/docs/kp_lifecycle_patch.md +++ b/docs/kp_lifecycle_patch.md @@ -9,7 +9,7 @@ Patch lifecycle image used by kpack The Lifecycle image will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key of the "kp-config" ConfigMap within "kpack" namespace. diff --git a/go.mod b/go.mod index f037c98b..c14c0c0e 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/vmware-tanzu/kpack-cli +module github.com/buildpacks-community/kpack-cli go 1.20 diff --git a/pkg/archive/zip_test.go b/pkg/archive/zip_test.go index ada06d04..605ab2f8 100644 --- a/pkg/archive/zip_test.go +++ b/pkg/archive/zip_test.go @@ -16,7 +16,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/archive" + "github.com/buildpacks-community/kpack-cli/pkg/archive" ) func TestZip(t *testing.T) { diff --git a/pkg/buildpackage/uploader.go b/pkg/buildpackage/uploader.go index afd40277..e7694d37 100644 --- a/pkg/buildpackage/uploader.go +++ b/pkg/buildpackage/uploader.go @@ -12,7 +12,7 @@ import ( "github.com/google/go-containerregistry/pkg/v1/layout" "github.com/pkg/errors" - "github.com/vmware-tanzu/kpack-cli/pkg/archive" + "github.com/buildpacks-community/kpack-cli/pkg/archive" ) type Relocator interface { diff --git a/pkg/buildpackage/uploader_test.go b/pkg/buildpackage/uploader_test.go index 1a5d0683..d44d3283 100644 --- a/pkg/buildpackage/uploader_test.go +++ b/pkg/buildpackage/uploader_test.go @@ -13,7 +13,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" ) func TestBuildpackageUploader(t *testing.T) { diff --git a/pkg/clusterstack/factory.go b/pkg/clusterstack/factory.go index 8be034bd..e9a9b8a3 100644 --- a/pkg/clusterstack/factory.go +++ b/pkg/clusterstack/factory.go @@ -8,9 +8,9 @@ import ( "github.com/pivotal/kpack/pkg/apis/build/v1alpha2" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - "github.com/vmware-tanzu/kpack-cli/pkg/stackimage" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/stackimage" ) type Uploader interface { diff --git a/pkg/clusterstore/factory.go b/pkg/clusterstore/factory.go index 1ffd4634..66ba4344 100644 --- a/pkg/clusterstore/factory.go +++ b/pkg/clusterstore/factory.go @@ -13,10 +13,10 @@ import ( "github.com/pkg/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/buildpackage" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/buildpackage" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) type BuildpackageUploader interface { diff --git a/pkg/commands/args_test.go b/pkg/commands/args_test.go index 860275c2..2bf190b7 100644 --- a/pkg/commands/args_test.go +++ b/pkg/commands/args_test.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands" ) func TestExactArgsWithUsage(t *testing.T) { diff --git a/pkg/commands/build/list.go b/pkg/commands/build/list.go index 12485b56..57789f88 100644 --- a/pkg/commands/build/list.go +++ b/pkg/commands/build/list.go @@ -11,9 +11,9 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/build" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/build" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/build/list_test.go b/pkg/commands/build/list_test.go index ae2898dd..6c9dd861 100644 --- a/pkg/commands/build/list_test.go +++ b/pkg/commands/build/list_test.go @@ -10,8 +10,8 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/build" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/build" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuildListCommand(t *testing.T) { diff --git a/pkg/commands/build/logs.go b/pkg/commands/build/logs.go index f63b8998..56c589ab 100644 --- a/pkg/commands/build/logs.go +++ b/pkg/commands/build/logs.go @@ -13,9 +13,9 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/build" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/build" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewLogsCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/build/logs_test.go b/pkg/commands/build/logs_test.go index 3f0c78fd..6225d9b3 100644 --- a/pkg/commands/build/logs_test.go +++ b/pkg/commands/build/logs_test.go @@ -10,8 +10,8 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/build" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/build" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuildLogsCommand(t *testing.T) { diff --git a/pkg/commands/build/status.go b/pkg/commands/build/status.go index a7b8c005..57246635 100644 --- a/pkg/commands/build/status.go +++ b/pkg/commands/build/status.go @@ -18,9 +18,9 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/build" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/build" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewStatusCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/build/status_test.go b/pkg/commands/build/status_test.go index 0f49f06b..c40f1def 100644 --- a/pkg/commands/build/status_test.go +++ b/pkg/commands/build/status_test.go @@ -19,9 +19,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/build" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands/build" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuildStatusCommand(t *testing.T) { diff --git a/pkg/commands/builder/create.go b/pkg/commands/builder/create.go index d17d95e9..bf790526 100644 --- a/pkg/commands/builder/create.go +++ b/pkg/commands/builder/create.go @@ -15,9 +15,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/builder" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) const ( diff --git a/pkg/commands/builder/create_test.go b/pkg/commands/builder/create_test.go index cf6f56bc..b77554e2 100644 --- a/pkg/commands/builder/create_test.go +++ b/pkg/commands/builder/create_test.go @@ -19,11 +19,11 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - buildercmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/builder" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + buildercmds "github.com/buildpacks-community/kpack-cli/pkg/commands/builder" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuilderCreateCommand(t *testing.T) { diff --git a/pkg/commands/builder/delete.go b/pkg/commands/builder/delete.go index e9097dd7..a83e4404 100644 --- a/pkg/commands/builder/delete.go +++ b/pkg/commands/builder/delete.go @@ -9,8 +9,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDeleteCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/builder/delete_test.go b/pkg/commands/builder/delete_test.go index f88f4859..038becc1 100644 --- a/pkg/commands/builder/delete_test.go +++ b/pkg/commands/builder/delete_test.go @@ -14,8 +14,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/builder" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuilderDeleteCommand(t *testing.T) { diff --git a/pkg/commands/builder/list.go b/pkg/commands/builder/list.go index 0b46be12..045e5a93 100644 --- a/pkg/commands/builder/list.go +++ b/pkg/commands/builder/list.go @@ -12,8 +12,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/builder/list_test.go b/pkg/commands/builder/list_test.go index daadf164..7b37a0c1 100644 --- a/pkg/commands/builder/list_test.go +++ b/pkg/commands/builder/list_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/builder" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuilderListCommand(t *testing.T) { diff --git a/pkg/commands/builder/patch.go b/pkg/commands/builder/patch.go index 02101b55..231ab8c7 100644 --- a/pkg/commands/builder/patch.go +++ b/pkg/commands/builder/patch.go @@ -14,9 +14,9 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/builder" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewPatchCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/builder/patch_test.go b/pkg/commands/builder/patch_test.go index f847fdae..86296b11 100644 --- a/pkg/commands/builder/patch_test.go +++ b/pkg/commands/builder/patch_test.go @@ -17,11 +17,11 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - buildercmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/builder" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + buildercmds "github.com/buildpacks-community/kpack-cli/pkg/commands/builder" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuilderPatchCommand(t *testing.T) { diff --git a/pkg/commands/builder/save.go b/pkg/commands/builder/save.go index a3fe7bed..b4c2dd0a 100644 --- a/pkg/commands/builder/save.go +++ b/pkg/commands/builder/save.go @@ -10,8 +10,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewSaveCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/builder/save_test.go b/pkg/commands/builder/save_test.go index a78b15bf..78666553 100644 --- a/pkg/commands/builder/save_test.go +++ b/pkg/commands/builder/save_test.go @@ -8,7 +8,7 @@ import ( "github.com/sclevine/spec" - buildercmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/builder" + buildercmds "github.com/buildpacks-community/kpack-cli/pkg/commands/builder" ) func TestBuilderSaveCommand(t *testing.T) { diff --git a/pkg/commands/builder/status.go b/pkg/commands/builder/status.go index 23d33adf..8501ccab 100644 --- a/pkg/commands/builder/status.go +++ b/pkg/commands/builder/status.go @@ -13,9 +13,9 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/builder" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewStatusCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/builder/status_test.go b/pkg/commands/builder/status_test.go index f192fa23..c96dc8c3 100644 --- a/pkg/commands/builder/status_test.go +++ b/pkg/commands/builder/status_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/builder" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuilderStatusCommand(t *testing.T) { diff --git a/pkg/commands/buildpack/create.go b/pkg/commands/buildpack/create.go index ac1aa0a5..82c03050 100644 --- a/pkg/commands/buildpack/create.go +++ b/pkg/commands/buildpack/create.go @@ -7,8 +7,8 @@ import ( buildv1alpha2 "github.com/pivotal/kpack/pkg/apis/build/v1alpha2" corev1alpha1 "github.com/pivotal/kpack/pkg/apis/core/v1alpha1" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" ) diff --git a/pkg/commands/buildpack/create_test.go b/pkg/commands/buildpack/create_test.go index 57d580c3..e1390831 100644 --- a/pkg/commands/buildpack/create_test.go +++ b/pkg/commands/buildpack/create_test.go @@ -13,11 +13,11 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/buildpack" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands/buildpack" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" diff --git a/pkg/commands/buildpack/delete.go b/pkg/commands/buildpack/delete.go index 8678d55d..ad83db58 100644 --- a/pkg/commands/buildpack/delete.go +++ b/pkg/commands/buildpack/delete.go @@ -9,8 +9,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDeleteCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/buildpack/delete_test.go b/pkg/commands/buildpack/delete_test.go index 597ebeb7..d0ebcae5 100644 --- a/pkg/commands/buildpack/delete_test.go +++ b/pkg/commands/buildpack/delete_test.go @@ -14,8 +14,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/buildpack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/buildpack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuildpackDeleteCommand(t *testing.T) { diff --git a/pkg/commands/buildpack/list.go b/pkg/commands/buildpack/list.go index 8355e764..9039b5e6 100644 --- a/pkg/commands/buildpack/list.go +++ b/pkg/commands/buildpack/list.go @@ -12,8 +12,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/buildpack/list_test.go b/pkg/commands/buildpack/list_test.go index b6b1997d..2bf17fa3 100644 --- a/pkg/commands/buildpack/list_test.go +++ b/pkg/commands/buildpack/list_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/buildpack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/buildpack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuildpackListCommand(t *testing.T) { diff --git a/pkg/commands/buildpack/patch.go b/pkg/commands/buildpack/patch.go index 7be82feb..8904753a 100644 --- a/pkg/commands/buildpack/patch.go +++ b/pkg/commands/buildpack/patch.go @@ -13,8 +13,8 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewPatchCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/buildpack/patch_test.go b/pkg/commands/buildpack/patch_test.go index b8c43f71..44a0d141 100644 --- a/pkg/commands/buildpack/patch_test.go +++ b/pkg/commands/buildpack/patch_test.go @@ -16,11 +16,11 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/buildpack" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands/buildpack" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuildpackPatchCommand(t *testing.T) { diff --git a/pkg/commands/buildpack/save.go b/pkg/commands/buildpack/save.go index efd123a8..4b1679ea 100644 --- a/pkg/commands/buildpack/save.go +++ b/pkg/commands/buildpack/save.go @@ -9,8 +9,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewSaveCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/buildpack/save_test.go b/pkg/commands/buildpack/save_test.go index 6b99ee03..34165ae8 100644 --- a/pkg/commands/buildpack/save_test.go +++ b/pkg/commands/buildpack/save_test.go @@ -8,7 +8,7 @@ import ( "github.com/sclevine/spec" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/buildpack" + "github.com/buildpacks-community/kpack-cli/pkg/commands/buildpack" ) func TestBuildpackSaveCommand(t *testing.T) { diff --git a/pkg/commands/buildpack/status.go b/pkg/commands/buildpack/status.go index 7d0a0c71..28286d5a 100644 --- a/pkg/commands/buildpack/status.go +++ b/pkg/commands/buildpack/status.go @@ -12,8 +12,8 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewStatusCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/buildpack/status_test.go b/pkg/commands/buildpack/status_test.go index 718cfd50..9186de62 100644 --- a/pkg/commands/buildpack/status_test.go +++ b/pkg/commands/buildpack/status_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/buildpack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/buildpack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestBuildpackStatusCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuilder/create.go b/pkg/commands/clusterbuilder/create.go index e980a9c2..6a3736b2 100644 --- a/pkg/commands/clusterbuilder/create.go +++ b/pkg/commands/clusterbuilder/create.go @@ -13,10 +13,10 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/builder" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) const ( diff --git a/pkg/commands/clusterbuilder/create_test.go b/pkg/commands/clusterbuilder/create_test.go index 315f183e..e037ba47 100644 --- a/pkg/commands/clusterbuilder/create_test.go +++ b/pkg/commands/clusterbuilder/create_test.go @@ -18,11 +18,11 @@ import ( "k8s.io/client-go/dynamic" k8sfakes "k8s.io/client-go/kubernetes/fake" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - cbcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuilder" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + cbcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuilder" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuilderCreateCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuilder/delete.go b/pkg/commands/clusterbuilder/delete.go index b5ee3ee5..918eccb9 100644 --- a/pkg/commands/clusterbuilder/delete.go +++ b/pkg/commands/clusterbuilder/delete.go @@ -9,8 +9,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDeleteCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterbuilder/delete_test.go b/pkg/commands/clusterbuilder/delete_test.go index b91e5718..f3c12741 100644 --- a/pkg/commands/clusterbuilder/delete_test.go +++ b/pkg/commands/clusterbuilder/delete_test.go @@ -14,8 +14,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuilder" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuilder" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuilderDeleteCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuilder/list.go b/pkg/commands/clusterbuilder/list.go index a97fd60b..3120c66d 100644 --- a/pkg/commands/clusterbuilder/list.go +++ b/pkg/commands/clusterbuilder/list.go @@ -12,8 +12,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterbuilder/list_test.go b/pkg/commands/clusterbuilder/list_test.go index c27ac8ee..a733aa35 100644 --- a/pkg/commands/clusterbuilder/list_test.go +++ b/pkg/commands/clusterbuilder/list_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuilder" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuilder" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuilderListCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuilder/patch.go b/pkg/commands/clusterbuilder/patch.go index 797b84a2..0a5099ed 100644 --- a/pkg/commands/clusterbuilder/patch.go +++ b/pkg/commands/clusterbuilder/patch.go @@ -14,9 +14,9 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/builder" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewPatchCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/clusterbuilder/patch_test.go b/pkg/commands/clusterbuilder/patch_test.go index b34eda87..7bd3c7cd 100644 --- a/pkg/commands/clusterbuilder/patch_test.go +++ b/pkg/commands/clusterbuilder/patch_test.go @@ -12,16 +12,16 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - cbcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuilder" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + cbcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuilder" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuilderPatchCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuilder/save.go b/pkg/commands/clusterbuilder/save.go index 28855ba5..f77b3d60 100644 --- a/pkg/commands/clusterbuilder/save.go +++ b/pkg/commands/clusterbuilder/save.go @@ -9,8 +9,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewSaveCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/clusterbuilder/save_test.go b/pkg/commands/clusterbuilder/save_test.go index 439f4ec1..2019fa0a 100644 --- a/pkg/commands/clusterbuilder/save_test.go +++ b/pkg/commands/clusterbuilder/save_test.go @@ -8,7 +8,7 @@ import ( "github.com/sclevine/spec" - cbcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuilder" + cbcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuilder" ) func TestClusterBuilderSaveCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuilder/status.go b/pkg/commands/clusterbuilder/status.go index dac0fc95..e0e08347 100644 --- a/pkg/commands/clusterbuilder/status.go +++ b/pkg/commands/clusterbuilder/status.go @@ -13,9 +13,9 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/builder" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/builder" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewStatusCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterbuilder/status_test.go b/pkg/commands/clusterbuilder/status_test.go index f9eb75f9..e470c8b2 100644 --- a/pkg/commands/clusterbuilder/status_test.go +++ b/pkg/commands/clusterbuilder/status_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuilder" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuilder" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuilderStatusCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuildpack/create.go b/pkg/commands/clusterbuildpack/create.go index 7eb093f7..c2310e98 100644 --- a/pkg/commands/clusterbuildpack/create.go +++ b/pkg/commands/clusterbuildpack/create.go @@ -7,9 +7,9 @@ import ( buildv1alpha2 "github.com/pivotal/kpack/pkg/apis/build/v1alpha2" corev1alpha1 "github.com/pivotal/kpack/pkg/apis/core/v1alpha1" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" ) diff --git a/pkg/commands/clusterbuildpack/create_test.go b/pkg/commands/clusterbuildpack/create_test.go index 93e42997..07803ebc 100644 --- a/pkg/commands/clusterbuildpack/create_test.go +++ b/pkg/commands/clusterbuildpack/create_test.go @@ -19,11 +19,11 @@ import ( "k8s.io/client-go/dynamic" k8sfakes "k8s.io/client-go/kubernetes/fake" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuildpack" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuildpack" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuildpackCreateCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuildpack/delete.go b/pkg/commands/clusterbuildpack/delete.go index 0e410c92..d49af07d 100644 --- a/pkg/commands/clusterbuildpack/delete.go +++ b/pkg/commands/clusterbuildpack/delete.go @@ -9,8 +9,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDeleteCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterbuildpack/delete_test.go b/pkg/commands/clusterbuildpack/delete_test.go index fa7a0871..7ed597dd 100644 --- a/pkg/commands/clusterbuildpack/delete_test.go +++ b/pkg/commands/clusterbuildpack/delete_test.go @@ -14,8 +14,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuildpack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuildpack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuildpackDeleteCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuildpack/list.go b/pkg/commands/clusterbuildpack/list.go index 6746f93c..8732f3a6 100644 --- a/pkg/commands/clusterbuildpack/list.go +++ b/pkg/commands/clusterbuildpack/list.go @@ -12,8 +12,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterbuildpack/list_test.go b/pkg/commands/clusterbuildpack/list_test.go index a318430b..114ec6f1 100644 --- a/pkg/commands/clusterbuildpack/list_test.go +++ b/pkg/commands/clusterbuildpack/list_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuildpack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuildpack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuildpackListCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuildpack/patch.go b/pkg/commands/clusterbuildpack/patch.go index f9204329..c70f9261 100644 --- a/pkg/commands/clusterbuildpack/patch.go +++ b/pkg/commands/clusterbuildpack/patch.go @@ -13,8 +13,8 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewPatchCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/clusterbuildpack/patch_test.go b/pkg/commands/clusterbuildpack/patch_test.go index ffd0322a..f5256cfe 100644 --- a/pkg/commands/clusterbuildpack/patch_test.go +++ b/pkg/commands/clusterbuildpack/patch_test.go @@ -17,11 +17,11 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuildpack" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuildpack" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuildpackPatchCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuildpack/save.go b/pkg/commands/clusterbuildpack/save.go index 204e4891..121e4121 100644 --- a/pkg/commands/clusterbuildpack/save.go +++ b/pkg/commands/clusterbuildpack/save.go @@ -9,8 +9,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewSaveCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/clusterbuildpack/save_test.go b/pkg/commands/clusterbuildpack/save_test.go index a4a551b8..962e270e 100644 --- a/pkg/commands/clusterbuildpack/save_test.go +++ b/pkg/commands/clusterbuildpack/save_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/sclevine/spec" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuildpack" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuildpack" ) func TestClusterBuildpackSaveCommand(t *testing.T) { diff --git a/pkg/commands/clusterbuildpack/status.go b/pkg/commands/clusterbuildpack/status.go index 58ea476e..6d84716d 100644 --- a/pkg/commands/clusterbuildpack/status.go +++ b/pkg/commands/clusterbuildpack/status.go @@ -12,8 +12,8 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewStatusCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterbuildpack/status_test.go b/pkg/commands/clusterbuildpack/status_test.go index 55e5d1c4..2f3a592c 100644 --- a/pkg/commands/clusterbuildpack/status_test.go +++ b/pkg/commands/clusterbuildpack/status_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuildpack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuildpack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterBuildpackStatusCommand(t *testing.T) { diff --git a/pkg/commands/clusterstack/create.go b/pkg/commands/clusterstack/create.go index 2c3820ae..630d9f98 100644 --- a/pkg/commands/clusterstack/create.go +++ b/pkg/commands/clusterstack/create.go @@ -11,12 +11,12 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstack" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstack" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func NewCreateCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { @@ -35,7 +35,7 @@ The run and build images will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. Additionally, your cluster must have read access to the registry. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. The default service account used is read from the "default.repository.serviceaccount" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/pkg/commands/clusterstack/create_test.go b/pkg/commands/clusterstack/create_test.go index 812fb097..96031aba 100644 --- a/pkg/commands/clusterstack/create_test.go +++ b/pkg/commands/clusterstack/create_test.go @@ -17,13 +17,13 @@ import ( "k8s.io/client-go/dynamic" k8sfakes "k8s.io/client-go/kubernetes/fake" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - clusterstackcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstack" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + clusterstackcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstack" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestCreateCommand(t *testing.T) { diff --git a/pkg/commands/clusterstack/delete.go b/pkg/commands/clusterstack/delete.go index 2282794f..8ca4dc5f 100644 --- a/pkg/commands/clusterstack/delete.go +++ b/pkg/commands/clusterstack/delete.go @@ -9,8 +9,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDeleteCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterstack/delete_test.go b/pkg/commands/clusterstack/delete_test.go index 4e65b131..fe40f03f 100644 --- a/pkg/commands/clusterstack/delete_test.go +++ b/pkg/commands/clusterstack/delete_test.go @@ -14,8 +14,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterStackDeleteCommand(t *testing.T) { diff --git a/pkg/commands/clusterstack/list.go b/pkg/commands/clusterstack/list.go index dfbd7ce0..9bdd2558 100644 --- a/pkg/commands/clusterstack/list.go +++ b/pkg/commands/clusterstack/list.go @@ -10,8 +10,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterstack/list_test.go b/pkg/commands/clusterstack/list_test.go index 24ae22d2..0a818b34 100644 --- a/pkg/commands/clusterstack/list_test.go +++ b/pkg/commands/clusterstack/list_test.go @@ -15,8 +15,8 @@ import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterStackListCommand(t *testing.T) { diff --git a/pkg/commands/clusterstack/patch.go b/pkg/commands/clusterstack/patch.go index 1faa36ec..3b5d9bb1 100644 --- a/pkg/commands/clusterstack/patch.go +++ b/pkg/commands/clusterstack/patch.go @@ -16,12 +16,12 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstack" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstack" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) type ImageFetcher interface { @@ -48,7 +48,7 @@ func NewPatchCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilP The run and build images will be uploaded to the the registry configured on your stack. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. The default service account used is read from the "default.repository.serviceaccount" key in the "kp-config" ConfigMap within "kpack" namespace.`, diff --git a/pkg/commands/clusterstack/patch_test.go b/pkg/commands/clusterstack/patch_test.go index 95899b51..01464d5c 100644 --- a/pkg/commands/clusterstack/patch_test.go +++ b/pkg/commands/clusterstack/patch_test.go @@ -12,13 +12,13 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - clusterstackcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstack" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + clusterstackcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstack" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/commands/clusterstack/save.go b/pkg/commands/clusterstack/save.go index 930de649..7663f3e1 100644 --- a/pkg/commands/clusterstack/save.go +++ b/pkg/commands/clusterstack/save.go @@ -9,11 +9,11 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstack" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstack" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func NewSaveCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { @@ -32,7 +32,7 @@ The run and build images will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. Additionally, your cluster must have read access to the registry. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. The default service account used is read from the "default.repository.serviceaccount" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/pkg/commands/clusterstack/save_test.go b/pkg/commands/clusterstack/save_test.go index d230948b..dbaaa5bd 100644 --- a/pkg/commands/clusterstack/save_test.go +++ b/pkg/commands/clusterstack/save_test.go @@ -8,7 +8,7 @@ import ( "github.com/sclevine/spec" - clusterstackcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstack" + clusterstackcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstack" ) func TestSaveCommand(t *testing.T) { diff --git a/pkg/commands/clusterstack/status.go b/pkg/commands/clusterstack/status.go index 8adc0de3..d7f40f36 100644 --- a/pkg/commands/clusterstack/status.go +++ b/pkg/commands/clusterstack/status.go @@ -13,8 +13,8 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewStatusCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterstack/status_test.go b/pkg/commands/clusterstack/status_test.go index 0f20ffdd..a569b003 100644 --- a/pkg/commands/clusterstack/status_test.go +++ b/pkg/commands/clusterstack/status_test.go @@ -15,8 +15,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstack" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstack" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterStackStatusCommand(t *testing.T) { diff --git a/pkg/commands/clusterstore/add.go b/pkg/commands/clusterstore/add.go index 5060b053..f432b668 100644 --- a/pkg/commands/clusterstore/add.go +++ b/pkg/commands/clusterstore/add.go @@ -15,12 +15,12 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstore" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstore" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func NewAddCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { @@ -37,7 +37,7 @@ func NewAddCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilPro Buildpackages will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. `, diff --git a/pkg/commands/clusterstore/add_test.go b/pkg/commands/clusterstore/add_test.go index 62850818..3cf9d762 100644 --- a/pkg/commands/clusterstore/add_test.go +++ b/pkg/commands/clusterstore/add_test.go @@ -12,13 +12,13 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - storecmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstore" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + storecmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstore" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/commands/clusterstore/create.go b/pkg/commands/clusterstore/create.go index 522f6850..c022864a 100644 --- a/pkg/commands/clusterstore/create.go +++ b/pkg/commands/clusterstore/create.go @@ -11,12 +11,12 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstore" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstore" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func NewCreateCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { @@ -33,7 +33,7 @@ func NewCreateCommand(clientSetProvider k8s.ClientSetProvider, rup registry.Util Buildpackages will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md This clusterstore will be created only if it does not exist. The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/pkg/commands/clusterstore/create_test.go b/pkg/commands/clusterstore/create_test.go index f985cf3d..2d8791bc 100644 --- a/pkg/commands/clusterstore/create_test.go +++ b/pkg/commands/clusterstore/create_test.go @@ -18,13 +18,13 @@ import ( "k8s.io/client-go/dynamic" k8sfakes "k8s.io/client-go/kubernetes/fake" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - storecmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstore" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + storecmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstore" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterStoreCreateCommand(t *testing.T) { diff --git a/pkg/commands/clusterstore/delete.go b/pkg/commands/clusterstore/delete.go index 9ed27a98..19e327c0 100644 --- a/pkg/commands/clusterstore/delete.go +++ b/pkg/commands/clusterstore/delete.go @@ -12,7 +12,7 @@ import ( k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) type ConfirmationProvider interface { diff --git a/pkg/commands/clusterstore/delete_test.go b/pkg/commands/clusterstore/delete_test.go index 66e9f5c0..ba766fa0 100644 --- a/pkg/commands/clusterstore/delete_test.go +++ b/pkg/commands/clusterstore/delete_test.go @@ -19,9 +19,9 @@ import ( "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstore" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstore" + "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterStoreDeleteCommand(t *testing.T) { diff --git a/pkg/commands/clusterstore/list.go b/pkg/commands/clusterstore/list.go index a732a17a..ccae3cc8 100644 --- a/pkg/commands/clusterstore/list.go +++ b/pkg/commands/clusterstore/list.go @@ -11,8 +11,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterstore/list_test.go b/pkg/commands/clusterstore/list_test.go index 9e692648..1b4ad4d2 100644 --- a/pkg/commands/clusterstore/list_test.go +++ b/pkg/commands/clusterstore/list_test.go @@ -15,8 +15,8 @@ import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstore" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstore" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestClusterStoreListCommand(t *testing.T) { diff --git a/pkg/commands/clusterstore/remove.go b/pkg/commands/clusterstore/remove.go index 8cc8b2ee..e031fbce 100644 --- a/pkg/commands/clusterstore/remove.go +++ b/pkg/commands/clusterstore/remove.go @@ -6,15 +6,15 @@ package clusterstore import ( "github.com/pkg/errors" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstore" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstore" k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewRemoveCommand(clientSetProvider k8s.ClientSetProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { diff --git a/pkg/commands/clusterstore/remove_test.go b/pkg/commands/clusterstore/remove_test.go index b9c2d33f..eafb12a5 100644 --- a/pkg/commands/clusterstore/remove_test.go +++ b/pkg/commands/clusterstore/remove_test.go @@ -12,10 +12,10 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstore" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstore" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" diff --git a/pkg/commands/clusterstore/save.go b/pkg/commands/clusterstore/save.go index 6b431c06..1458567d 100644 --- a/pkg/commands/clusterstore/save.go +++ b/pkg/commands/clusterstore/save.go @@ -9,10 +9,10 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstore" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstore" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func NewSaveCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider, newWaiter func(dynamic.Interface) commands.ResourceWaiter) *cobra.Command { @@ -29,7 +29,7 @@ func NewSaveCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilPr Buildpackages will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md This clusterstore will be created only if it does not exist, otherwise it will be updated. The default repository is read from the "default.repository" key in the "kp-config" ConfigMap within "kpack" namespace. diff --git a/pkg/commands/clusterstore/save_test.go b/pkg/commands/clusterstore/save_test.go index 221a1b70..27298516 100644 --- a/pkg/commands/clusterstore/save_test.go +++ b/pkg/commands/clusterstore/save_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/sclevine/spec" - storecmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstore" + storecmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstore" ) func TestClusterStoreSaveCommand(t *testing.T) { diff --git a/pkg/commands/clusterstore/status.go b/pkg/commands/clusterstore/status.go index 0424c12d..4145a9d2 100644 --- a/pkg/commands/clusterstore/status.go +++ b/pkg/commands/clusterstore/status.go @@ -14,8 +14,8 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewStatusCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/clusterstore/status_test.go b/pkg/commands/clusterstore/status_test.go index ab26bbf2..288de14e 100644 --- a/pkg/commands/clusterstore/status_test.go +++ b/pkg/commands/clusterstore/status_test.go @@ -16,8 +16,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstore" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstore" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestStatusCommand(t *testing.T) { diff --git a/pkg/commands/command_flags.go b/pkg/commands/command_flags.go index 00ecd015..29bb96f5 100644 --- a/pkg/commands/command_flags.go +++ b/pkg/commands/command_flags.go @@ -8,8 +8,8 @@ import ( "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/kpackcompat" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/kpackcompat" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) const ( diff --git a/pkg/commands/command_helper.go b/pkg/commands/command_helper.go index 2ccb0a2c..b35f8bfb 100644 --- a/pkg/commands/command_helper.go +++ b/pkg/commands/command_helper.go @@ -18,8 +18,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/kpackcompat" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/kpackcompat" ) type CommandHelper struct { diff --git a/pkg/commands/config/default_repository.go b/pkg/commands/config/default_repository.go index 534ef549..9dbac592 100644 --- a/pkg/commands/config/default_repository.go +++ b/pkg/commands/config/default_repository.go @@ -3,9 +3,9 @@ package config import ( "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDefaultRepositoryCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/config/default_repository_test.go b/pkg/commands/config/default_repository_test.go index 0b41c668..af48e1ea 100644 --- a/pkg/commands/config/default_repository_test.go +++ b/pkg/commands/config/default_repository_test.go @@ -6,7 +6,7 @@ import ( kpackfakes "github.com/pivotal/kpack/pkg/client/clientset/versioned/fake" "github.com/sclevine/spec" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/commands/config/default_service_account.go b/pkg/commands/config/default_service_account.go index 8c9df924..5383734c 100644 --- a/pkg/commands/config/default_service_account.go +++ b/pkg/commands/config/default_service_account.go @@ -4,9 +4,9 @@ import ( "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDefaultServiceAccountCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/config/default_service_account_test.go b/pkg/commands/config/default_service_account_test.go index 9d91fa82..6f49b7c6 100644 --- a/pkg/commands/config/default_service_account_test.go +++ b/pkg/commands/config/default_service_account_test.go @@ -6,7 +6,7 @@ import ( kpackfakes "github.com/pivotal/kpack/pkg/client/clientset/versioned/fake" "github.com/sclevine/spec" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/commands/credential_fetcher_test.go b/pkg/commands/credential_fetcher_test.go index 73fbd3c9..3f95ff61 100644 --- a/pkg/commands/credential_fetcher_test.go +++ b/pkg/commands/credential_fetcher_test.go @@ -10,7 +10,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands" ) func TestCredentialFetcher(t *testing.T) { diff --git a/pkg/commands/differ_test.go b/pkg/commands/differ_test.go index 85edbaad..4d726243 100644 --- a/pkg/commands/differ_test.go +++ b/pkg/commands/differ_test.go @@ -9,7 +9,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands" ) func TestDiffer(t *testing.T) { diff --git a/pkg/commands/image/create.go b/pkg/commands/image/create.go index 62755bdd..c125d732 100644 --- a/pkg/commands/image/create.go +++ b/pkg/commands/image/create.go @@ -11,10 +11,10 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/image" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/image" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func NewCreateCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider, newImageWaiter func(k8s.ClientSet) ImageWaiter) *cobra.Command { @@ -54,7 +54,7 @@ Service bindings may be provided by using the "--service-binding" flag. For each service binding, supply the "--service-binding" flag followed by the :: or just which will default the kind to "Secret". For example, "--service-binding my-secret-1 --service-binding Secret:v1:my-secret-2 --service-binding CustomProvisionedService:v1beta1:my-ps -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md"`, +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md"`, Example: `kp image create my-image --tag my-registry.com/my-repo --git https://my-repo.com/my-app.git --git-revision my-branch kp image create my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob kp image create my-image --tag my-registry.com/my-repo --local-path /path/to/local/source/code diff --git a/pkg/commands/image/create_test.go b/pkg/commands/image/create_test.go index d0e96f43..1b087d09 100644 --- a/pkg/commands/image/create_test.go +++ b/pkg/commands/image/create_test.go @@ -9,7 +9,7 @@ import ( "strconv" "testing" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" "github.com/pivotal/kpack/pkg/apis/build/v1alpha2" corev1alpha1 "github.com/pivotal/kpack/pkg/apis/core/v1alpha1" @@ -23,11 +23,11 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - cmdFakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - imgcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/image" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + cmdFakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + imgcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/image" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestImageCreateCommand(t *testing.T) { diff --git a/pkg/commands/image/delete.go b/pkg/commands/image/delete.go index eda1c110..6aef0ec6 100644 --- a/pkg/commands/image/delete.go +++ b/pkg/commands/image/delete.go @@ -9,8 +9,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDeleteCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/image/delete_test.go b/pkg/commands/image/delete_test.go index 841ed47a..4f8bbdc3 100644 --- a/pkg/commands/image/delete_test.go +++ b/pkg/commands/image/delete_test.go @@ -14,8 +14,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/image" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/image" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestImageDeleteCommand(t *testing.T) { diff --git a/pkg/commands/image/list.go b/pkg/commands/image/list.go index 50c1505a..73f7c38e 100644 --- a/pkg/commands/image/list.go +++ b/pkg/commands/image/list.go @@ -12,8 +12,8 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/image/list_test.go b/pkg/commands/image/list_test.go index e0b8413f..f85a5557 100644 --- a/pkg/commands/image/list_test.go +++ b/pkg/commands/image/list_test.go @@ -15,8 +15,8 @@ import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/image" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/image" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestImageListCommand(t *testing.T) { diff --git a/pkg/commands/image/patch.go b/pkg/commands/image/patch.go index 8137089a..5a17a042 100644 --- a/pkg/commands/image/patch.go +++ b/pkg/commands/image/patch.go @@ -13,10 +13,10 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/image" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/image" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func NewPatchCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider, newImageWaiter func(k8s.ClientSet) ImageWaiter) *cobra.Command { @@ -59,7 +59,7 @@ For example, "--service-binding my-secret-1 --service-binding CustomProvisionedS The --cache-size flag can only be used to increase the size of the existing cache. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md `, Example: `kp image patch my-image --git-revision my-other-branch kp image patch my-image --blob https://my-blob-host.com/my-blob diff --git a/pkg/commands/image/patch_test.go b/pkg/commands/image/patch_test.go index 14acffda..4335023c 100644 --- a/pkg/commands/image/patch_test.go +++ b/pkg/commands/image/patch_test.go @@ -16,12 +16,12 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - cmdFakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - imgcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/image" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + cmdFakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + imgcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/image" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestImagePatchCommand(t *testing.T) { diff --git a/pkg/commands/image/save.go b/pkg/commands/image/save.go index 392e93bb..5a7c3ba6 100644 --- a/pkg/commands/image/save.go +++ b/pkg/commands/image/save.go @@ -4,16 +4,16 @@ package image import ( - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/registry" "github.com/pkg/errors" "github.com/spf13/cobra" k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/image" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/image" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewSaveCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider, newImageWaiter func(k8s.ClientSet) ImageWaiter) *cobra.Command { @@ -55,7 +55,7 @@ Service bindings may be provided by using the "--service-binding" flag or delete For each service binding, supply the "--service-binding" flag followed by the :: or just which will default the kind to "Secret". For example, "--service-binding my-secret-1 --service-binding CustomProvisionedService:v1beta1:my-ps --delete-service-binding Secret:v1:my-secret-2" -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md `, Example: `kp image create my-image --tag my-registry.com/my-repo --git https://my-repo.com/my-app.git --git-revision my-branch kp image save my-image --tag my-registry.com/my-repo --blob https://my-blob-host.com/my-blob diff --git a/pkg/commands/image/save_test.go b/pkg/commands/image/save_test.go index 56572925..a91d787f 100644 --- a/pkg/commands/image/save_test.go +++ b/pkg/commands/image/save_test.go @@ -8,7 +8,7 @@ import ( "github.com/sclevine/spec" - imgcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/image" + imgcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/image" ) func TestImageSaveCommand(t *testing.T) { diff --git a/pkg/commands/image/status.go b/pkg/commands/image/status.go index fbaa5538..3fabd7a5 100644 --- a/pkg/commands/image/status.go +++ b/pkg/commands/image/status.go @@ -13,9 +13,9 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/build" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/build" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewStatusCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/image/status_test.go b/pkg/commands/image/status_test.go index 2aa40d35..9a9ebf95 100644 --- a/pkg/commands/image/status_test.go +++ b/pkg/commands/image/status_test.go @@ -15,8 +15,8 @@ import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/image" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/image" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestImageStatusCommand(t *testing.T) { diff --git a/pkg/commands/image/trigger.go b/pkg/commands/image/trigger.go index 7b371cc6..f822d237 100644 --- a/pkg/commands/image/trigger.go +++ b/pkg/commands/image/trigger.go @@ -15,9 +15,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/vmware-tanzu/kpack-cli/pkg/build" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/build" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) const BuildNeededAnnotation = "image.kpack.io/additionalBuildNeeded" diff --git a/pkg/commands/image/trigger_test.go b/pkg/commands/image/trigger_test.go index 86c5eebc..3959267c 100644 --- a/pkg/commands/image/trigger_test.go +++ b/pkg/commands/image/trigger_test.go @@ -12,8 +12,8 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/image" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/image" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestImageTrigger(t *testing.T) { diff --git a/pkg/commands/import/import.go b/pkg/commands/import/import.go index 99d5282d..0b226c93 100644 --- a/pkg/commands/import/import.go +++ b/pkg/commands/import/import.go @@ -11,12 +11,12 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" - importpkg "github.com/vmware-tanzu/kpack-cli/pkg/import" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" + importpkg "github.com/buildpacks-community/kpack-cli/pkg/import" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) type ConfirmationProvider interface { @@ -56,7 +56,7 @@ func NewImportCommand( kp import will always attempt to upload the stack, store, and builder images, even if the resources have not changed. This can be used as a way to repair resources when registry images have been unexpectedly removed. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md`, +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md`, Example: `kp import -f dependencies.yaml cat dependencies.yaml | kp import -f -`, SilenceUsage: true, diff --git a/pkg/commands/import/import_test.go b/pkg/commands/import/import_test.go index e47f0024..5c10c42e 100644 --- a/pkg/commands/import/import_test.go +++ b/pkg/commands/import/import_test.go @@ -13,11 +13,11 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - commandsfakes "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - importcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/import" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + commandsfakes "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + importcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/import" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/commands/lifecycle/patch.go b/pkg/commands/lifecycle/patch.go index 4ef7cde8..3059b930 100644 --- a/pkg/commands/lifecycle/patch.go +++ b/pkg/commands/lifecycle/patch.go @@ -9,11 +9,11 @@ import ( "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/lifecycle" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/lifecycle" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func NewUpdateCommand(clientSetProvider k8s.ClientSetProvider, rup registry.UtilProvider) *cobra.Command { @@ -31,7 +31,7 @@ func NewUpdateCommand(clientSetProvider k8s.ClientSetProvider, rup registry.Util The Lifecycle image will be uploaded to the default repository. Therefore, you must have credentials to access the registry on your machine. -Env vars can be used for registry auth as described in https://github.com/vmware-tanzu/kpack-cli/blob/main/docs/auth.md +Env vars can be used for registry auth as described in https://github.com/buildpacks-community/kpack-cli/blob/main/docs/auth.md The default repository is read from the "default.repository" key of the "kp-config" ConfigMap within "kpack" namespace. `, diff --git a/pkg/commands/lifecycle/patch_test.go b/pkg/commands/lifecycle/patch_test.go index 3a013637..bc880d7e 100644 --- a/pkg/commands/lifecycle/patch_test.go +++ b/pkg/commands/lifecycle/patch_test.go @@ -8,9 +8,9 @@ import ( "github.com/sclevine/spec" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/lifecycle" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/commands/lifecycle" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/commands/secret/create.go b/pkg/commands/secret/create.go index 332bfc9d..2ca8f452 100644 --- a/pkg/commands/secret/create.go +++ b/pkg/commands/secret/create.go @@ -12,9 +12,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/secret" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/secret" ) func NewCreateCommand(clientSetProvider k8s.ClientSetProvider, secretFactory *secret.Factory) *cobra.Command { diff --git a/pkg/commands/secret/create_test.go b/pkg/commands/secret/create_test.go index 6d2cfb2f..87668445 100644 --- a/pkg/commands/secret/create_test.go +++ b/pkg/commands/secret/create_test.go @@ -15,9 +15,9 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/kubernetes/fake" - secretcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/secret" - "github.com/vmware-tanzu/kpack-cli/pkg/secret" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + secretcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/secret" + "github.com/buildpacks-community/kpack-cli/pkg/secret" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestSecretCreateCommand(t *testing.T) { diff --git a/pkg/commands/secret/delete.go b/pkg/commands/secret/delete.go index 596cd6c0..213333d4 100644 --- a/pkg/commands/secret/delete.go +++ b/pkg/commands/secret/delete.go @@ -11,8 +11,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewDeleteCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/secret/delete_test.go b/pkg/commands/secret/delete_test.go index dbe97abb..702a6118 100644 --- a/pkg/commands/secret/delete_test.go +++ b/pkg/commands/secret/delete_test.go @@ -15,9 +15,9 @@ import ( "k8s.io/client-go/kubernetes/fake" clientgotesting "k8s.io/client-go/testing" - secretcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/secret" - "github.com/vmware-tanzu/kpack-cli/pkg/secret" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + secretcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/secret" + "github.com/buildpacks-community/kpack-cli/pkg/secret" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestSecretDeleteCommand(t *testing.T) { diff --git a/pkg/commands/secret/list.go b/pkg/commands/secret/list.go index aeca05f0..9808e724 100644 --- a/pkg/commands/secret/list.go +++ b/pkg/commands/secret/list.go @@ -12,8 +12,8 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func NewListCommand(clientSetProvider k8s.ClientSetProvider) *cobra.Command { diff --git a/pkg/commands/secret/list_test.go b/pkg/commands/secret/list_test.go index 7f7dd160..66b64c8d 100644 --- a/pkg/commands/secret/list_test.go +++ b/pkg/commands/secret/list_test.go @@ -13,8 +13,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/kubernetes/fake" - secretcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/secret" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + secretcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/secret" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestSecretListCommand(t *testing.T) { diff --git a/pkg/config/kpconfig.go b/pkg/config/kpconfig.go index a5b3be7f..0f2d4679 100644 --- a/pkg/config/kpconfig.go +++ b/pkg/config/kpconfig.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/pkg/errors" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" corev1 "k8s.io/api/core/v1" k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/dockercreds/cred_helper_test.go b/pkg/dockercreds/cred_helper_test.go index bfded19a..b9adfd64 100644 --- a/pkg/dockercreds/cred_helper_test.go +++ b/pkg/dockercreds/cred_helper_test.go @@ -8,7 +8,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" ) func TestCredHelper(t *testing.T) { diff --git a/pkg/image/factory.go b/pkg/image/factory.go index 99c9d5ef..478fbfb8 100644 --- a/pkg/image/factory.go +++ b/pkg/image/factory.go @@ -18,7 +18,7 @@ import ( "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" ) const ( diff --git a/pkg/image/factory_test.go b/pkg/image/factory_test.go index f8550203..630a8a74 100644 --- a/pkg/image/factory_test.go +++ b/pkg/image/factory_test.go @@ -11,8 +11,8 @@ import ( "github.com/stretchr/testify/require" "k8s.io/apimachinery/pkg/api/resource" - "github.com/vmware-tanzu/kpack-cli/pkg/image" - "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/image" + "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" ) func TestImageFactory(t *testing.T) { diff --git a/pkg/image/update_factory.go b/pkg/image/update_factory.go index a159b9e7..21606253 100644 --- a/pkg/image/update_factory.go +++ b/pkg/image/update_factory.go @@ -10,7 +10,7 @@ import ( "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/dockercreds" + "github.com/buildpacks-community/kpack-cli/pkg/dockercreds" ) func (f *Factory) UpdateImage(img *v1alpha2.Image) (*v1alpha2.Image, error) { diff --git a/pkg/image/update_factory_test.go b/pkg/image/update_factory_test.go index c1143c16..13ff1bc4 100644 --- a/pkg/image/update_factory_test.go +++ b/pkg/image/update_factory_test.go @@ -15,8 +15,8 @@ import ( "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/image" - "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/image" + "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" ) func TestPatchFactory(t *testing.T) { diff --git a/pkg/import/change_summarizer.go b/pkg/import/change_summarizer.go index cc58839d..ca60fd23 100644 --- a/pkg/import/change_summarizer.go +++ b/pkg/import/change_summarizer.go @@ -10,8 +10,8 @@ import ( "github.com/google/go-containerregistry/pkg/authn" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - buildk8s "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/config" + buildk8s "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) func SummarizeChange( diff --git a/pkg/import/change_writer.go b/pkg/import/change_writer.go index 3f1bc924..708bf954 100644 --- a/pkg/import/change_writer.go +++ b/pkg/import/change_writer.go @@ -10,9 +10,9 @@ import ( k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - buildk8s "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/lifecycle" + "github.com/buildpacks-community/kpack-cli/pkg/config" + buildk8s "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/lifecycle" ) type changeWriter interface { diff --git a/pkg/import/dependency_descriptor_test.go b/pkg/import/dependency_descriptor_test.go index 683cce6e..4ac89d81 100644 --- a/pkg/import/dependency_descriptor_test.go +++ b/pkg/import/dependency_descriptor_test.go @@ -11,7 +11,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - importpkg "github.com/vmware-tanzu/kpack-cli/pkg/import" + importpkg "github.com/buildpacks-community/kpack-cli/pkg/import" ) func TestDescriptor(t *testing.T) { diff --git a/pkg/import/dependency_descriptor_v1.go b/pkg/import/dependency_descriptor_v1.go index 185b2857..bfa459a2 100644 --- a/pkg/import/dependency_descriptor_v1.go +++ b/pkg/import/dependency_descriptor_v1.go @@ -5,7 +5,7 @@ package _import import ( corev1alpha1 "github.com/pivotal/kpack/pkg/apis/core/v1alpha1" - "github.com/vmware-tanzu/kpack-cli/pkg/builder" + "github.com/buildpacks-community/kpack-cli/pkg/builder" ) const APIVersionV1 = "kp.kpack.io/v1alpha1" diff --git a/pkg/import/dependency_descriptor_v1_test.go b/pkg/import/dependency_descriptor_v1_test.go index 808ecd99..4e75d593 100644 --- a/pkg/import/dependency_descriptor_v1_test.go +++ b/pkg/import/dependency_descriptor_v1_test.go @@ -10,7 +10,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - importpkg "github.com/vmware-tanzu/kpack-cli/pkg/import" + importpkg "github.com/buildpacks-community/kpack-cli/pkg/import" ) func TestDescriptorV1(t *testing.T) { diff --git a/pkg/import/import_differ.go b/pkg/import/import_differ.go index 0422297a..77f4b117 100644 --- a/pkg/import/import_differ.go +++ b/pkg/import/import_differ.go @@ -12,7 +12,7 @@ import ( "github.com/pivotal/kpack/pkg/apis/build/v1alpha2" "golang.org/x/sync/errgroup" - "github.com/vmware-tanzu/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/config" ) type RelocatedImageProvider interface { diff --git a/pkg/import/import_differ_test.go b/pkg/import/import_differ_test.go index 0bcc90bb..197de604 100644 --- a/pkg/import/import_differ_test.go +++ b/pkg/import/import_differ_test.go @@ -14,13 +14,13 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - importpkg "github.com/vmware-tanzu/kpack-cli/pkg/import" + "github.com/buildpacks-community/kpack-cli/pkg/commands/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/config" + importpkg "github.com/buildpacks-community/kpack-cli/pkg/import" "github.com/sclevine/spec" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/commands" ) func TestImportDiffer(t *testing.T) { diff --git a/pkg/import/importer.go b/pkg/import/importer.go index 304e0a9c..7a77d846 100644 --- a/pkg/import/importer.go +++ b/pkg/import/importer.go @@ -17,12 +17,12 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/kubernetes" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstack" - "github.com/vmware-tanzu/kpack-cli/pkg/clusterstore" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstack" + "github.com/buildpacks-community/kpack-cli/pkg/clusterstore" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) type TimestampProvider interface { diff --git a/pkg/import/importer_test.go b/pkg/import/importer_test.go index 12b80b5f..02687db8 100644 --- a/pkg/import/importer_test.go +++ b/pkg/import/importer_test.go @@ -26,10 +26,10 @@ import ( clientgotesting "k8s.io/client-go/testing" watchTools "k8s.io/client-go/tools/watch" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" - "github.com/vmware-tanzu/kpack-cli/pkg/testhelpers" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/testhelpers" ) func TestImporter(t *testing.T) { diff --git a/pkg/import/relocatedimage_provider.go b/pkg/import/relocatedimage_provider.go index d32dba60..344eb944 100644 --- a/pkg/import/relocatedimage_provider.go +++ b/pkg/import/relocatedimage_provider.go @@ -6,8 +6,8 @@ import ( "github.com/google/go-containerregistry/pkg/authn" "github.com/google/go-containerregistry/pkg/name" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) type DefaultRelocatedImageProvider struct { diff --git a/pkg/import/relocatedimage_provider_test.go b/pkg/import/relocatedimage_provider_test.go index 9156e2c4..afb377ac 100644 --- a/pkg/import/relocatedimage_provider_test.go +++ b/pkg/import/relocatedimage_provider_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/require" corev1 "k8s.io/api/core/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/config" + "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" ) func TestRelocatedImageProvider(t *testing.T) { diff --git a/pkg/k8s/clientset.go b/pkg/k8s/clientset.go index 78974924..1c42d54b 100644 --- a/pkg/k8s/clientset.go +++ b/pkg/k8s/clientset.go @@ -16,7 +16,7 @@ import ( "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" - "github.com/vmware-tanzu/kpack-cli/pkg/kpackcompat" + "github.com/buildpacks-community/kpack-cli/pkg/kpackcompat" ) type ClientSet struct { diff --git a/pkg/lifecycle/config_helper.go b/pkg/lifecycle/config_helper.go index 322f05b9..26258332 100644 --- a/pkg/lifecycle/config_helper.go +++ b/pkg/lifecycle/config_helper.go @@ -7,7 +7,7 @@ import ( "context" "github.com/pkg/errors" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" v1 "k8s.io/api/core/v1" k8serrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/lifecycle/image_updater.go b/pkg/lifecycle/image_updater.go index 475af754..b0749f96 100644 --- a/pkg/lifecycle/image_updater.go +++ b/pkg/lifecycle/image_updater.go @@ -14,9 +14,9 @@ import ( "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" - "github.com/vmware-tanzu/kpack-cli/pkg/config" - buildk8s "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/config" + buildk8s "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) const ( diff --git a/pkg/registry/fakes/fake_util_provider.go b/pkg/registry/fakes/fake_util_provider.go index d48ebb21..928ea77d 100644 --- a/pkg/registry/fakes/fake_util_provider.go +++ b/pkg/registry/fakes/fake_util_provider.go @@ -6,7 +6,7 @@ package fakes import ( "io" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) type UtilProvider struct { diff --git a/pkg/registry/relocator_test.go b/pkg/registry/relocator_test.go index fe25b2d5..038e5e97 100644 --- a/pkg/registry/relocator_test.go +++ b/pkg/registry/relocator_test.go @@ -20,7 +20,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func TestRelocateStackImages(t *testing.T) { diff --git a/pkg/registry/tls_config_test.go b/pkg/registry/tls_config_test.go index cc680845..76257207 100644 --- a/pkg/registry/tls_config_test.go +++ b/pkg/registry/tls_config_test.go @@ -13,7 +13,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/registry" ) func TestTLSConfig(t *testing.T) { diff --git a/pkg/registry/uploader.go b/pkg/registry/uploader.go index babc8da4..99018171 100644 --- a/pkg/registry/uploader.go +++ b/pkg/registry/uploader.go @@ -12,7 +12,7 @@ import ( "github.com/google/go-containerregistry/pkg/v1/tarball" "github.com/pkg/errors" - "github.com/vmware-tanzu/kpack-cli/pkg/archive" + "github.com/buildpacks-community/kpack-cli/pkg/archive" ) type SourceUploader interface { diff --git a/pkg/registry/uploader_test.go b/pkg/registry/uploader_test.go index 641d55e4..a8d3a374 100644 --- a/pkg/registry/uploader_test.go +++ b/pkg/registry/uploader_test.go @@ -10,8 +10,8 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" ) func TestUploader(t *testing.T) { diff --git a/pkg/rootcommand/rootcommand.go b/pkg/rootcommand/rootcommand.go index 725dee4f..e3e7570d 100644 --- a/pkg/rootcommand/rootcommand.go +++ b/pkg/rootcommand/rootcommand.go @@ -7,24 +7,24 @@ import ( "github.com/pivotal/kpack/pkg/logs" "github.com/spf13/cobra" - "github.com/vmware-tanzu/kpack-cli/pkg/commands" - buildcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/build" - buildercmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/builder" - buildpackcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/buildpack" - clusterbuildercmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuilder" - clusterbuildpackcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterbuildpack" - clusterstackcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstack" - clusterstorecmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/clusterstore" - configcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/config" - imgcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/image" - importcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/import" - "github.com/vmware-tanzu/kpack-cli/pkg/commands/lifecycle" - secretcmds "github.com/vmware-tanzu/kpack-cli/pkg/commands/secret" - importpkg "github.com/vmware-tanzu/kpack-cli/pkg/import" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" - "github.com/vmware-tanzu/kpack-cli/pkg/kpackcompat" - "github.com/vmware-tanzu/kpack-cli/pkg/registry" - "github.com/vmware-tanzu/kpack-cli/pkg/secret" + "github.com/buildpacks-community/kpack-cli/pkg/commands" + buildcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/build" + buildercmds "github.com/buildpacks-community/kpack-cli/pkg/commands/builder" + buildpackcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/buildpack" + clusterbuildercmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuilder" + clusterbuildpackcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterbuildpack" + clusterstackcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstack" + clusterstorecmds "github.com/buildpacks-community/kpack-cli/pkg/commands/clusterstore" + configcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/config" + imgcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/image" + importcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/import" + "github.com/buildpacks-community/kpack-cli/pkg/commands/lifecycle" + secretcmds "github.com/buildpacks-community/kpack-cli/pkg/commands/secret" + importpkg "github.com/buildpacks-community/kpack-cli/pkg/import" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/kpackcompat" + "github.com/buildpacks-community/kpack-cli/pkg/registry" + "github.com/buildpacks-community/kpack-cli/pkg/secret" ) var ( diff --git a/pkg/secret/factory_test.go b/pkg/secret/factory_test.go index 3961a317..9e22f09e 100644 --- a/pkg/secret/factory_test.go +++ b/pkg/secret/factory_test.go @@ -10,7 +10,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - "github.com/vmware-tanzu/kpack-cli/pkg/secret" + "github.com/buildpacks-community/kpack-cli/pkg/secret" ) func TestSecretFactory(t *testing.T) { diff --git a/pkg/stackimage/uploader_test.go b/pkg/stackimage/uploader_test.go index 419b24c3..ba3d52d4 100644 --- a/pkg/stackimage/uploader_test.go +++ b/pkg/stackimage/uploader_test.go @@ -13,7 +13,7 @@ import ( "github.com/sclevine/spec" "github.com/stretchr/testify/require" - registryfakes "github.com/vmware-tanzu/kpack-cli/pkg/registry/fakes" + registryfakes "github.com/buildpacks-community/kpack-cli/pkg/registry/fakes" ) func TestBuildpackageUploader(t *testing.T) { diff --git a/pkg/testhelpers/clientset.go b/pkg/testhelpers/clientset.go index 81a94e76..055762a1 100644 --- a/pkg/testhelpers/clientset.go +++ b/pkg/testhelpers/clientset.go @@ -7,7 +7,7 @@ import ( kpackfakes "github.com/pivotal/kpack/pkg/client/clientset/versioned/fake" k8sfakes "k8s.io/client-go/kubernetes/fake" - "github.com/vmware-tanzu/kpack-cli/pkg/k8s" + "github.com/buildpacks-community/kpack-cli/pkg/k8s" ) type FakeClientSetProvider struct {