Skip to content

Commit 3732c9d

Browse files
Marcel Hlopkometeorcloudy
Marcel Hlopko
authored andcommitted
Do not add --all_incompatible_changes to presubmit (#662)
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
1 parent d8e842c commit 3732c9d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.bazelci/presubmit.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ platforms:
1818
# tests/contrib/test_compare_ids_test_* expect 'bazel' on path
1919
test_flags:
2020
- "--action_env=PATH"
21-
- "--all_incompatible_changes"
2221
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
2322
- "--incompatible_disallow_legacy_javainfo=false"
2423
ubuntu1604:
@@ -39,22 +38,19 @@ platforms:
3938
# tests/contrib/test_compare_ids_test_* expect 'bazel' on path
4039
test_flags:
4140
- "--action_env=PATH"
42-
- "--all_incompatible_changes"
4341
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
4442
- "--incompatible_disallow_legacy_javainfo=false"
4543
macos:
4644
build_targets:
4745
- "//tests/docker:test_digest_output1"
4846
build_flags:
4947
- "--action_env=PATH"
50-
- "--all_incompatible_changes"
5148
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
5249
- "--incompatible_disallow_legacy_javainfo=false"
5350
test_targets:
5451
- "//tests/docker:test_digest_output1"
5552
test_flags:
5653
- "--action_env=PATH"
57-
- "--all_incompatible_changes"
5854
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
5955
- "--incompatible_disallow_legacy_javainfo=false"
6056
rbe_ubuntu1604:
@@ -65,7 +61,6 @@ platforms:
6561
- "--extra_execution_platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
6662
- "--host_platform=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
6763
- "--platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
68-
- "--all_incompatible_changes"
6964
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
7065
- "--incompatible_disallow_legacy_javainfo=false"
7166
test_targets:
@@ -81,6 +76,5 @@ platforms:
8176
- "--extra_execution_platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
8277
- "--host_platform=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
8378
- "--platforms=@bazel_toolchains//configs/ubuntu16_04_clang/1.1:nosla_xenial_docker"
84-
- "--all_incompatible_changes"
8579
# TODO(xingao): Remove after https://github.com/bazelbuild/rules_scala/issues/644 is addressed.
8680
- "--incompatible_disallow_legacy_javainfo=false"

0 commit comments

Comments
 (0)