Skip to content

Commit

Permalink
Extracting building logic into a workers package (#115)
Browse files Browse the repository at this point in the history
* Extracting building logic into a workers package.

* Fixed invalid import path.
  • Loading branch information
Skarlso authored and michelvocks committed Sep 30, 2018
1 parent 753ee64 commit 8eb3f1a
Show file tree
Hide file tree
Showing 29 changed files with 20 additions and 21 deletions.
19 changes: 10 additions & 9 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/gaia/main.go
Expand Up @@ -12,8 +12,8 @@ import (
"github.com/gaia-pipeline/flag"
"github.com/gaia-pipeline/gaia"
"github.com/gaia-pipeline/gaia/handlers"
"github.com/gaia-pipeline/gaia/pipeline"
"github.com/gaia-pipeline/gaia/services"
"github.com/gaia-pipeline/gaia/workers/pipeline"
hclog "github.com/hashicorp/go-hclog"
"github.com/labstack/echo"
)
Expand Down
2 changes: 1 addition & 1 deletion handlers/hook.go
Expand Up @@ -13,8 +13,8 @@ import (

"github.com/gaia-pipeline/gaia"

"github.com/gaia-pipeline/gaia/pipeline"
"github.com/gaia-pipeline/gaia/services"
"github.com/gaia-pipeline/gaia/workers/pipeline"

"github.com/labstack/echo"
)
Expand Down
2 changes: 1 addition & 1 deletion handlers/hook_test.go
Expand Up @@ -11,8 +11,8 @@ import (
"time"

"github.com/gaia-pipeline/gaia"
"github.com/gaia-pipeline/gaia/pipeline"
"github.com/gaia-pipeline/gaia/services"
"github.com/gaia-pipeline/gaia/workers/pipeline"
hclog "github.com/hashicorp/go-hclog"
"github.com/labstack/echo"
)
Expand Down
2 changes: 1 addition & 1 deletion handlers/pipeline.go
Expand Up @@ -7,8 +7,8 @@ import (
"time"

"github.com/gaia-pipeline/gaia"
"github.com/gaia-pipeline/gaia/pipeline"
"github.com/gaia-pipeline/gaia/services"
"github.com/gaia-pipeline/gaia/workers/pipeline"
"github.com/labstack/echo"
uuid "github.com/satori/go.uuid"
)
Expand Down
8 changes: 3 additions & 5 deletions handlers/pipeline_test.go
Expand Up @@ -11,12 +11,10 @@ import (
"testing"
"time"

"github.com/gaia-pipeline/gaia/scheduler"

"github.com/gaia-pipeline/gaia/services"

"github.com/gaia-pipeline/gaia"
"github.com/gaia-pipeline/gaia/pipeline"
"github.com/gaia-pipeline/gaia/services"
"github.com/gaia-pipeline/gaia/workers/pipeline"
"github.com/gaia-pipeline/gaia/workers/scheduler"
hclog "github.com/hashicorp/go-hclog"
"github.com/labstack/echo"
)
Expand Down
2 changes: 1 addition & 1 deletion plugin/plugin.go
Expand Up @@ -11,8 +11,8 @@ import (
"time"

"github.com/gaia-pipeline/gaia"
"github.com/gaia-pipeline/gaia/scheduler"
"github.com/gaia-pipeline/gaia/security"
"github.com/gaia-pipeline/gaia/workers/scheduler"
"github.com/gaia-pipeline/protobuf"
plugin "github.com/hashicorp/go-plugin"
)
Expand Down
2 changes: 1 addition & 1 deletion services/service_provider.go
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/gaia-pipeline/gaia"
"github.com/gaia-pipeline/gaia/plugin"
"github.com/gaia-pipeline/gaia/scheduler"
"github.com/gaia-pipeline/gaia/security"
"github.com/gaia-pipeline/gaia/store"
"github.com/gaia-pipeline/gaia/workers/scheduler"
)

// storeService is an instance of store.
Expand Down
2 changes: 1 addition & 1 deletion services/service_provider_test.go
Expand Up @@ -6,8 +6,8 @@ import (
"reflect"
"testing"

"github.com/gaia-pipeline/gaia/scheduler"
"github.com/gaia-pipeline/gaia/security"
"github.com/gaia-pipeline/gaia/workers/scheduler"

"github.com/gaia-pipeline/gaia"
"github.com/gaia-pipeline/gaia/store"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8eb3f1a

Please sign in to comment.