Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

rules_k8s broken with Bazel@HEAD CI #668

Open
c-parsons opened this issue Oct 12, 2021 · 1 comment
Open

rules_k8s broken with Bazel@HEAD CI #668

c-parsons opened this issue Oct 12, 2021 · 1 comment

Comments

@c-parsons
Copy link

Breakage:
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2211#845f819e-3ae0-457b-8389-4e381d5e7168



(16:09:28) ERROR: /var/lib/buildkite-agent/builds/bk-docker-53p6/bazel-downstream-projects/rules_k8s/examples/hellogrpc/BUILD:61:16: in jsonnet_to_json rule //examples/hellogrpc:deployment:
--
  | Traceback (most recent call last):
  | File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/40d71967fca1731c50aad85c7f24c1eb/external/io_bazel_rules_jsonnet/jsonnet/jsonnet.bzl", line 239, column 34, in _jsonnet_to_json_impl
  | transitive_files = depset(transitive_data),
  | Error in depset: parameter 'direct' must contain a list of elements, and may no longer accept a depset. The deprecated behavior may be temporarily re-enabled by setting --incompatible_disable_depset_items=false
  | (16:09:28) ERROR: /var/lib/buildkite-agent/builds/bk-docker-53p6/bazel-downstream-projects/rules_k8s/examples/hellogrpc/BUILD:61:16: Analysis of target '//examples/hellogrpc:deployment' failed


Bazel instituted a change to semantics of depset(). This should be fixed in-place or you can temporarily use --incompatible_disable_depset_items=false to disable this restriction.

@meteorcloudy
Copy link
Member

I'm disabling rules_k8s in downstream due to this issue

meteorcloudy added a commit to bazelbuild/continuous-integration that referenced this issue Dec 6, 2021
Those projects are broken due to incompatible changes in Bazel and
didn't get fixed for a long time.

* Android Testing: android/testing-samples#417
* Tulsi: bazelbuild/tulsi#286
* rules_dotnet: bazel-contrib/rules_dotnet#268
* rules_haskell: tweag/rules_haskell#1650
* rules_k8s: bazelbuild/rules_k8s#668
* rules_d: removed because the project isn't maintained.
meteorcloudy added a commit to bazelbuild/continuous-integration that referenced this issue Dec 6, 2021
Those projects are broken due to incompatible changes in Bazel and
didn't get fixed for a long time.

* Android Testing: android/testing-samples#417
* Tulsi: bazelbuild/tulsi#286
* rules_dotnet: bazel-contrib/rules_dotnet#268
* rules_haskell: tweag/rules_haskell#1650
* rules_k8s: bazelbuild/rules_k8s#668
* rules_d: removed because the project isn't maintained.
meteorcloudy added a commit to bazelbuild/continuous-integration that referenced this issue Dec 7, 2021
Those projects are broken due to incompatible changes in Bazel and
didn't get fixed for a long time.

* Android Testing: android/testing-samples#417
* Tulsi: bazelbuild/tulsi#286
* rules_dotnet: bazel-contrib/rules_dotnet#268
* rules_haskell: tweag/rules_haskell#1650
* rules_k8s: bazelbuild/rules_k8s#668
* rules_d: removed because the project isn't maintained.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants