Skip to content

Changed github.com/kubernetes-sigs to sigs.k8s.io #25

New issue

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

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

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
# limitations under the License.

FROM golang:1.10.1-alpine3.7 as builder
WORKDIR /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
ADD . .
RUN CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -o bin/gce-pd-csi-driver ./cmd/

FROM alpine:3.7
COPY --from=builder /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /gce-pd-csi-driver
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /gce-pd-csi-driver

ENTRYPOINT ["/gce-pd-csi-driver"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ prod-push-container: prod-build-container
gcloud docker -- push $(PRODIMAGE):$(PRODVERSION)

test-sanity: gce-pd-driver
go test -timeout 30s github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/test -run ^TestSanity$
go test -timeout 30s sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/test -run ^TestSanity$
6 changes: 3 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (

"github.com/golang/glog"

gce "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
driver "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-csi-driver"
mountmanager "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"
gce "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
driver "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-csi-driver"
mountmanager "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/delete-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -o nounset
set -o errexit

readonly PKGDIR="${GOPATH}/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver"
readonly PKGDIR="${GOPATH}/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver"
readonly KUBEDEPLOY="${PKGDIR}/deploy/kubernetes"

kubectl delete -f "${KUBEDEPLOY}/node.yaml" --ignore-not-found
Expand Down
2 changes: 1 addition & 1 deletion deploy/kubernetes/deploy-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -o nounset
set -o errexit

readonly PKGDIR="${GOPATH}/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver"
readonly PKGDIR="${GOPATH}/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver"
readonly KUBEDEPLOY="${PKGDIR}/deploy/kubernetes"

if ! kubectl get secret cloud-sa;
Expand Down
2 changes: 1 addition & 1 deletion pkg/gce-cloud-provider/fake-gce.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import (
"strings"

"github.com/golang/glog"
"github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/utils"
"golang.org/x/net/context"
compute "google.golang.org/api/compute/v1"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/utils"
)

type FakeCloudProvider struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/gce-cloud-provider/gce-compute.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import (
"time"

"github.com/golang/glog"
"github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/utils"
"golang.org/x/net/context"
compute "google.golang.org/api/compute/v1"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"k8s.io/apimachinery/pkg/util/wait"
"sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/utils"
)

type GCECompute interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/gce-csi-driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import (

csi "github.com/container-storage-interface/spec/lib/go/csi/v0"
"github.com/golang/glog"
gce "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
utils "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/utils"
"golang.org/x/net/context"
compute "google.golang.org/api/compute/v1"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
gce "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
utils "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/utils"
)

// TODO: Add noisy glog.V(5).Infof() EVERYWHERE
Expand Down
4 changes: 2 additions & 2 deletions pkg/gce-csi-driver/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"google.golang.org/grpc/status"

csi "github.com/container-storage-interface/spec/lib/go/csi/v0"
gce "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
utils "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/utils"
gce "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
utils "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/utils"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/gce-csi-driver/gce-driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import (

csi "github.com/container-storage-interface/spec/lib/go/csi/v0"
"github.com/golang/glog"
gce "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
mountmanager "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
gce "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
mountmanager "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"
)

type GCEDriver struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/gce-csi-driver/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ import (

csi "github.com/container-storage-interface/spec/lib/go/csi/v0"
"github.com/golang/glog"
mountmanager "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"
utils "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/utils"
"golang.org/x/net/context"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
mountmanager "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"
utils "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/utils"
)

type GCENodeServer struct {
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/gce_pd_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ import (
"testing"
"time"

"github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"k8s.io/apimachinery/pkg/util/uuid"
"sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"

csipb "github.com/container-storage-interface/spec/lib/go/csi/v0"
gce "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
driver "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-csi-driver"
gce "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
driver "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-csi-driver"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
Expand Down
6 changes: 3 additions & 3 deletions test/remote/remote/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ func (n *E2ERemote) SetupTestPackage(tardir string) error {
err := cmd.Run()

if err != nil {
return err
return fmt.Errorf("Failed to ginkgo build test: %v", err)
}

cmd = exec.Command("cp", "test/e2e/e2e.test", "bin")
err = cmd.Run()
if err != nil {
return err
return fmt.Errorf("Failed to copy: %v", err)
}

buildOutputDir := filepath.Join(gopath, "src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/bin")
buildOutputDir := filepath.Join(gopath, "src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin")

// Copy binaries
requiredBins := []string{"e2e.test"}
Expand Down
2 changes: 1 addition & 1 deletion test/remote/run_remote/run_remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
"sync"
"time"

"github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/test/remote/remote"
"k8s.io/apimachinery/pkg/util/uuid"
"k8s.io/apimachinery/pkg/util/wait"
"sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/test/remote/remote"

"github.com/golang/glog"
"golang.org/x/oauth2/google"
Expand Down
2 changes: 1 addition & 1 deletion test/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
set -x

readonly PKGDIR=github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver
readonly PKGDIR=sigs.k8s.io/gcp-compute-persistent-disk-csi-driver

echo "Testing CSI-Sanity"
go test -timeout 30s "${PKGDIR}/test/sanity/" -run ^TestSanity$
Expand Down
6 changes: 3 additions & 3 deletions test/sanity/sanity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ package sanitytest
import (
"testing"

"github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"
"sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/mount-manager"

sanity "github.com/kubernetes-csi/csi-test/pkg/sanity"
gce "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
driver "github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pkg/gce-csi-driver"
compute "google.golang.org/api/compute/v1"
gce "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-cloud-provider"
driver "sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/pkg/gce-csi-driver"
)

func TestSanity(t *testing.T) {
Expand Down