Skip to content

Commit 7c0d44a

Browse files
committed
move client to the root of the repo
1 parent 7cb6fce commit 7c0d44a

File tree

15 files changed

+257
-242
lines changed

15 files changed

+257
-242
lines changed

testing/it_sidecar/client/BUILD renamed to client/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ go_library(
88
data = [
99
":noop.setup",
1010
],
11-
importpath = "github.com/fasterci/rules_gitops/testing/it_sidecar/client",
11+
importpath = "github.com/fasterci/rules_gitops/client",
1212
visibility = ["//visibility:public"],
1313
)

client/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/fasterci/rules_gitops/client
2+
3+
go 1.20
File renamed without changes.
File renamed without changes.

testing/it_sidecar/client/test_callback/BUILD renamed to client/test_callback/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ go_test(
55
srcs = ["sidecar_client_test.go"],
66
args = [
77
"-setup",
8-
"$(location //testing/it_sidecar/client:noop.setup)",
8+
"$(location //client:noop.setup)",
99
],
1010
data = [
11-
"//testing/it_sidecar/client:noop.setup",
11+
"//client:noop.setup",
1212
],
1313
rundir = ".",
14-
deps = ["//testing/it_sidecar/client:go_default_library"],
14+
deps = ["//client:go_default_library"],
1515
)

testing/it_sidecar/client/test_callback/sidecar_client_test.go renamed to client/test_callback/sidecar_client_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ governing permissions and limitations under the License.
1212
package test_callback
1313

1414
import (
15-
"github.com/fasterci/rules_gitops/testing/it_sidecar/client"
1615
"testing"
16+
17+
client "github.com/fasterci/rules_gitops/client"
1718
)
1819

1920
var (

testing/it_sidecar/client/test_no_callback/BUILD renamed to client/test_no_callback/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
33
go_library(
44
name = "go_default_library",
55
srcs = ["sidecar_client_test_no_callback.go"],
6-
importpath = "github.com/fasterci/rules_gitops/testing/it_sidecar/client/test_no_callback",
6+
importpath = "github.com/fasterci/rules_gitops/client/test_no_callback",
77
visibility = ["//visibility:public"],
8-
deps = ["//testing/it_sidecar/client:go_default_library"],
8+
deps = ["//client:go_default_library"],
99
)
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ governing permissions and limitations under the License.
1212
package test_no_callback
1313

1414
import (
15-
"github.com/fasterci/rules_gitops/testing/it_sidecar/client"
1615
"testing"
16+
17+
client "github.com/fasterci/rules_gitops/client"
1718
)
1819

1920
var (
20-
setup client.K8STestSetup
21+
setup client.K8STestSetup
2122
)
2223

2324
// The setup should run without error since ReadyCallback is optional

0 commit comments

Comments
 (0)