Skip to content

Commit

Permalink
refactor: move controller files
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed May 13, 2021
1 parent 8d8c2ae commit cc175fc
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ ignore:
- api/v1alpha1/generated.pb.go
- api/v1alpha1/zz_generated.deepcopy.go
- config
- controllers
- docs
- hack
- kill
Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN --mount=type=cache,target=/go/pkg/mod go mod download
FROM builder AS controller-builder
COPY .git/ .git/
COPY api/ api/
COPY controllers/ controllers/
COPY manager/ manager/
RUN go generate ./api/util/version.go
RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -a -o bin/manager ./manager
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
"github.com/argoproj-labs/argo-dataflow/api/util"
"github.com/argoproj-labs/argo-dataflow/api/util/containerkiller"
dfv1 "github.com/argoproj-labs/argo-dataflow/api/v1alpha1"
"github.com/argoproj-labs/argo-dataflow/controllers/bus"
"github.com/argoproj-labs/argo-dataflow/manager/controllers/bus"
)

// PipelineReconciler reconciles a Pipeline object
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var _ = BeforeSuite(func(done Done) {
By("bootstrapping test environment")
testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{
filepath.Join("..", "config", "crd", "bases"),
filepath.Join("..", "..", "config", "crd", "bases"),
},
}

Expand Down
4 changes: 2 additions & 2 deletions manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"fmt"
"os"

"github.com/argoproj-labs/argo-dataflow/controllers/bus"
"github.com/argoproj-labs/argo-dataflow/manager/controllers/bus"

"k8s.io/apimachinery/pkg/runtime"
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
Expand All @@ -31,7 +31,7 @@ import (

"github.com/argoproj-labs/argo-dataflow/api/util/containerkiller"
dataflowv1alpha1 "github.com/argoproj-labs/argo-dataflow/api/v1alpha1"
"github.com/argoproj-labs/argo-dataflow/controllers"
"github.com/argoproj-labs/argo-dataflow/manager/controllers"
)

var (
Expand Down

0 comments on commit cc175fc

Please sign in to comment.