Skip to content

v0.31.8

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Jun 13:51
· 20 commits to main since this release

Using bzlmod with Bazel 6 or later:

  1. Add common --enable_bzlmod to .bazelrc.

  2. Add to your MODULE.bazel file:

bazel_dep(name = "rules_gitops", version = "0.31.8")
git_override(
    module_name = "rules_gitops",
    remote = "https://github.com/fasterci/rules_gitops",
    commit = "baaa7f2589718de0c8ddbbc2ebb024d646924c3f",
)

kustomize = use_extension("@rules_gitops//gitops:extensions.bzl", "kustomize")
kustomize.kustomize_toolchain()
use_repo(kustomize, "kustomize_bin")

Using WORKSPACE:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_gitops",
    sha256 = "92ff12b89aaf4fb3f47c2c6354100e87161a159238560ed153a6273ace3bd991",
    strip_prefix = "rules_gitops-0.31.8",
    urls = ["https://github.com/fasterci/rules_gitops/releases/download/v0.31.8/rules_gitops-v0.31.8.tar.gz"],
)

load("@rules_gitops//gitops:deps.bzl", "rules_gitops_dependencies")

rules_gitops_dependencies()

load("@rules_gitops//gitops:repositories.bzl", "rules_gitops_repositories")

rules_gitops_repositories()

load("@rules_gitops//skylib:k8s.bzl", "kubeconfig")

kubeconfig(
    name = "k8s_dev_test",
    cluster = "it_kubernetes_cluster_name",
    use_host_config = True,
)

Full Changelog: v0.31.7...v0.31.8