Skip to content

Commit

Permalink
Move to pipe-cd organization
Browse files Browse the repository at this point in the history
  • Loading branch information
nghialv committed Jun 12, 2020
1 parent 508ded2 commit 0f129c7
Show file tree
Hide file tree
Showing 247 changed files with 458 additions and 458 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ linters:
fast: false
linters-settings:
goimports:
local-prefixes: github.com/kapetaniosci/pipe
local-prefixes: github.com/pipe-cd/pipe
2 changes: 1 addition & 1 deletion .kapetanios/plugin-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
# build: web-test
# step: test
# artifact: lcov.info
# trimSourceFilePrefix: /workspace/src/github.com/kapetaniosci/pipe/
# trimSourceFilePrefix: /workspace/src/github.com/pipe-cd/pipe/
2 changes: 1 addition & 1 deletion .kapetanios/presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ spec:
- root-path=bazel-testlogs
- profile-matcher="**/coverage.dat"
- source-exclude-matcher="**/*.mock.go,**/*.pb.go,**/*.validate.go,**/*.embed.go,**/*.deepcopy.go"
- base-import-path=github.com/kapetaniosci/pipe
- base-import-path=github.com/pipe-cd/pipe
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:exclude pkg/app/kapetool/cmd/godifflinter/pkg/linters/ineffassign/testdata

# gazelle:build_file_name BUILD.bazel
# gazelle:prefix github.com/kapetaniosci/pipe
# gazelle:prefix github.com/pipe-cd/pipe

gazelle(
name = "gazelle",
Expand Down
2 changes: 1 addition & 1 deletion BUILD.bazel.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:exclude pkg/app/kapetool/cmd/godifflinter/pkg/linters/ineffassign/testdata

# gazelle:build_file_name BUILD.bazel
# gazelle:prefix github.com/kapetaniosci/pipe
# gazelle:prefix github.com/pipe-cd/pipe

gazelle(
name = "gazelle",
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ push-images:

.PHONY: expose-generated-go
expose-generated-go:
./hack/expose-generated-go.sh kapetaniosci pipe
./hack/expose-generated-go.sh pipe-cd pipe
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ This project aims to explore and develop a unified delivery infrastructure for C

## License

Apache License 2.0, see [LICENSE](https://github.com/kapetaniosci/pipe/blob/master/README.md).
Apache License 2.0, see [LICENSE](https://github.com/pipe-cd/pipe/blob/master/README.md).
2 changes: 1 addition & 1 deletion cmd/api/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("//bazel:image.bzl", "app_image")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/kapetaniosci/pipe/cmd/api",
importpath = "github.com/pipe-cd/pipe/cmd/api",
visibility = ["//visibility:private"],
deps = [
"//pkg/app/api/cmd/samplecli:go_default_library",
Expand Down
6 changes: 3 additions & 3 deletions cmd/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ package main
import (
"log"

"github.com/kapetaniosci/pipe/pkg/app/api/cmd/samplecli"
"github.com/kapetaniosci/pipe/pkg/app/api/cmd/server"
"github.com/kapetaniosci/pipe/pkg/cli"
"github.com/pipe-cd/pipe/pkg/app/api/cmd/samplecli"
"github.com/pipe-cd/pipe/pkg/app/api/cmd/server"
"github.com/pipe-cd/pipe/pkg/cli"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions cmd/helloworld/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("//bazel:image.bzl", "app_image")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/kapetaniosci/pipe/cmd/helloworld",
importpath = "github.com/pipe-cd/pipe/cmd/helloworld",
visibility = ["//visibility:private"],
deps = [
"//pkg/app/helloworld/cmd/server:go_default_library",
Expand All @@ -21,6 +21,6 @@ go_binary(
app_image(
name = "helloworld",
binary = ":helloworld",
repository = "pipecd-helloworld",
repository = "helloworld",
visibility = ["//visibility:public"],
)
4 changes: 2 additions & 2 deletions cmd/helloworld/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package main
import (
"log"

"github.com/kapetaniosci/pipe/pkg/app/helloworld/cmd/server"
"github.com/kapetaniosci/pipe/pkg/cli"
"github.com/pipe-cd/pipe/pkg/app/helloworld/cmd/server"
"github.com/pipe-cd/pipe/pkg/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def all_images():
"api-debug": "pipecd-api-debug",
"piped": "pipecd-piped",
"web": "pipecd-web",
"helloworld": "pipecd-helloworld",
"helloworld": "helloworld",
}
images = {}

Expand Down
2 changes: 1 addition & 1 deletion cmd/piped/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("//bazel:image.bzl", "app_image")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/kapetaniosci/pipe/cmd/piped",
importpath = "github.com/pipe-cd/pipe/cmd/piped",
visibility = ["//visibility:private"],
deps = [
"//pkg/app/piped/cmd/piped:go_default_library",
Expand Down
4 changes: 2 additions & 2 deletions cmd/piped/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package main
import (
"log"

"github.com/kapetaniosci/pipe/pkg/app/piped/cmd/piped"
"github.com/kapetaniosci/pipe/pkg/cli"
"github.com/pipe-cd/pipe/pkg/app/piped/cmd/piped"
"github.com/pipe-cd/pipe/pkg/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/web/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("//bazel:image.bzl", "app_image")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/kapetaniosci/pipe/cmd/web",
importpath = "github.com/pipe-cd/pipe/cmd/web",
visibility = ["//visibility:private"],
deps = [
"//pkg/admin:go_default_library",
Expand Down
4 changes: 2 additions & 2 deletions cmd/web/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"go.uber.org/zap"
"golang.org/x/sync/errgroup"

"github.com/kapetaniosci/pipe/pkg/admin"
"github.com/kapetaniosci/pipe/pkg/cli"
"github.com/pipe-cd/pipe/pkg/admin"
"github.com/pipe-cd/pipe/pkg/cli"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/kapetaniosci/pipe
module github.com/pipe-cd/pipe

go 1.14

Expand Down
2 changes: 1 addition & 1 deletion hack/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["tools.go"],
importpath = "github.com/kapetaniosci/pipe/hack",
importpath = "github.com/pipe-cd/pipe/hack",
visibility = ["//visibility:public"],
deps = ["@io_k8s_code_generator//:go_default_library"],
)
2 changes: 1 addition & 1 deletion pkg/admin/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go_library(
"admin.go",
"doc.go",
],
importpath = "github.com/kapetaniosci/pipe/pkg/admin",
importpath = "github.com/pipe-cd/pipe/pkg/admin",
visibility = ["//visibility:public"],
deps = ["@org_uber_go_zap//:go_default_library"],
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/api/api/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go_library(
"piped_api.go",
"web_api.go",
],
importpath = "github.com/kapetaniosci/pipe/pkg/app/api/api",
importpath = "github.com/pipe-cd/pipe/pkg/app/api/api",
visibility = ["//visibility:public"],
deps = [
"//pkg/app/api/applicationlivestatestore:go_default_library",
Expand Down
10 changes: 5 additions & 5 deletions pkg/app/api/api/piped_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

"github.com/kapetaniosci/pipe/pkg/app/api/service/pipedservice"
"github.com/kapetaniosci/pipe/pkg/app/api/stagelogstore"
"github.com/kapetaniosci/pipe/pkg/datastore"
"github.com/kapetaniosci/pipe/pkg/model"
"github.com/kapetaniosci/pipe/pkg/rpc/rpcauth"
"github.com/pipe-cd/pipe/pkg/app/api/service/pipedservice"
"github.com/pipe-cd/pipe/pkg/app/api/stagelogstore"
"github.com/pipe-cd/pipe/pkg/datastore"
"github.com/pipe-cd/pipe/pkg/model"
"github.com/pipe-cd/pipe/pkg/rpc/rpcauth"
)

// PipedAPI implements the behaviors for the gRPC definitions of PipedAPI.
Expand Down
10 changes: 5 additions & 5 deletions pkg/app/api/api/web_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

"github.com/kapetaniosci/pipe/pkg/app/api/applicationlivestatestore"
"github.com/kapetaniosci/pipe/pkg/app/api/service/webservice"
"github.com/kapetaniosci/pipe/pkg/app/api/stagelogstore"
"github.com/kapetaniosci/pipe/pkg/datastore"
"github.com/kapetaniosci/pipe/pkg/model"
"github.com/pipe-cd/pipe/pkg/app/api/applicationlivestatestore"
"github.com/pipe-cd/pipe/pkg/app/api/service/webservice"
"github.com/pipe-cd/pipe/pkg/app/api/stagelogstore"
"github.com/pipe-cd/pipe/pkg/datastore"
"github.com/pipe-cd/pipe/pkg/model"
)

// PipedAPI implements the behaviors for the gRPC definitions of WebAPI.
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/api/applicationlivestatestore/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ go_library(
"filestore.go",
"store.go",
],
importpath = "github.com/kapetaniosci/pipe/pkg/app/api/applicationlivestatestore",
importpath = "github.com/pipe-cd/pipe/pkg/app/api/applicationlivestatestore",
visibility = ["//visibility:public"],
deps = [
"//pkg/cache:go_default_library",
Expand Down
4 changes: 2 additions & 2 deletions pkg/app/api/applicationlivestatestore/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"encoding/json"
"fmt"

"github.com/kapetaniosci/pipe/pkg/cache"
"github.com/kapetaniosci/pipe/pkg/model"
"github.com/pipe-cd/pipe/pkg/cache"
"github.com/pipe-cd/pipe/pkg/model"
)

type applicationLiveStateCache struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/app/api/applicationlivestatestore/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"

"github.com/kapetaniosci/pipe/pkg/cache"
"github.com/kapetaniosci/pipe/pkg/cache/cachetest"
"github.com/kapetaniosci/pipe/pkg/model"
"github.com/pipe-cd/pipe/pkg/cache"
"github.com/pipe-cd/pipe/pkg/cache/cachetest"
"github.com/pipe-cd/pipe/pkg/model"
)

func TestCacheGet(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/app/api/applicationlivestatestore/filestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"errors"
"fmt"

"github.com/kapetaniosci/pipe/pkg/filestore"
"github.com/kapetaniosci/pipe/pkg/model"
"github.com/pipe-cd/pipe/pkg/filestore"
"github.com/pipe-cd/pipe/pkg/model"
)

type applicationLiveStateFileStore struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/app/api/applicationlivestatestore/filestore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import (
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"

"github.com/kapetaniosci/pipe/pkg/filestore"
"github.com/kapetaniosci/pipe/pkg/filestore/filestoretest"
"github.com/kapetaniosci/pipe/pkg/model"
"github.com/pipe-cd/pipe/pkg/filestore"
"github.com/pipe-cd/pipe/pkg/filestore/filestoretest"
"github.com/pipe-cd/pipe/pkg/model"
)

func TestFileStoreGet(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions pkg/app/api/applicationlivestatestore/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (

"go.uber.org/zap"

"github.com/kapetaniosci/pipe/pkg/cache"
"github.com/kapetaniosci/pipe/pkg/filestore"
"github.com/kapetaniosci/pipe/pkg/model"
"github.com/pipe-cd/pipe/pkg/cache"
"github.com/pipe-cd/pipe/pkg/filestore"
"github.com/pipe-cd/pipe/pkg/model"
)

type Store interface {
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/api/cmd/samplecli/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["samplecli.go"],
importpath = "github.com/kapetaniosci/pipe/pkg/app/api/cmd/samplecli",
importpath = "github.com/pipe-cd/pipe/pkg/app/api/cmd/samplecli",
visibility = ["//visibility:public"],
deps = [
"//pkg/app/api/service/pipedservice:go_default_library",
Expand Down
8 changes: 4 additions & 4 deletions pkg/app/api/cmd/samplecli/samplecli.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
"github.com/spf13/cobra"
"go.uber.org/zap"

"github.com/kapetaniosci/pipe/pkg/app/api/service/pipedservice"
"github.com/kapetaniosci/pipe/pkg/app/api/service/webservice"
"github.com/kapetaniosci/pipe/pkg/cli"
"github.com/kapetaniosci/pipe/pkg/rpc/rpcclient"
"github.com/pipe-cd/pipe/pkg/app/api/service/pipedservice"
"github.com/pipe-cd/pipe/pkg/app/api/service/webservice"
"github.com/pipe-cd/pipe/pkg/cli"
"github.com/pipe-cd/pipe/pkg/rpc/rpcclient"
)

type samplecli struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/api/cmd/server/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["server.go"],
importpath = "github.com/kapetaniosci/pipe/pkg/app/api/cmd/server",
importpath = "github.com/pipe-cd/pipe/pkg/app/api/cmd/server",
visibility = ["//visibility:public"],
deps = [
"//pkg/admin:go_default_library",
Expand Down
26 changes: 13 additions & 13 deletions pkg/app/api/cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ import (
"go.uber.org/zap"
"golang.org/x/sync/errgroup"

"github.com/kapetaniosci/pipe/pkg/admin"
"github.com/kapetaniosci/pipe/pkg/app/api/api"
"github.com/kapetaniosci/pipe/pkg/app/api/applicationlivestatestore"
"github.com/kapetaniosci/pipe/pkg/app/api/stagelogstore"
"github.com/kapetaniosci/pipe/pkg/cache/rediscache"
"github.com/kapetaniosci/pipe/pkg/cli"
"github.com/kapetaniosci/pipe/pkg/config"
"github.com/kapetaniosci/pipe/pkg/datastore"
"github.com/kapetaniosci/pipe/pkg/datastore/firestore"
"github.com/kapetaniosci/pipe/pkg/filestore"
"github.com/kapetaniosci/pipe/pkg/filestore/gcs"
"github.com/kapetaniosci/pipe/pkg/redis"
"github.com/kapetaniosci/pipe/pkg/rpc"
"github.com/pipe-cd/pipe/pkg/admin"
"github.com/pipe-cd/pipe/pkg/app/api/api"
"github.com/pipe-cd/pipe/pkg/app/api/applicationlivestatestore"
"github.com/pipe-cd/pipe/pkg/app/api/stagelogstore"
"github.com/pipe-cd/pipe/pkg/cache/rediscache"
"github.com/pipe-cd/pipe/pkg/cli"
"github.com/pipe-cd/pipe/pkg/config"
"github.com/pipe-cd/pipe/pkg/datastore"
"github.com/pipe-cd/pipe/pkg/datastore/firestore"
"github.com/pipe-cd/pipe/pkg/filestore"
"github.com/pipe-cd/pipe/pkg/filestore/gcs"
"github.com/pipe-cd/pipe/pkg/redis"
"github.com/pipe-cd/pipe/pkg/rpc"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions pkg/app/api/service/pipedservice/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ proto_library(
pgv_go_proto_library(
name = "pipedservice_go_proto",
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
importpath = "github.com/kapetaniosci/pipe/pkg/app/api/service/pipedservice",
importpath = "github.com/pipe-cd/pipe/pkg/app/api/service/pipedservice",
proto = ":pipedservice_proto",
visibility = ["//visibility:public"],
deps = [
Expand All @@ -32,7 +32,7 @@ go_library(
"service.go",
],
embed = [":pipedservice_go_proto"],
importpath = "github.com/kapetaniosci/pipe/pkg/app/api/service/pipedservice",
importpath = "github.com/pipe-cd/pipe/pkg/app/api/service/pipedservice",
visibility = ["//visibility:public"],
deps = [
"//pkg/backoff:go_default_library",
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/api/service/pipedservice/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

"google.golang.org/grpc"

"github.com/kapetaniosci/pipe/pkg/rpc/rpcclient"
"github.com/pipe-cd/pipe/pkg/rpc/rpcclient"
)

type Client interface {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["fakeclient.go"],
importpath = "github.com/kapetaniosci/pipe/pkg/app/api/service/pipedservice/pipedclientfake",
importpath = "github.com/pipe-cd/pipe/pkg/app/api/service/pipedservice/pipedclientfake",
visibility = ["//visibility:public"],
deps = [
"//pkg/app/api/service/pipedservice:go_default_library",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"

"github.com/kapetaniosci/pipe/pkg/app/api/service/pipedservice"
"github.com/kapetaniosci/pipe/pkg/model"
"github.com/pipe-cd/pipe/pkg/app/api/service/pipedservice"
"github.com/pipe-cd/pipe/pkg/model"
)

type fakeClient struct {
Expand Down
Loading

0 comments on commit 0f129c7

Please sign in to comment.