Skip to content

Commit cf36433

Browse files
Replace old module path gojek/turing with caraml-dev/turing (caraml-dev#227)
* Replace old module path gojek/turing with caraml-dev/turing * Change UI HTML template meta tag to reflect caraML
1 parent 20989ac commit cf36433

File tree

249 files changed

+693
-693
lines changed

Some content is hidden

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

249 files changed

+693
-693
lines changed

Diff for: .github/workflows/turing.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ jobs:
475475
- test-api
476476
- test-engines-router
477477
- test-engines-experiment
478-
uses: gojek/turing/.github/workflows/turing-publish.yaml@main
478+
uses: caraml-dev/turing/.github/workflows/turing-publish.yaml@main
479479
with:
480480
api_version: ${{ needs.build-api.outputs.api-version }}
481481
router_version: ${{ needs.build-router.outputs.router-version }}

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Download Turing source code to your local filesystem. From here onwards
6868
the environment variable `$TURING` will refer to the root directory
6969
for the Turing source code.
7070
```bash
71-
git clone https://github.com/gojek/turing.git
71+
git clone https://github.com/caraml-dev/turing.git
7272
export TURING=$PWD/turing
7373
```
7474

@@ -190,9 +190,9 @@ BatchEnsemblingConfig:
190190
BuildTimeoutDuration: 20m
191191
DestinationRegistry: ghcr.io
192192
BaseImageRef:
193-
3.7.*: ghcr.io/gojek/turing/pyfunc-ensembler-job:latest
193+
3.7.*: ghcr.io/caraml-dev/turing/pyfunc-ensembler-job:latest
194194
KanikoConfig:
195-
BuildContextURI: git://github.com/gojek/turing.git#refs/heads/main
195+
BuildContextURI: git://github.com/caraml-dev/turing.git#refs/heads/main
196196
DockerfileFilePath: engines/pyfunc-ensembler-job/app.Dockerfile
197197
Image: gcr.io/kaniko-project/executor
198198
ImageVersion: v1.6.0

Diff for: api/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV GO111MODULE=on \
66
GOOS=linux \
77
GOARCH=amd64
88

9-
ENV PROJECT_ROOT=github.com/gojek/turing/api/turing
9+
ENV PROJECT_ROOT=github.com/caraml-dev/turing/api/turing
1010

1111
WORKDIR /app
1212
COPY . .

Diff for: api/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ istio-system cluster-local-gateway-5bf54b4999-p2bv7 1/1 Running 0
111111
istio-system istio-ingressgateway-555bdcd566-xcn6h 1/1 Running 0 19m
112112
```
113113

114-
Don't forget to build the Turing routers and push it to the local registry. Alternatively, use one of our images [here](https://github.com/gojek/turing/pkgs/container/turing%2Fturing-router).
114+
Don't forget to build the Turing routers and push it to the local registry. Alternatively, use one of our images [here](https://github.com/caraml-dev/turing/pkgs/container/turing%2Fturing-router).
115115

116116
```bash
117117
pushd ../engines/router

Diff for: api/config-dev.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ BatchEnsemblingConfig:
2020
BuildTimeoutDuration: 20m
2121
DestinationRegistry: ghcr.io
2222
BaseImageRef:
23-
3.7.*: ghcr.io/gojek/turing/pyfunc-ensembler-job:latest
23+
3.7.*: ghcr.io/caraml-dev/turing/pyfunc-ensembler-job:latest
2424
KanikoConfig: &kanikoConfig
25-
BuildContextURI: git://github.com/gojek/turing.git#refs/heads/main
25+
BuildContextURI: git://github.com/caraml-dev/turing.git#refs/heads/main
2626
DockerfileFilePath: engines/pyfunc-ensembler-job/app.Dockerfile
2727
Image: gcr.io/kaniko-project/executor
2828
ImageVersion: v1.8.0
@@ -38,7 +38,7 @@ EnsemblerServiceBuilderConfig:
3838
ImageBuildingConfig:
3939
<<: *imageBuildingConfig
4040
BaseImageRef:
41-
3.7.*: ghcr.io/gojek/turing/pyfunc-ensembler-service:latest
41+
3.7.*: ghcr.io/caraml-dev/turing/pyfunc-ensembler-service:latest
4242
KanikoConfig:
4343
<<: *kanikoConfig
4444
DockerfileFilePath: engines/pyfunc-ensembler-service/app.Dockerfile

Diff for: api/e2e/test/01_create_router_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"strings"
1010
"testing"
1111

12-
"github.com/gojek/turing/api/turing/models"
13-
"github.com/gojek/turing/api/turing/service"
12+
"github.com/caraml-dev/turing/api/turing/models"
13+
"github.com/caraml-dev/turing/api/turing/service"
1414
"github.com/stretchr/testify/assert"
1515
"github.com/tidwall/gjson"
1616
)

Diff for: api/e2e/test/02_update_router_invalid_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"path/filepath"
1010
"testing"
1111

12-
"github.com/gojek/turing/api/turing/models"
12+
"github.com/caraml-dev/turing/api/turing/models"
1313
"github.com/stretchr/testify/assert"
1414
"github.com/stretchr/testify/require"
1515
"github.com/tidwall/gjson"

Diff for: api/e2e/test/03_create_router_version_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"path/filepath"
1010
"testing"
1111

12-
"github.com/gojek/turing/api/turing/models"
12+
"github.com/caraml-dev/turing/api/turing/models"
1313
"github.com/stretchr/testify/assert"
1414
"github.com/stretchr/testify/require"
1515
"github.com/tidwall/gjson"

Diff for: api/e2e/test/04_undeploy_router_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/gojek/turing/api/turing/models"
13+
"github.com/caraml-dev/turing/api/turing/models"
1414
"github.com/stretchr/testify/assert"
1515
"github.com/stretchr/testify/require"
1616
)

Diff for: api/e2e/test/05_deploy_invalid_config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"testing"
1010

11-
"github.com/gojek/turing/api/turing/models"
11+
"github.com/caraml-dev/turing/api/turing/models"
1212
"github.com/stretchr/testify/assert"
1313
"github.com/stretchr/testify/require"
1414
)

Diff for: api/e2e/test/06_deploy_valid_config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"net/http"
1010
"testing"
1111

12-
"github.com/gojek/turing/api/turing/models"
12+
"github.com/caraml-dev/turing/api/turing/models"
1313
"github.com/stretchr/testify/assert"
1414
"github.com/stretchr/testify/require"
1515
)

Diff for: api/e2e/test/08_deploy_router_with_traffic_rules_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/tidwall/gjson"
1313

14-
"github.com/gojek/turing/api/turing/models"
14+
"github.com/caraml-dev/turing/api/turing/models"
1515
"github.com/stretchr/testify/assert"
1616
"github.com/stretchr/testify/require"
1717
)

Diff for: api/e2e/test/helpers_api_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"testing"
1212
"time"
1313

14-
"github.com/gojek/turing/api/turing/service"
14+
"github.com/caraml-dev/turing/api/turing/service"
1515

16-
"github.com/gojek/turing/api/turing/models"
16+
"github.com/caraml-dev/turing/api/turing/models"
1717
"github.com/pkg/errors"
1818
"github.com/stretchr/testify/assert"
1919
"github.com/stretchr/testify/require"

Diff for: api/go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/gojek/turing/api
1+
module github.com/caraml-dev/turing/api
22

33
go 1.18
44

@@ -13,8 +13,8 @@ require (
1313
github.com/gojek/fiber v0.0.0-20201008181849-4f0f8284dc84
1414
github.com/gojek/merlin v0.0.0
1515
github.com/gojek/mlp v1.4.7
16-
github.com/gojek/turing/engines/experiment v0.0.0
17-
github.com/gojek/turing/engines/router v0.0.0
16+
github.com/caraml-dev/turing/engines/experiment v0.0.0
17+
github.com/caraml-dev/turing/engines/router v0.0.0
1818
github.com/golang-migrate/migrate/v4 v4.11.0
1919
github.com/google/go-cmp v0.5.7
2020
github.com/google/go-containerregistry v0.8.1-0.20220219142810-1571d7fdc46e
@@ -182,8 +182,8 @@ replace (
182182
github.com/gojek/merlin => github.com/gojek/merlin/api v0.0.0-20210723093139-cc0240032d58
183183
github.com/gojek/merlin-pyspark-app => github.com/gojek/merlin/python/batch-predictor v0.0.0-20210723093139-cc0240032d58
184184

185-
github.com/gojek/turing/engines/experiment => ../engines/experiment
186-
github.com/gojek/turing/engines/router => ../engines/router
185+
github.com/caraml-dev/turing/engines/experiment => ../engines/experiment
186+
github.com/caraml-dev/turing/engines/router => ../engines/router
187187

188188
k8s.io/api => k8s.io/api v0.22.7
189189

Diff for: api/turing/api/alerts_api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"strings"
88

9-
"github.com/gojek/turing/api/turing/models"
9+
"github.com/caraml-dev/turing/api/turing/models"
1010
)
1111

1212
type AlertsController struct {

Diff for: api/turing/api/alerts_api_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99

1010
"github.com/stretchr/testify/mock"
1111

12+
"github.com/caraml-dev/turing/api/turing/models"
13+
"github.com/caraml-dev/turing/api/turing/service/mocks"
1214
merlin "github.com/gojek/merlin/client"
1315
mlp "github.com/gojek/mlp/api/client"
14-
"github.com/gojek/turing/api/turing/models"
15-
"github.com/gojek/turing/api/turing/service/mocks"
1616
testifyAssert "github.com/stretchr/testify/assert"
1717
"gotest.tools/assert"
1818
)

Diff for: api/turing/api/appcontext.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ package api
33
import (
44
"fmt"
55

6+
batchensembling "github.com/caraml-dev/turing/api/turing/batch/ensembling"
7+
batchrunner "github.com/caraml-dev/turing/api/turing/batch/runner"
8+
"github.com/caraml-dev/turing/api/turing/cluster"
9+
"github.com/caraml-dev/turing/api/turing/cluster/labeller"
10+
"github.com/caraml-dev/turing/api/turing/config"
11+
"github.com/caraml-dev/turing/api/turing/imagebuilder"
12+
"github.com/caraml-dev/turing/api/turing/middleware"
13+
"github.com/caraml-dev/turing/api/turing/service"
14+
"github.com/caraml-dev/turing/engines/router/missionctl/errors"
615
"github.com/gojek/mlp/api/pkg/vault"
7-
batchensembling "github.com/gojek/turing/api/turing/batch/ensembling"
8-
batchrunner "github.com/gojek/turing/api/turing/batch/runner"
9-
"github.com/gojek/turing/api/turing/cluster"
10-
"github.com/gojek/turing/api/turing/cluster/labeller"
11-
"github.com/gojek/turing/api/turing/config"
12-
"github.com/gojek/turing/api/turing/imagebuilder"
13-
"github.com/gojek/turing/api/turing/middleware"
14-
"github.com/gojek/turing/api/turing/service"
15-
"github.com/gojek/turing/engines/router/missionctl/errors"
1616
"github.com/jinzhu/gorm"
1717
)
1818

Diff for: api/turing/api/appcontext_test.go

+13-13
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ import (
55
"time"
66

77
"bou.ke/monkey"
8+
batchensembling "github.com/caraml-dev/turing/api/turing/batch/ensembling"
9+
batchrunner "github.com/caraml-dev/turing/api/turing/batch/runner"
10+
"github.com/caraml-dev/turing/api/turing/cluster"
11+
"github.com/caraml-dev/turing/api/turing/config"
12+
openapi "github.com/caraml-dev/turing/api/turing/generated"
13+
"github.com/caraml-dev/turing/api/turing/imagebuilder"
14+
"github.com/caraml-dev/turing/api/turing/middleware"
15+
"github.com/caraml-dev/turing/api/turing/service"
16+
svcmocks "github.com/caraml-dev/turing/api/turing/service/mocks"
817
merlin "github.com/gojek/merlin/client"
918
"github.com/gojek/mlp/api/pkg/instrumentation/sentry"
1019
"github.com/gojek/mlp/api/pkg/vault"
11-
batchensembling "github.com/gojek/turing/api/turing/batch/ensembling"
12-
batchrunner "github.com/gojek/turing/api/turing/batch/runner"
13-
"github.com/gojek/turing/api/turing/cluster"
14-
"github.com/gojek/turing/api/turing/config"
15-
openapi "github.com/gojek/turing/api/turing/generated"
16-
"github.com/gojek/turing/api/turing/imagebuilder"
17-
"github.com/gojek/turing/api/turing/middleware"
18-
"github.com/gojek/turing/api/turing/service"
19-
svcmocks "github.com/gojek/turing/api/turing/service/mocks"
2020
"github.com/jinzhu/gorm"
2121
"github.com/stretchr/testify/assert"
2222
"github.com/xanzy/go-gitlab"
@@ -72,12 +72,12 @@ func TestNewAppContext(t *testing.T) {
7272
ImageBuildingConfig: &config.ImageBuildingConfig{
7373
DestinationRegistry: "ghcr.io",
7474
BaseImageRef: map[string]string{
75-
"3.7.*": "ghcr.io/gojek/turing/pyfunc-ensembler-job:0.0.0-build.1-98b071d",
75+
"3.7.*": "ghcr.io/caraml-dev/turing/pyfunc-ensembler-job:0.0.0-build.1-98b071d",
7676
},
7777
BuildNamespace: "default",
7878
BuildTimeoutDuration: 10 * time.Minute,
7979
KanikoConfig: config.KanikoConfig{
80-
BuildContextURI: "git://github.com/gojek/turing.git#refs/heads/master",
80+
BuildContextURI: "git://github.com/caraml-dev/turing.git#refs/heads/master",
8181
DockerfileFilePath: "engines/pyfunc-ensembler-job/app.Dockerfile",
8282
Image: "gcr.io/kaniko-project/executor",
8383
ImageVersion: "v1.5.2",
@@ -99,12 +99,12 @@ func TestNewAppContext(t *testing.T) {
9999
ImageBuildingConfig: &config.ImageBuildingConfig{
100100
DestinationRegistry: "ghcr.io",
101101
BaseImageRef: map[string]string{
102-
"3.7.*": "ghcr.io/gojek/turing/pyfunc-ensembler-service:0.0.0-build.1-98b071d",
102+
"3.7.*": "ghcr.io/caraml-dev/turing/pyfunc-ensembler-service:0.0.0-build.1-98b071d",
103103
},
104104
BuildNamespace: "default",
105105
BuildTimeoutDuration: 10 * time.Minute,
106106
KanikoConfig: config.KanikoConfig{
107-
BuildContextURI: "git://github.com/gojek/turing.git#refs/heads/master",
107+
BuildContextURI: "git://github.com/caraml-dev/turing.git#refs/heads/master",
108108
DockerfileFilePath: "engines/pyfunc-ensembler-service/app.Dockerfile",
109109
Image: "gcr.io/kaniko-project/executor",
110110
ImageVersion: "v1.5.2",

Diff for: api/turing/api/base_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package api
22

33
import (
4+
"github.com/caraml-dev/turing/api/turing/models"
45
val "github.com/go-playground/validator/v10"
56
mlp "github.com/gojek/mlp/api/client"
6-
"github.com/gojek/turing/api/turing/models"
77
"github.com/gorilla/schema"
88
)
99

Diff for: api/turing/api/base_controller_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"errors"
55
"testing"
66

7+
"github.com/caraml-dev/turing/api/turing/models"
8+
"github.com/caraml-dev/turing/api/turing/service/mocks"
79
mlp "github.com/gojek/mlp/api/client"
8-
"github.com/gojek/turing/api/turing/models"
9-
"github.com/gojek/turing/api/turing/service/mocks"
1010
testifyAssert "github.com/stretchr/testify/assert"
1111
)
1212

Diff for: api/turing/api/deployment_controller.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import (
66
"fmt"
77
"strings"
88

9+
"github.com/caraml-dev/turing/api/turing/models"
10+
"github.com/caraml-dev/turing/api/turing/service"
11+
"github.com/caraml-dev/turing/engines/experiment/manager"
912
merlin "github.com/gojek/merlin/client"
1013
mlp "github.com/gojek/mlp/api/client"
11-
"github.com/gojek/turing/api/turing/models"
12-
"github.com/gojek/turing/api/turing/service"
13-
"github.com/gojek/turing/engines/experiment/manager"
1414
)
1515

1616
// RouterDeploymentController handles the deployment of routers

Diff for: api/turing/api/deployment_controller_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"fmt"
88
"testing"
99

10+
"github.com/caraml-dev/turing/api/turing/models"
11+
"github.com/caraml-dev/turing/api/turing/service"
12+
"github.com/caraml-dev/turing/api/turing/service/mocks"
13+
"github.com/caraml-dev/turing/engines/experiment/manager"
1014
merlin "github.com/gojek/merlin/client"
1115
mlp "github.com/gojek/mlp/api/client"
12-
"github.com/gojek/turing/api/turing/models"
13-
"github.com/gojek/turing/api/turing/service"
14-
"github.com/gojek/turing/api/turing/service/mocks"
15-
"github.com/gojek/turing/engines/experiment/manager"
1616
"github.com/stretchr/testify/assert"
1717
"github.com/stretchr/testify/mock"
1818
"github.com/stretchr/testify/require"

Diff for: api/turing/api/ensemblers_api.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"fmt"
55
"net/http"
66

7+
"github.com/caraml-dev/turing/api/turing/api/request"
8+
"github.com/caraml-dev/turing/api/turing/models"
9+
"github.com/caraml-dev/turing/api/turing/service"
710
mlp "github.com/gojek/mlp/api/client"
8-
"github.com/gojek/turing/api/turing/api/request"
9-
"github.com/gojek/turing/api/turing/models"
10-
"github.com/gojek/turing/api/turing/service"
1111
)
1212

1313
type EnsemblersController struct {

Diff for: api/turing/api/ensemblers_api_it_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ import (
1010
"net/http/httptest"
1111
"testing"
1212

13+
"github.com/caraml-dev/turing/api/turing/api"
14+
"github.com/caraml-dev/turing/api/turing/config"
15+
"github.com/caraml-dev/turing/api/turing/models"
16+
"github.com/caraml-dev/turing/api/turing/server"
17+
"github.com/caraml-dev/turing/api/turing/service/mocks"
1318
mlp "github.com/gojek/mlp/api/client"
14-
"github.com/gojek/turing/api/turing/api"
15-
"github.com/gojek/turing/api/turing/config"
16-
"github.com/gojek/turing/api/turing/models"
17-
"github.com/gojek/turing/api/turing/server"
18-
"github.com/gojek/turing/api/turing/service/mocks"
1919
"github.com/gorilla/mux"
2020

21-
"github.com/gojek/turing/api/turing/service"
21+
"github.com/caraml-dev/turing/api/turing/service"
2222
"github.com/stretchr/testify/assert"
2323
)
2424

Diff for: api/turing/api/ensemblers_api_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import (
44
"errors"
55
"testing"
66

7-
"github.com/gojek/turing/api/turing/api/request"
8-
"github.com/gojek/turing/api/turing/internal/ref"
9-
"github.com/gojek/turing/api/turing/models"
10-
"github.com/gojek/turing/api/turing/service"
11-
"github.com/gojek/turing/api/turing/service/mocks"
12-
"github.com/gojek/turing/api/turing/validation"
7+
"github.com/caraml-dev/turing/api/turing/api/request"
8+
"github.com/caraml-dev/turing/api/turing/internal/ref"
9+
"github.com/caraml-dev/turing/api/turing/models"
10+
"github.com/caraml-dev/turing/api/turing/service"
11+
"github.com/caraml-dev/turing/api/turing/service/mocks"
12+
"github.com/caraml-dev/turing/api/turing/validation"
1313
"github.com/stretchr/testify/assert"
1414
)
1515

0 commit comments

Comments
 (0)