Closed Marcus-Rosti closed 4 years ago
Can you elaborate on what you mean? Perhaps with an example. Thanks.
I want to build an r library and deploy it to artifactory so that others can install it from there. We don't have a monorepo for people outside of our immediate group
My recommendation for this:
r_library
target which lists all the packages you want to install. Let's say you name this :myrlib
.bazel run :myrlib -- -l /path/to/output_dir
to output all packages to disk outside of bazel.cloneLibraryToRepo
in https://github.com/grailbio/rules_r/blob/master/scripts/repo_management.R to make a repository out of your library directory above, and then publish it to Artifactory. Or use some other means to publish the packages.If you have a smoothed out flow for this, please feel free to submit a PR.
Closing because of inactivity. Can reopen if needed to follow up.
Is there a deployment story native to bazel? Or is the out of scope for this?