Bazel Tutorial: (Part 1) Getting Started, Bazelisk & our First Build Targets
HTML-код
- Опубликовано: 17 дек 2021
- In this video we're going to be creating our first build targets in Bazel. Bazel is a build tool that is very popular for use in monorepos. We're going to start by discussing what bazel is & the motivation for using it. We're then going to install bazelisk & use it to manage our bazel version. Then, we're going to create our first bazel targets using the genrule.
Bazel: bazel.build/
Code: github.com/kriscfoster/multi-... Наука
One of the best video content in the internet to get a good intro to Bazel. Good work!!
This is the best introduction to Bazel that I've come across. Please make more if you get a chance (I realize there must not be a huge audience for this type of content, but I will definitely share it with my friends). I think it could be interesting to see how more complex workflows (perhaps working with containers or building remotely) would work. Regardless, I subscribed and am looking forward to any other tutorials you have!
Just saw you have a few other videos on this topic. Definitely going to check those out!
This is really the best and straightforward Bazel tutorial for beginner. Thank you so much * 1000
finally was ablt to install the correct bazel version for tensorflow thx so much man
Looking forward to the next ones...!
Thank you @Seyed, should be some more later this week.
Hi Kris,
Thanks for that. Please make second part. :)
now bazel seems really simple! thanks man!
Glad you enjoyed!
Amazing tutorial, thank you!!!
Thanks, this is excellent. Been working with a huge monorepo with a lot of customisation for the last two years, but getting to grips with the basics, the extra rules, it's non-trivial. This is a great introduction and it makes me think I should point new starters in my org at it.
Thank you for the kind feedback @Jason. Yes, there aren't many video resources for learning bazel out there yet!
Thanks for making it simple, looking forward :)
Thank you @vish!
Cool video Kris, looks interesting.
Thanks Ryan, yeah bazel is pretty cool!
what an awesome intro. Thanks
Great video to start off learning Bazel (which I had to refresh myself on some initial concepts).
Thank you for the kind feedback!
Thank you!
Subbed
Great introduction, thanks!
How Bazel's caching is gonna work if my genrule(), for example, is going to make server requests, pull code from GIT or use current time?
That is not the intended use. External dependencies should be fetched using repositories rules. Build targets should be “self-contained”. Bazel has some sandboxing capabilities to prevent unwanted network traffic, but it is really up to the developers to be self disciplined
Could you make a video on bazel with at least one front-end framework (like angular, react or svelte etc) in a monorepo.
Hey, yeah this will be coming soon
@@KrisFoster1 🤩 thank you, will wait for the blasting update