Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Remove references to python binaries using python containerregistry #1189

Merged
merged 3 commits into from
Oct 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ platforms:
- "//tests/container:alpine_custom_attr_digest_test"
- "//tests/container:alpine_linux_armv6_tar_test_image_tar"
- "//tests/container:basic_windows_image_test"
- "//tests/container:basic_windows_image_test_go_join_layers"
- "//tests/container:build_tar_test"
- "//tests/container:distroless_fixed_id_digest_test"
- "//tests/container:distroless_fixed_id_image_digest_test"
Expand All @@ -93,7 +92,6 @@ platforms:
- "//tests/container:test_digest_output1"
- "//tests/container:test_digest_output2"
- "//tests/container:test_push_digest_output"
- "//tests/contrib:rename_image_go_test"
- "//tests/contrib:rename_image_test"
- "//tests/contrib:test_compare_ids_test"
- "//tests/contrib:test_compare_ids_test_diff_ids_fails_no_regex"
Expand Down
48 changes: 1 addition & 47 deletions container/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,51 +26,6 @@ filegroup(
visibility = ["//visibility:public"],
)

py_binary(
name = "extract_config",
srcs = ["extract_config.py"],
legacy_create_init = False,
python_version = "PY2",
visibility = ["//visibility:public"],
deps = [
"@containerregistry",
],
)

py_library(
name = "utils",
srcs = [
"__init__.py",
"utils.py",
],
)

py_binary(
name = "join_layers",
srcs = ["join_layers.py"],
legacy_create_init = False,
python_version = "PY2",
visibility = ["//visibility:public"],
deps = [
":utils",
"@containerregistry",
"@six",
],
)

py_binary(
name = "create_image_config",
srcs = ["create_image_config.py"],
legacy_create_init = False,
python_version = "PY2",
visibility = ["//visibility:public"],
deps = [
":utils",
"@containerregistry",
"@six",
],
)

# TODO(xingao): Flip legacy_create_init to False if possible.
py_binary(
name = "build_tar",
Expand Down Expand Up @@ -156,7 +111,6 @@ TEST_TARGETS = [
":py_image_complex",
":war_image",
":flat",
":flat_go",
":flatten_with_tarball_base",
]

Expand All @@ -166,7 +120,7 @@ TEST_DATA = [
] + [
"//testdata:stamped_bundle_test",
"//testdata:stamp_info_file.txt",
"//tests/container:basic_windows_image_go_join_layers.tar",
"//tests/container:basic_windows_image.tar",
]

py_test(
Expand Down
Empty file removed container/__init__.py
Empty file.
215 changes: 0 additions & 215 deletions container/create_image_config.py

This file was deleted.

47 changes: 0 additions & 47 deletions container/extract_config.py

This file was deleted.

Loading