Skip to content

Commit

Permalink
Graduate Docker backend from experimental status.
Browse files Browse the repository at this point in the history
[ci skip-rust]
  • Loading branch information
kaos committed Jan 29, 2022
1 parent df33e6f commit 2a7d15d
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build-support/bin/_generate_all_lockfiles_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def jvm(cls, tool: type[JvmToolBase], *, backend: str | None = None) -> DefaultT
DefaultTool.python(PyTest),
DefaultTool.python(CoverageSubsystem),
DefaultTool.python(TerraformHcl2Parser, backend="pants.backend.experimental.terraform"),
DefaultTool.python(DockerfileParser, backend="pants.backend.experimental.docker"),
DefaultTool.python(DockerfileParser, backend="pants.backend.docker"),
DefaultTool.python(TwineSubsystem),
# JVM
DefaultTool.jvm(JUnit),
Expand Down
2 changes: 1 addition & 1 deletion build-support/bin/generate_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ def run_pants_help_all() -> dict[str, Any]:
backends = [
"pants.backend.awslambda.python",
"pants.backend.codegen.protobuf.python",
"pants.backend.docker",
"pants.backend.experimental.codegen.thrift.apache.python",
"pants.backend.experimental.docker",
"pants.backend.experimental.docker.lint.hadolint",
"pants.backend.experimental.go",
"pants.backend.experimental.java",
Expand Down
2 changes: 1 addition & 1 deletion pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ backend_packages.add = [
"pants.backend.shell",
"pants.backend.shell.lint.shellcheck",
"pants.backend.shell.lint.shfmt",
"pants.backend.experimental.docker",
"pants.backend.docker",
"pants.backend.experimental.docker.lint.hadolint",
"pants.backend.experimental.go",
"pants.backend.experimental.java",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def run_pants_with_sources(sources: dict[str, str], *args: str) -> PantsResult:
with setup_tmpdir(sources) as tmpdir:
return run_pants(
[
"--backend-packages=pants.backend.experimental.docker",
"--backend-packages=pants.backend.docker",
"--pants-ignore=__pycache__",
]
+ [arg.format(tmpdir=tmpdir) for arg in args]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md).
# Copyright 2022 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).

from pants.backend.codegen import export_codegen_goal
Expand Down
4 changes: 0 additions & 4 deletions src/python/pants/backend/experimental/docker/BUILD

This file was deleted.

2 changes: 1 addition & 1 deletion src/python/pants/init/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ target(
dependencies=[
"src/python/pants/backend/awslambda/python",
"src/python/pants/backend/codegen/protobuf/python",
"src/python/pants/backend/docker",
"src/python/pants/backend/experimental/codegen/avro/java",
"src/python/pants/backend/experimental/codegen/protobuf/java",
"src/python/pants/backend/experimental/codegen/protobuf/scala",
Expand All @@ -17,7 +18,6 @@ target(
"src/python/pants/backend/experimental/codegen/thrift/scrooge/java",
"src/python/pants/backend/experimental/codegen/thrift/scrooge/scala",
"src/python/pants/backend/experimental/debian",
"src/python/pants/backend/experimental/docker",
"src/python/pants/backend/experimental/docker/lint/hadolint",
"src/python/pants/backend/experimental/go",
"src/python/pants/backend/experimental/go/lint/vet",
Expand Down

0 comments on commit 2a7d15d

Please sign in to comment.