Skip to content

Commit

Permalink
buildifier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kzadorozhny committed Apr 9, 2024
1 parent 1dea119 commit 247f857
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/helloworld/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
# OF ANY KIND, either express or implied. See the License for the specific language
# governing permissions and limitations under the License.

load("@com_adobe_rules_gitops//gitops:defs.bzl", "k8s_deploy")
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
load("@com_adobe_rules_gitops//gitops:defs.bzl", "k8s_deploy")

licenses(["notice"]) # Apache 2.0

Expand Down
2 changes: 1 addition & 1 deletion gitops/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
GitOps rules public interface
"""

load("@com_adobe_rules_gitops//skylib:k8s.bzl", _k8s_deploy = "k8s_deploy", _k8s_test_setup = "k8s_test_setup")
load("@com_adobe_rules_gitops//skylib:external_image.bzl", _external_iamge = "external_image")
load("@com_adobe_rules_gitops//skylib:k8s.bzl", _k8s_deploy = "k8s_deploy", _k8s_test_setup = "k8s_test_setup")

k8s_deploy = _k8s_deploy
k8s_test_setup = _k8s_test_setup
Expand Down
6 changes: 3 additions & 3 deletions gitops/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
GtiOps rules repositories initialization
"""

load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
load("@io_bazel_rules_docker//repositories:repositories.bzl", container_repositories = "repositories")
load("@io_bazel_rules_docker//repositories:go_repositories.bzl", container_go_deps = "go_deps")
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
load("@com_adobe_rules_gitops//skylib/kustomize:kustomize.bzl", "kustomize_setup")
load("@io_bazel_rules_docker//repositories:go_repositories.bzl", container_go_deps = "go_deps")
load("@io_bazel_rules_docker//repositories:repositories.bzl", container_repositories = "repositories")

def rules_gitops_repositories():
"""Initializes Declares workspaces the GitOps rules depend on.
Expand Down
8 changes: 4 additions & 4 deletions skylib/k8s.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
# OF ANY KIND, either express or implied. See the License for the specific language
# governing permissions and limitations under the License.

load(
"@io_bazel_rules_docker//skylib:path.bzl",
_get_runfile_path = "runfile",
)
load(
"@com_adobe_rules_gitops//skylib/kustomize:kustomize.bzl",
"KustomizeInfo",
Expand All @@ -20,6 +16,10 @@ load(
"kustomize",
kustomize_gitops = "gitops",
)
load(
"@io_bazel_rules_docker//skylib:path.bzl",
_get_runfile_path = "runfile",
)
load("//skylib:push.bzl", "k8s_container_push")

def _runfiles(ctx, f):
Expand Down
2 changes: 1 addition & 1 deletion skylib/kustomize/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ load(
"@io_bazel_rules_docker//container:container.bzl",
"container_image",
)
load("//skylib/kustomize:kustomize.bzl", "gitops", "kubectl", "kustomize", "push_all")
load("//skylib:push.bzl", "k8s_container_push")
load("//skylib:test_rules.bzl", "file_compare_test")
load("//skylib/kustomize:kustomize.bzl", "gitops", "kubectl", "kustomize", "push_all")

# to generate new test data if needed:
# bazel run //skylib/kustomize:set_namespace newnamespace-1 <test.yaml >test_expected.yaml
Expand Down
2 changes: 1 addition & 1 deletion skylib/push.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Bazel rule for publishing images.
"""

load("@bazel_skylib//lib:dicts.bzl", "dicts")
load("@io_bazel_rules_docker//container:providers.bzl", "PushInfo")
load(
"@io_bazel_rules_docker//container:layer_tools.bzl",
_gen_img_args = "generate_args_for_image",
_get_layers = "get_from_target",
_layer_tools = "tools",
)
load("@io_bazel_rules_docker//container:providers.bzl", "PushInfo")
load(
"@io_bazel_rules_docker//skylib:path.bzl",
"runfile",
Expand Down

0 comments on commit 247f857

Please sign in to comment.