Skip to content

Commit 1c60ae7

Browse files
committed
Use local version of cri packages
Signed-off-by: Derek McGowan <derek@mcg.dev>
1 parent e7a3501 commit 1c60ae7

File tree

234 files changed

+8150
-18349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+8150
-18349
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ jobs:
116116
else
117117
DCO_RANGE=$(curl ${GITHUB_COMMIT_URL} | jq -r '.[0].parents[0].sha + "..HEAD"')
118118
fi
119-
../project/script/validate/dco
119+
# Add back after CRI merge complete and remove last call
120+
# ../project/script/validate/dco
121+
echo "skipping for CRI merge since older commits may not pass this check"
120122
121123
- name: Headers
122124
run: ../project/script/validate/fileheader ../project/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ GO_LDFLAGS=-ldflags '-X $(PKG)/version.Version=$(VERSION) -X $(PKG)/version.Revi
8585
SHIM_GO_LDFLAGS=-ldflags '-X $(PKG)/version.Version=$(VERSION) -X $(PKG)/version.Revision=$(REVISION) -X $(PKG)/version.Package=$(PACKAGE) -extldflags "-static" $(EXTRA_LDFLAGS)'
8686

8787
# Project packages.
88-
PACKAGES=$(shell go list ${GO_TAGS} ./... | grep -v /vendor/)
88+
PACKAGES=$(shell go list ${GO_TAGS} ./... | grep -v /vendor/ | grep -v /integration)
8989
INTEGRATION_PACKAGE=${PKG}
9090
TEST_REQUIRES_ROOT_PACKAGES=$(filter \
9191
${PACKAGES}, \

cmd/containerd/builtins_cri.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818

1919
package main
2020

21-
import _ "github.com/containerd/cri"
21+
import _ "github.com/containerd/containerd/pkg/cri"

integration/main_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ import (
3939
cri "k8s.io/cri-api/pkg/apis"
4040
runtime "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
4141

42-
"github.com/containerd/cri/integration/remote"
43-
dialer "github.com/containerd/cri/integration/util"
44-
criconfig "github.com/containerd/cri/pkg/config"
45-
"github.com/containerd/cri/pkg/constants"
46-
"github.com/containerd/cri/pkg/server"
47-
"github.com/containerd/cri/pkg/util"
42+
"github.com/containerd/containerd/integration/remote"
43+
dialer "github.com/containerd/containerd/integration/util"
44+
criconfig "github.com/containerd/containerd/pkg/config"
45+
"github.com/containerd/containerd/pkg/constants"
46+
"github.com/containerd/containerd/pkg/server"
47+
"github.com/containerd/containerd/pkg/util"
4848
)
4949

5050
const (

integration/remote/remote_image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import (
4444
internalapi "k8s.io/cri-api/pkg/apis"
4545
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
4646

47-
"github.com/containerd/cri/integration/remote/util"
47+
"github.com/containerd/containerd/integration/remote/util"
4848
)
4949

5050
// ImageService is a gRPC implementation of internalapi.ImageManagerService.

integration/remote/remote_runtime.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import (
4747
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
4848
utilexec "k8s.io/utils/exec"
4949

50-
"github.com/containerd/cri/integration/remote/util"
50+
"github.com/containerd/containerd/integration/remote/util"
5151
)
5252

5353
// RuntimeService is a gRPC implementation of internalapi.RuntimeService.

0 commit comments

Comments
 (0)