Skip to content

Commit

Permalink
fix example_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcj committed Mar 1, 2024
1 parent fd5f8df commit 4e60f97
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions example/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ example_test(
srcs = [
"docker/.bazelrc",
"docker/.bazelversion",
"docker/.docker/config.json",
"docker/.dockerconfig.json",
"docker/BUILD.in",
"docker/WORKSPACE.in",
Expand Down
2 changes: 1 addition & 1 deletion example/docker/WORKSPACE.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ step2.setup_rules_pycross()

load("@//:step3.bzl", "step3")

step3.setup_container_base_image()
step3.setup_pycross_image_base_container()

step3.setup_pypi_deps()

Expand Down
4 changes: 2 additions & 2 deletions example/docker/step3.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ load(
)
load("@pycross_image//bazel/workspace:step2.bzl", "python3_debian12_image")

def _setup_container_base_image(**kwargs):
def _setup_pycross_image_base_container(**kwargs):
digest = kwargs.pop("digest", python3_debian12_image.digest)
registry = kwargs.pop("image", python3_debian12_image.registry)
repository = kwargs.pop("repository", python3_debian12_image.repository)
Expand Down Expand Up @@ -43,6 +43,6 @@ def _setup_pypi_deps():
)

step3 = struct(
setup_container_base_image = _setup_container_base_image,
setup_pycross_image_base_container = _setup_pycross_image_base_container,
setup_pypi_deps = _setup_pypi_deps,
)
2 changes: 1 addition & 1 deletion example/oci/WORKSPACE.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ load("@pycross_image//bazel/workspace:step2.bzl", "step2")

step2.setup_rules_pycross()

step2.setup_oci_containers()
step2.setup_pycross_image_base_oci()

# -----------------------------------------

Expand Down

0 comments on commit 4e60f97

Please sign in to comment.