Skip to content

Commit

Permalink
Do not add --all_incompatible_changes to presubmit (#662)
Browse files Browse the repository at this point in the history
The incompatible changes is a little bit more involved than this, we
allow creating new incompatible flags which we don't expect users to
migrate for right away. The principled place to look for incompatibel
changes is to go to https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Aincompatible-change+label%3Amigration-ready,
ideally also filtered with the bazel version (e.g. for flags that should
be migrated in bazel 0.22.0, add the label 'migration-0.22'.

On the buildkite, this is the pipeline that tells rule owners which
incompatible flags they have to migrate for in the current bazel
release: https://buildkite.com/bazel/bazel-at-release-plus-incompatible-flags
  • Loading branch information
Marcel Hlopko authored and meteorcloudy committed Jan 14, 2019
1 parent d8e842c commit 3732c9d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ platforms:
# tests/contrib/test_compare_ids_test_* expect 'bazel' on path
test_flags:
- "--action_env=PATH"
- "--all_incompatible_changes"
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
- "--incompatible_disallow_legacy_javainfo=false"
ubuntu1604:
Expand All @@ -39,22 +38,19 @@ platforms:
# tests/contrib/test_compare_ids_test_* expect 'bazel' on path
test_flags:
- "--action_env=PATH"
- "--all_incompatible_changes"
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
- "--incompatible_disallow_legacy_javainfo=false"
macos:
build_targets:
- "//tests/docker:test_digest_output1"
build_flags:
- "--action_env=PATH"
- "--all_incompatible_changes"
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
- "--incompatible_disallow_legacy_javainfo=false"
test_targets:
- "//tests/docker:test_digest_output1"
test_flags:
- "--action_env=PATH"
- "--all_incompatible_changes"
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
- "--incompatible_disallow_legacy_javainfo=false"
rbe_ubuntu1604:
Expand All @@ -65,7 +61,6 @@ platforms:
- "--extra_execution_platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
- "--host_platform=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
- "--platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
- "--all_incompatible_changes"
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
- "--incompatible_disallow_legacy_javainfo=false"
test_targets:
Expand All @@ -81,6 +76,5 @@ platforms:
- "--extra_execution_platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
- "--host_platform=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
- "--platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
- "--all_incompatible_changes"
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
- "--incompatible_disallow_legacy_javainfo=false"

0 comments on commit 3732c9d

Please sign in to comment.