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

wip: adopt bzlmod #75

Closed
wants to merge 24 commits into from
Closed

Commits on Jul 16, 2024

  1. ci: improve setup

    Using a matrix instead of copying the test structure so many times
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    19d57b9 View commit details
    Browse the repository at this point in the history
  2. prebuilts: reorganize how we consume prebuilts

    Prebuilts are now handled differently and require a proper release
    process, in order to allow forks to also release we need to consume
    GITHUB_REPOSITORY while rendering the repo files.
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    797543f View commit details
    Browse the repository at this point in the history
  3. fix: adapt repo to the new structure

    There were quite a few missing things from my merged code this should
    fix it
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    43a4f91 View commit details
    Browse the repository at this point in the history
  4. bazel: start adopting bzlmod

    When building bazeldnf we now use bzlmod as well
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    76ba245 View commit details
    Browse the repository at this point in the history
  5. bazel: run gazelle

    updating build files to match the latest gazelle settings
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    b39c2f6 View commit details
    Browse the repository at this point in the history
  6. bazel: update e2e for bzlmod

    adding bazel6 bzlmod test
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    99cf2c4 View commit details
    Browse the repository at this point in the history
  7. ci: adding buildifier job

    now we have a step to validate buildifier
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    60dccba View commit details
    Browse the repository at this point in the history
  8. bazel: drop bazeldnf_build_dependencies

    We no longer need this bzl file with bzlmod and rules_go go.mod support
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    0d44950 View commit details
    Browse the repository at this point in the history
  9. bazel: document packages

    following the suggestions from bazeldnf linter
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    70bcbbd View commit details
    Browse the repository at this point in the history
  10. bazel: replace arrays with ctx.actions.args

    ctx.actions.args is a more efficient way of dealing with arguments that
    get passed into actions
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    6278b5a View commit details
    Browse the repository at this point in the history
  11. ci: improve the release process

    heaviliy inspired in https://github.com/aspect-build/bazel-lib which also
    provides a few prebuilt golang binaries
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    8350d5c View commit details
    Browse the repository at this point in the history
  12. bazel: get version from package

    now while archiving we stamp the content
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    7b68856 View commit details
    Browse the repository at this point in the history
  13. bazel: platforms for the repo

    Make sure platforms are available accross the entire repository and not
    only in bazeldnf/private
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    046db6d View commit details
    Browse the repository at this point in the history
  14. bazel: speed up CI

    Making sure github keeps bazel cache around
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    7209d45 View commit details
    Browse the repository at this point in the history
  15. bazel: fix legacy external API

    fixing small issue with the legacy external API
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    91fc5c4 View commit details
    Browse the repository at this point in the history
  16. ci: fix release

    We have no config for release, no need to pass this flag
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    38c4040 View commit details
    Browse the repository at this point in the history
  17. ci: release is a run target

    We need to execute the release target instead of build
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    b4a7748 View commit details
    Browse the repository at this point in the history
  18. It's totally insane to have multiple versions

    We don't need to support the multiple versions approach suggested
    by the templates repo, we're closer to aspect-bazel-lib than to
    a wrapper for already available tools
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    21b82ff View commit details
    Browse the repository at this point in the history
  19. move to bazel 7

    when building the tool it self we can use bazel 7
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    1d092be View commit details
    Browse the repository at this point in the history
  20. bazel: adopt prebuilt protoc

    Stop waisting valuable CI time in protoc building
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    aea24ea View commit details
    Browse the repository at this point in the history
  21. ci: adding bazel-7-bzlmod test

    Closing the loop
    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    6dd3288 View commit details
    Browse the repository at this point in the history
  22. wip

    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    578fab1 View commit details
    Browse the repository at this point in the history
  23. wip

    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    817b749 View commit details
    Browse the repository at this point in the history
  24. test

    manuelnaranjo committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    ef3f17f View commit details
    Browse the repository at this point in the history