Skip to content

Commit

Permalink
Update import path to use containerd/containerd instead of docker/docker
Browse files Browse the repository at this point in the history
Signed-off-by: Kenfe-Mickael Laventure <[email protected]>
  • Loading branch information
mlaventure committed Apr 13, 2017
1 parent f58940c commit 793b738
Show file tree
Hide file tree
Showing 47 changed files with 69 additions and 69 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y \
ENV GO_VERSION 1.7.1
RUN curl -sSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar -v -C /usr/local -xz
ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go:/go/src/github.com/docker/containerd/vendor
ENV GOPATH /go:/go/src/github.com/containerd/containerd/vendor

ENV GO_TOOLS_COMMIT 823804e1ae08dbb14eb807afc7db9993bc9e3cc3
# Grab Go's cover tool for dead-simple code coverage testing
Expand All @@ -37,7 +37,7 @@ RUN git clone https://github.com/golang/lint.git /go/src/github.com/golang/lint
&& (cd /go/src/github.com/golang/lint && git checkout -q $GO_LINT_COMMIT) \
&& go install -v github.com/golang/lint/golint

WORKDIR /go/src/github.com/docker/containerd
WORKDIR /go/src/github.com/containerd/containerd

# install seccomp: the version shipped in trusty is too old
ENV SECCOMP_VERSION 2.3.1
Expand All @@ -63,8 +63,8 @@ RUN set -x \
&& git checkout -q "$RUNC_COMMIT" \
&& make BUILDTAGS="seccomp apparmor selinux" && make install

COPY . /go/src/github.com/docker/containerd
COPY . /go/src/github.com/containerd/containerd

WORKDIR /go/src/github.com/docker/containerd
WORKDIR /go/src/github.com/containerd/containerd

RUN make all install
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
BUILDTAGS=

PROJECT=github.com/docker/containerd
PROJECT=github.com/containerd/containerd

GIT_COMMIT := $(shell git rev-parse HEAD 2> /dev/null || true)
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2> /dev/null)

LDFLAGS := -X github.com/docker/containerd.GitCommit=${GIT_COMMIT} ${LDFLAGS}
LDFLAGS := -X github.com/containerd/containerd.GitCommit=${GIT_COMMIT} ${LDFLAGS}

TEST_TIMEOUT ?= 5m
TEST_SUITE_TIMEOUT ?= 10m
Expand Down Expand Up @@ -91,7 +91,7 @@ test: validate install bundles-rootfs
go test -bench=. -v $(shell go list ./... | grep -v /vendor | grep -v /integration-test ) -runtime=$(RUNTIME)
ifneq ($(wildcard /.dockerenv), )
cd integration-test ; \
go test -check.v -check.timeout=$(TEST_TIMEOUT) $(TESTFLAGS) timeout=$(TEST_SUITE_TIMEOUT) github.com/docker/containerd/integration-test
go test -check.v -check.timeout=$(TEST_TIMEOUT) $(TESTFLAGS) timeout=$(TEST_SUITE_TIMEOUT) github.com/containerd/containerd/integration-test
endif

bench: shim validate install bundles-rootfs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ as checkpoint and restore for cloning and live migration of containers.

## Getting started

The easiest way to start using containerd is to download binaries from the [releases page](https://github.com/docker/containerd/releases).
The easiest way to start using containerd is to download binaries from the [releases page](https://github.com/containerd/containerd/releases).

The included `ctr` command-line tool allows you interact with the containerd daemon:

Expand Down
8 changes: 4 additions & 4 deletions api/grpc/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/codes"

"github.com/docker/containerd"
"github.com/docker/containerd/api/grpc/types"
"github.com/docker/containerd/runtime"
"github.com/docker/containerd/supervisor"
"github.com/containerd/containerd"
"github.com/containerd/containerd/api/grpc/types"
"github.com/containerd/containerd/runtime"
"github.com/containerd/containerd/supervisor"
"github.com/golang/protobuf/ptypes"
"golang.org/x/net/context"
)
Expand Down
6 changes: 3 additions & 3 deletions api/grpc/server/server_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package server
import (
"fmt"

"github.com/docker/containerd/api/grpc/types"
"github.com/docker/containerd/specs"
"github.com/docker/containerd/supervisor"
"github.com/containerd/containerd/api/grpc/types"
"github.com/containerd/containerd/specs"
"github.com/containerd/containerd/supervisor"
"github.com/opencontainers/runc/libcontainer/system"
ocs "github.com/opencontainers/runtime-spec/specs-go"
"golang.org/x/net/context"
Expand Down
6 changes: 3 additions & 3 deletions api/grpc/server/server_solaris.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package server
import (
"fmt"

"github.com/docker/containerd/api/grpc/types"
"github.com/docker/containerd/specs"
"github.com/docker/containerd/supervisor"
"github.com/containerd/containerd/api/grpc/types"
"github.com/containerd/containerd/specs"
"github.com/containerd/containerd/supervisor"
"golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion containerd-shim/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"runtime"
"syscall"

"github.com/docker/containerd/osutils"
"github.com/containerd/containerd/osutils"
"github.com/docker/docker/pkg/term"
)

Expand Down
2 changes: 1 addition & 1 deletion containerd-shim/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"syscall"
"time"

"github.com/docker/containerd/specs"
"github.com/containerd/containerd/specs"
)

var errRuntime = errors.New("shim: runtime execution error")
Expand Down
10 changes: 5 additions & 5 deletions containerd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import (
"github.com/Sirupsen/logrus"
"github.com/codegangsta/cli"
"github.com/cyberdelia/go-metrics-graphite"
"github.com/docker/containerd"
grpcserver "github.com/docker/containerd/api/grpc/server"
"github.com/docker/containerd/api/grpc/types"
"github.com/docker/containerd/api/http/pprof"
"github.com/docker/containerd/supervisor"
"github.com/containerd/containerd"
grpcserver "github.com/containerd/containerd/api/grpc/server"
"github.com/containerd/containerd/api/grpc/types"
"github.com/containerd/containerd/api/http/pprof"
"github.com/containerd/containerd/supervisor"
"github.com/docker/docker/pkg/listeners"
"github.com/rcrowley/go-metrics"
)
Expand Down
2 changes: 1 addition & 1 deletion containerd/main_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/Sirupsen/logrus"
"github.com/cloudfoundry/gosigar"
"github.com/docker/containerd/osutils"
"github.com/containerd/containerd/osutils"
"github.com/rcrowley/go-metrics"
)

Expand Down
2 changes: 1 addition & 1 deletion ctr/checkpoint_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"text/tabwriter"

"github.com/codegangsta/cli"
"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
netcontext "golang.org/x/net/context"
)

Expand Down
4 changes: 2 additions & 2 deletions ctr/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
"time"

"github.com/codegangsta/cli"
"github.com/docker/containerd/api/grpc/types"
"github.com/docker/containerd/specs"
"github.com/containerd/containerd/api/grpc/types"
"github.com/containerd/containerd/specs"
"github.com/docker/docker/pkg/term"
"github.com/golang/protobuf/ptypes"
netcontext "golang.org/x/net/context"
Expand Down
2 changes: 1 addition & 1 deletion ctr/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"

"github.com/codegangsta/cli"
"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
"github.com/golang/protobuf/ptypes"
netcontext "golang.org/x/net/context"
)
Expand Down
4 changes: 2 additions & 2 deletions ctr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/Sirupsen/logrus"
"github.com/codegangsta/cli"
"github.com/docker/containerd"
"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd"
"github.com/containerd/containerd/api/grpc/types"
)

const usage = `High performance container daemon cli`
Expand Down
2 changes: 1 addition & 1 deletion ctr/sort.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"sort"

"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
)

func sortContainers(c []*types.Container) {
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

The API for containerd is with GRPC over a unix socket located at the default location of `/run/containerd/containerd.sock`.

At this time please refer to the [proto at](https://github.com/docker/containerd/blob/master/api/grpc/types/api.proto) for the API methods and types.
At this time please refer to the [proto at](https://github.com/containerd/containerd/blob/master/api/grpc/types/api.proto) for the API methods and types.
There is a Go implementation and types checked into this repository but alternate language implementations can be created using the grpc and protoc toolchain.
2 changes: 1 addition & 1 deletion hack/.vendor-helpers.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

PROJECT=github.com/docker/containerd
PROJECT=github.com/containerd/containerd

# Downloads dependencies into vendor/ directory
mkdir -p vendor
Expand Down
2 changes: 1 addition & 1 deletion hack/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"time"

"github.com/Sirupsen/logrus"
"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
netcontext "golang.org/x/net/context"
"google.golang.org/grpc"
)
Expand Down
2 changes: 1 addition & 1 deletion integration-test/bundle_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"reflect"
"runtime"

utils "github.com/docker/containerd/testutils"
utils "github.com/containerd/containerd/testutils"
ocs "github.com/opencontainers/runtime-spec/specs-go"
)

Expand Down
4 changes: 2 additions & 2 deletions integration-test/check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"google.golang.org/grpc/grpclog"
"google.golang.org/grpc/health/grpc_health_v1"

"github.com/docker/containerd/api/grpc/types"
utils "github.com/docker/containerd/testutils"
"github.com/containerd/containerd/api/grpc/types"
utils "github.com/containerd/containerd/testutils"
"github.com/go-check/check"
"github.com/golang/protobuf/ptypes/timestamp"
)
Expand Down
2 changes: 1 addition & 1 deletion integration-test/container_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"syscall"
"time"

"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
"github.com/golang/protobuf/ptypes"
"github.com/golang/protobuf/ptypes/timestamp"
"golang.org/x/net/context"
Expand Down
2 changes: 1 addition & 1 deletion integration-test/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
"github.com/docker/docker/pkg/integration/checker"
"github.com/go-check/check"
)
Expand Down
2 changes: 1 addition & 1 deletion integration-test/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"syscall"
"time"

"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
"github.com/docker/docker/pkg/integration/checker"
"github.com/go-check/check"
)
Expand Down
2 changes: 1 addition & 1 deletion integration-test/start_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"syscall"
"time"

"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
"github.com/docker/docker/pkg/integration/checker"
"github.com/go-check/check"
ocs "github.com/opencontainers/runtime-spec/specs-go"
Expand Down
2 changes: 1 addition & 1 deletion integration-test/start_solaris_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"syscall"
"time"

"github.com/docker/containerd/api/grpc/types"
"github.com/containerd/containerd/api/grpc/types"
"github.com/docker/docker/pkg/integration/checker"
"github.com/go-check/check"
"google.golang.org/grpc"
Expand Down
2 changes: 1 addition & 1 deletion runtime/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"time"

"github.com/Sirupsen/logrus"
"github.com/docker/containerd/specs"
"github.com/containerd/containerd/specs"
ocs "github.com/opencontainers/runtime-spec/specs-go"
"golang.org/x/net/context"
"golang.org/x/sys/unix"
Expand Down
2 changes: 1 addition & 1 deletion runtime/container_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"syscall"

"github.com/docker/containerd/specs"
"github.com/containerd/containerd/specs"
ocs "github.com/opencontainers/runtime-spec/specs-go"
)

Expand Down
2 changes: 1 addition & 1 deletion runtime/container_solaris.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os/exec"
"strings"

"github.com/docker/containerd/specs"
"github.com/containerd/containerd/specs"
ocs "github.com/opencontainers/runtime-spec/specs-go"
)

Expand Down
2 changes: 1 addition & 1 deletion runtime/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"

"github.com/Sirupsen/logrus"
"github.com/docker/containerd/specs"
"github.com/containerd/containerd/specs"
"golang.org/x/sys/unix"
)

Expand Down
2 changes: 1 addition & 1 deletion runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"time"

"github.com/docker/containerd/specs"
"github.com/containerd/containerd/specs"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion runtime/runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

utils "github.com/docker/containerd/testutils"
utils "github.com/containerd/containerd/testutils"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions supervisor/add_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"os"
"time"

"github.com/docker/containerd/runtime"
"github.com/docker/containerd/specs"
"github.com/containerd/containerd/runtime"
"github.com/containerd/containerd/specs"
"golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion supervisor/checkpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package supervisor

import "github.com/docker/containerd/runtime"
import "github.com/containerd/containerd/runtime"

// CreateCheckpointTask holds needed parameters to create a new checkpoint
type CreateCheckpointTask struct {
Expand Down
2 changes: 1 addition & 1 deletion supervisor/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"path/filepath"
"time"

"github.com/docker/containerd/runtime"
"github.com/containerd/containerd/runtime"
"golang.org/x/net/context"
)

Expand Down
2 changes: 1 addition & 1 deletion supervisor/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"time"

"github.com/Sirupsen/logrus"
"github.com/docker/containerd/runtime"
"github.com/containerd/containerd/runtime"
)

// DeleteTask holds needed parameters to remove a container
Expand Down
2 changes: 1 addition & 1 deletion supervisor/exit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"time"

"github.com/Sirupsen/logrus"
"github.com/docker/containerd/runtime"
"github.com/containerd/containerd/runtime"
)

// ExitTask holds needed parameters to execute the exit task
Expand Down
2 changes: 1 addition & 1 deletion supervisor/get_containers.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package supervisor

import "github.com/docker/containerd/runtime"
import "github.com/containerd/containerd/runtime"

// GetContainersTask holds needed parameters to retrieve a list of
// containers
Expand Down
Loading

0 comments on commit 793b738

Please sign in to comment.