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

Releases: bazel-contrib/rules_debian_packages

v0.2.0

12 Nov 01:04
874b559
Compare
Choose a tag to compare

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_debian_packages", version = "0.2.0")

Using WORKSPACE

Paste this snippet into your file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_debian_packages",
    sha256 = "0ae3b332f9d894e57693ce900769d2bd1b693e1f5ea1d9cdd82fa4479c93bcc8",
    strip_prefix = "rules_debian_packages-0.2.0",
    url = "https://github.com/betaboon/rules_debian_packages/releases/download/v0.2.0/rules_debian_packages-v0.2.0.tar.gz",
)

######################
# rules_debian_packages setup #
######################
# Fetches the rules_debian_packages dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains")

py_repositories()

python_register_toolchains(
    name = "python",
    python_version = "3.10",
)

load("@python//:defs.bzl", python_interpreter = "interpreter")
load("@rules_debian_packages//debian_packages:repositories.bzl", "rules_debian_packages_dependencies")

rules_debian_packages_dependencies(python_interpreter_target = python_interpreter)

What's Changed

  • fix: tests by @betaboon in #17
  • chore(deps): update bazel-contrib/.github action to v5 by @renovate in #12
  • chore(deps): update actions/checkout action to v4 by @renovate in #11
  • chore(deps): update dependency io_bazel_stardoc to v0.6.2 by @renovate in #18
  • chore(deps): update dependency bazel_skylib to v1.5.0 by @renovate in #7

New Contributors

Full Changelog: https://github.com/betaboon/rules_debian_packages/commits/v0.2.0

0.1.1

05 Nov 11:13
7e8f6aa
Compare
Choose a tag to compare

WORKSPACE setup:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_debian_packages",
    sha256 = "a93121dd5ea671a875a2bcd9667dd3f0ce66c8655e9478bb80168e26b7f031a5",
    strip_prefix = "rules_debian_packages-0.1.1",
    url = "https://github.com/betaboon/rules_debian_packages/archive/refs/tags/0.1.1.tar.gz",
)

What's Changed

  • fix: package-resolution now properly uses updates- and security-package-index by @betaboon in #2
  • docs: add example demonstrating the definition of a python-base-image by @betaboon in #3

Full Changelog: 0.1.0...0.1.1

0.1.0

19 Jun 12:27
674be99
Compare
Choose a tag to compare

WORKSPACE setup:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_debian_packages",
    sha256 = "dc33d5acb7b1351a8885db2f9a2aa43b0625274943c37804284be9ccfe240ac5",
    strip_prefix = "rules_debian_packages-0.1.0",
    url = "https://github.com/betaboon/rules_debian_packages/archive/refs/tags/0.1.0.tar.gz",
)

What's Changed

New Contributors

Full Changelog: https://github.com/betaboon/rules_debian_packages/commits/0.1.0