continuous-integration icon indicating copy to clipboard operation
continuous-integration copied to clipboard

Adding `rules_rust` release artifacts to Google mirror

Open UebelAndre opened this issue 2 years ago • 5 comments

rules_rust is planning to start creating releases (https://github.com/bazelbuild/rules_rust/issues/415) and there are some artifacts we associate with each release that we'd like to be able to upload to the Google mirror. Is there an automated way we can have these artifacts uploaded? The artifacts would be a tar.gz of the rules themselves and some rust binaries which power repository rules.

UebelAndre avatar Mar 16 '22 15:03 UebelAndre

cc @philwo

UebelAndre avatar Mar 18 '22 15:03 UebelAndre

@meteorcloudy FYI

philwo avatar Mar 21 '22 16:03 philwo

@UebelAndre Unfortunately, mirroring release artifcats has always been manually work. I can help with that.

But with the upcoming Bzlmod and the Bazel Central Registry, this will be automated. Does rules_rust have the plan to support Bzlmod? I'm working on a migration guide and a helper script, will share as soon as possible.

meteorcloudy avatar Mar 22 '22 08:03 meteorcloudy

Yes, rules_rust plans to support Bzlmod. Is there a guide on how to integrate it?

UebelAndre avatar Mar 22 '22 14:03 UebelAndre

@UebelAndre That's great! Like I said, I'm working on a migration guide and will send it out ASAP, but you can check

  • how we added support for rules_java (https://github.com/bazelbuild/rules_java/pull/45).
  • The documentation for Bzlmod: https://bazel.build/docs/bzlmod.

meteorcloudy avatar Mar 22 '22 16:03 meteorcloudy