Skip to content

Commit

Permalink
Merge pull request #1423 from saschagrunert/sigs-k8s-io
Browse files Browse the repository at this point in the history
Move project under `sigs.k8s.io` namespace
  • Loading branch information
k8s-ci-robot committed May 7, 2024
2 parents f2ef1b1 + 3f6ce81 commit f4fe266
Show file tree
Hide file tree
Showing 27 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -30,7 +30,7 @@ export GO_BUILD=GOARCH=$(GOARCH) GOOS=$(GOOS) $(GO) build
export GO_TEST=GOARCH=$(GOARCH) GOOS=$(GOOS) $(GO) test
endif

PROJECT := github.com/kubernetes-sigs/cri-tools
PROJECT := sigs.k8s.io/cri-tools
BINDIR ?= /usr/local/bin

VERSION ?= $(shell git describe --tags --dirty --always | sed 's/^v//')
Expand Down
2 changes: 1 addition & 1 deletion cmd/crictl/config.go
Expand Up @@ -24,7 +24,7 @@ import (

"github.com/urfave/cli/v2"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/common"
)

var configCommand = &cli.Command{
Expand Down
6 changes: 3 additions & 3 deletions cmd/crictl/main.go
Expand Up @@ -34,9 +34,9 @@ import (
internalapi "k8s.io/cri-api/pkg/apis"
"k8s.io/kubernetes/pkg/kubelet/cri/remote"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/tracing"
"github.com/kubernetes-sigs/cri-tools/pkg/version"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/tracing"
"sigs.k8s.io/cri-tools/pkg/version"
)

const defaultTimeout = 2 * time.Second
Expand Down
10 changes: 5 additions & 5 deletions cmd/critest/cri_test.go
Expand Up @@ -30,11 +30,11 @@ import (
ginkgotypes "github.com/onsi/ginkgo/v2/types"
"github.com/onsi/gomega"

_ "github.com/kubernetes-sigs/cri-tools/pkg/benchmark"
"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/framework"
_ "github.com/kubernetes-sigs/cri-tools/pkg/validate"
versionconst "github.com/kubernetes-sigs/cri-tools/pkg/version"
_ "sigs.k8s.io/cri-tools/pkg/benchmark"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/framework"
_ "sigs.k8s.io/cri-tools/pkg/validate"
versionconst "sigs.k8s.io/cri-tools/pkg/version"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion docs/developer-guide.md
Expand Up @@ -13,7 +13,7 @@ Start with the following guide to setup pre-requisites:
- [Go](https://golang.org/doc/install)
- [Build tools](https://github.com/containerd/cri#install-dependencies)

_**Important Note**: `Go` dependencies tend to follow the GitHub project URL path structure, i.e. when installing and trying to use `cri-tools` locally, it should be installed under a folder structure as follows `go/src/github.com/kubernetes-sigs/cri-tools`. Kubernetes is the only exception which does not follow this structure for legacy reasons._
_**Important Note**: `Go` dependencies tend to follow the GitHub project URL path structure, i.e. when installing and trying to use `cri-tools` locally, it should be installed under a folder structure as follows `go/src/sigs.k8s.io/cri-tools`. Kubernetes is the only exception which does not follow this structure for legacy reasons._

Ensure the following after following the setup:

Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,4 +1,4 @@
module github.com/kubernetes-sigs/cri-tools
module sigs.k8s.io/cri-tools

go 1.22.0

Expand Down
2 changes: 1 addition & 1 deletion hack/release.sh
Expand Up @@ -46,7 +46,7 @@ CRI_TEST_PLATFORMS=(
)

# Create releases output directory.
PROJECT="github.com/kubernetes-sigs/cri-tools"
PROJECT="sigs.k8s.io/cri-tools"
CRI_TOOLS_ROOT="$GOPATH/src/$PROJECT"
OUTPUTDIR=$CRI_TOOLS_ROOT/_output/releases
mkdir -p "$OUTPUTDIR"
Expand Down
2 changes: 1 addition & 1 deletion pkg/benchmark/container.go
Expand Up @@ -22,10 +22,10 @@ import (
"path"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
"github.com/sirupsen/logrus"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
"github.com/onsi/gomega/gmeasure"
Expand Down
2 changes: 1 addition & 1 deletion pkg/benchmark/image.go
Expand Up @@ -23,10 +23,10 @@ import (
"runtime"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
"github.com/sirupsen/logrus"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
"github.com/onsi/gomega/gmeasure"
Expand Down
4 changes: 2 additions & 2 deletions pkg/benchmark/pod.go
Expand Up @@ -22,11 +22,11 @@ import (
"path"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/framework"
"github.com/sirupsen/logrus"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
"github.com/onsi/gomega/gmeasure"
Expand Down
4 changes: 2 additions & 2 deletions pkg/benchmark/pod_container.go
Expand Up @@ -19,10 +19,10 @@ package benchmark
import (
"context"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/framework/util.go
Expand Up @@ -26,11 +26,11 @@ import (

"github.com/distribution/reference"
"github.com/google/uuid"
"github.com/kubernetes-sigs/cri-tools/pkg/common"
"gopkg.in/yaml.v3"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"k8s.io/kubernetes/pkg/kubelet/cri/remote"
"sigs.k8s.io/cri-tools/pkg/common"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/apparmor_linux.go
Expand Up @@ -24,11 +24,11 @@ import (
"os/exec"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
"github.com/opencontainers/runc/libcontainer/apparmor"
"github.com/sirupsen/logrus"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/consts.go
Expand Up @@ -19,8 +19,8 @@ package validate
import (
"runtime"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"
)

// Container test constants
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/container.go
Expand Up @@ -27,9 +27,9 @@ import (
"strings"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/container_linux.go
Expand Up @@ -23,10 +23,10 @@ import (
"path/filepath"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
"golang.org/x/sys/unix"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/image.go
Expand Up @@ -22,9 +22,9 @@ import (
"runtime"
"sort"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions pkg/validate/multi_container_linux.go
Expand Up @@ -23,10 +23,10 @@ import (
"strings"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions pkg/validate/networking.go
Expand Up @@ -23,10 +23,10 @@ import (
"strings"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions pkg/validate/pod.go
Expand Up @@ -21,10 +21,10 @@ import (
"os"
"path/filepath"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions pkg/validate/pod_linux.go
Expand Up @@ -21,10 +21,10 @@ import (
"strings"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/runtime_info.go
Expand Up @@ -19,9 +19,9 @@ package validate
import (
"context"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions pkg/validate/security_context_linux.go
Expand Up @@ -26,10 +26,10 @@ import (
"strings"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/common"
"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/common"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/selinux_linux.go
Expand Up @@ -22,10 +22,10 @@ import (
"strings"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
selinux "github.com/opencontainers/selinux/go-selinux"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/streaming.go
Expand Up @@ -28,13 +28,13 @@ import (
"sync"
"time"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/portforward"
remoteclient "k8s.io/client-go/tools/remotecommand"
"k8s.io/client-go/transport/spdy"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion pkg/validate/streaming_linux.go
Expand Up @@ -19,9 +19,9 @@ package validate
import (
"context"

"github.com/kubernetes-sigs/cri-tools/pkg/framework"
internalapi "k8s.io/cri-api/pkg/apis"
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
"sigs.k8s.io/cri-tools/pkg/framework"

. "github.com/onsi/ginkgo/v2"
)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/suite_test.go
Expand Up @@ -19,9 +19,9 @@ package e2e
import (
"testing"

. "github.com/kubernetes-sigs/cri-tools/test/framework"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
. "sigs.k8s.io/cri-tools/test/framework"
)

// TestE2E runs the created specs
Expand Down

0 comments on commit f4fe266

Please sign in to comment.