Skip to content

Commit cd95c90

Browse files
committed
update rules to remove python2 requirements
1 parent a5a14ec commit cd95c90

File tree

6 files changed

+21
-9
lines changed

6 files changed

+21
-9
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Settings that apply only to CI are in .github/workflows/ci.bazelrc
44
build --nolegacy_external_runfiles
55

6+
# https://github.com/bazelbuild/rules_docker/pull/2068
7+
build --@io_bazel_rules_docker//transitions:enable=false
8+
69
# Load any settings specific to the current user.
710
# .bazelrc.user should appear in .gitignore so that settings are not shared with team members
811
# This needs to be last statement in this

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
4.2.1
1+
5.1.1
22
# The first line of this file is used by Bazelisk and Bazel to be sure
33
# the right version of Bazel is used to build and test this repo.
44
# This also defines which version is used on CI.

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# https://github.com/bazelbuild/rules_docker/issues/1524
2424
# https://github.com/bazelbuild/rules_docker/issues/1438
2525
# - windows-latest
26-
bazel: [ 4.2.1, 5.0.0-pre.20211011.2 ]
26+
bazel: [ 5.1.1 ]
2727
# The type of runner that the job will run on
2828
runs-on: ${{ matrix.os }}
2929

docs/rules.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Defines an imported helm chart.
5757
<pre>
5858
helm_install(<a href="#helm_install-name">name</a>, <a href="#helm_install-atomic">atomic</a>, <a href="#helm_install-chart">chart</a>, <a href="#helm_install-cleanup_on_fail">cleanup_on_fail</a>, <a href="#helm_install-create_namespace">create_namespace</a>, <a href="#helm_install-description">description</a>,
5959
<a href="#helm_install-disable_openapi_validation">disable_openapi_validation</a>, <a href="#helm_install-dry_run">dry_run</a>, <a href="#helm_install-force">force</a>, <a href="#helm_install-images">images</a>, <a href="#helm_install-namespace">namespace</a>, <a href="#helm_install-no_hooks">no_hooks</a>, <a href="#helm_install-release_name">release_name</a>,
60-
<a href="#helm_install-template_output">template_output</a>)
60+
<a href="#helm_install-skip_crds">skip_crds</a>, <a href="#helm_install-template_output">template_output</a>)
6161
</pre>
6262

6363
Defines a helm install execution.
@@ -80,6 +80,7 @@ Defines a helm install execution.
8080
| <a id="helm_install-namespace"></a>namespace | Namespace scope for this reques. | String | optional | "" |
8181
| <a id="helm_install-no_hooks"></a>no_hooks | Prevent hooks from running during install\upgrade | Boolean | optional | False |
8282
| <a id="helm_install-release_name"></a>release_name | Release name used by helm. | String | required | |
83+
| <a id="helm_install-skip_crds"></a>skip_crds | No CRDs will be installed | Boolean | optional | False |
8384
| <a id="helm_install-template_output"></a>template_output | Filename to dump the rendered chart | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | |
8485

8586

helm/repositories.bzl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ def rules_helm_dependencies():
2828
maybe(
2929
http_archive,
3030
name = "io_bazel_rules_docker",
31-
sha256 = "92779d3445e7bdc79b961030b996cb0c91820ade7ffa7edca69273f404b085d5",
32-
strip_prefix = "rules_docker-0.20.0",
33-
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.20.0/rules_docker-v0.20.0.tar.gz"],
31+
sha256 = "b1e80761a8a8243d03ebca8845e9cc1ba6c82ce7c5179ce2b295cd36f7e394bf",
32+
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.25.0/rules_docker-v0.25.0.tar.gz"],
3433
)
3534
maybe(
3635
http_archive,

internal_deps.bzl

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,23 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
99

1010
def rules_helm_internal_deps():
1111
"Fetch deps needed for local development"
12+
maybe(
13+
http_archive,
14+
name = "rules_license",
15+
urls = [
16+
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.1/rules_license-0.0.1.tar.gz",
17+
],
18+
sha256 = "4865059254da674e3d18ab242e21c17f7e3e8c6b1f1421fffa4c5070f82e98b5",
19+
)
20+
1221
maybe(
1322
http_archive,
1423
name = "rules_pkg",
1524
urls = [
16-
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz",
17-
"https://github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz",
25+
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.1/rules_pkg-0.7.1.tar.gz",
26+
"https://github.com/bazelbuild/rules_pkg/releases/download/0.7.1/rules_pkg-0.7.1.tar.gz",
1827
],
19-
sha256 = "4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a",
28+
sha256 = "451e08a4d78988c06fa3f9306ec813b836b1d076d0f055595444ba4ff22b867f",
2029
)
2130

2231
maybe(

0 commit comments

Comments
 (0)