Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for bzlmod #73

Merged
merged 11 commits into from
Jul 10, 2024
Merged

Prepare for bzlmod #73

merged 11 commits into from
Jul 10, 2024

Commits on Jun 14, 2024

  1. Enable building with multiple bazel versions

    Adding CI that can build into multiple bazel versions, right now focusing
    on the latest of each of the LTS version
    manuelnaranjo committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    ee3f24a View commit details
    Browse the repository at this point in the history
  2. bazel: bump version

    Making 6.5.0 the default bazel version
    manuelnaranjo committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    9efa413 View commit details
    Browse the repository at this point in the history
  3. bazel: moving to rules_pkg

    Our tests where using the old and deprecated bundled pkg_tar rule, now
    we need to grab it from rules_pkg instead.
    
    Adding the results of running buildifier over the files.
    manuelnaranjo committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    683141c View commit details
    Browse the repository at this point in the history
  4. bazel: adopt prebuilt_buildifier

    Turns out there's a prebuilt buildifier that speeds up things a lot by
    not having to rebuild the binary on each checkout of the repository
    manuelnaranjo committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    6d33d40 View commit details
    Browse the repository at this point in the history
  5. bazel: adopt aspect.dev bazelrc suggested flags

    We all know the joke of Bazel just got it's 1000+1 flag each time a new
    feature gets released, the aspect.dev folks have condensed a few flags
    that speed up things and make sure bazel is used in the right way, so
    let's start adopting it.
    manuelnaranjo committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    d6cd5e0 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. bazel: bump skylib

    bumping skylib so we can use the platforms repository properly now
    manuelnaranjo committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    431844e View commit details
    Browse the repository at this point in the history
  2. bazel: refactor the repository external API

    Following conventions from other rules so that there's a directory that
    can be entirely built from other workspaces with
    `bazel build @bazeldnf//bazeldnf/...`. It should be self contained and
    inject as many dependencies into the parent workspace as needed.
    manuelnaranjo committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    8bed31b View commit details
    Browse the repository at this point in the history
  3. bazel: adopt toolchain approach

    By providing a proper toolchain instead of an alias we remove the
    dependency on rules_go when someone uses bazeldnf externally, but also
    works better for cross compilation and other kind of processes
    manuelnaranjo committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    fd6ef20 View commit details
    Browse the repository at this point in the history
  4. ci: adding e2e for bazel5

    Now we provide an e2e test for bazel5 with no bzlmod, it shows the
    minimal setup to consume from bazeldnf rules
    manuelnaranjo committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    9a0b3e3 View commit details
    Browse the repository at this point in the history
  5. ci: adding e2e test for bazel6 no bzlmod

    make sure bazel6 repos can consume bazeldnf when bzlmod is off
    manuelnaranjo committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    535a1ce View commit details
    Browse the repository at this point in the history
  6. ci: adding e2e test for bazel7 with no bzlmod

    adding one more e2e test for the rule
    manuelnaranjo committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    9a015bd View commit details
    Browse the repository at this point in the history