Skip to content

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)

License

Notifications You must be signed in to change notification settings

marqHQ/rules_pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bazel package building & fetching rules

Bazel rules for packaging and fetching (for Debian and other distribution channels).

There is currently no distinct discussion group for these rules. Use [email protected].

Travis CI
Build Status

Basic Rules

WORKSPACE Rules

  • deb_packages - fetch deb files from Debain style mirror servers

Helper tools

Background

These rules originated in the distroless project as well as discussions about the goal of that project and are intended as a way to retrieve bundled software packages from various places.

The initial scope is currently targeting Debian style distributions, because the Bazel docker rules allow optional deb and tar files to be included in their container images. That work was done in December 2017.

We are currently (June 2019) in the process of migrating the Bazel packaging rules from Bazel to this repo. Tracking issue: bazelbuild/bazel#8489.

Plan

  • slight refactor and fixup of existing package fetching rules.
  • copy rules from https://github.com/bazelbuild/bazel/tools/build_defs/pkg.
  • refactor this repo so that package fetching rules have distinct WORKSPACE requirements.
  • get them working and integrated with CI.
  • migrate rules shipped with Bazel to this rule set.
  • migrate Bazel distribution packaging to use this rule set.
  • innovate wildly.

The last 3 steps may overlap in time.

About

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Starlark 59.4%
  • Python 39.8%
  • Other 0.8%