У нас вы можете посмотреть бесплатно Using Nix to create reproducible Go development environments - Haseeb Majid или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
🔔 FOLLOW GOLAB CHANNEL 🔔 ABSTRACT: Nix the package manager has gained a lot of popularity in the last 18 months or so. I would love to be able to show other Gophers, how they can leverage Nix and its ecosystem to improve their development environments. Including how we can use it to create more consistent development environments, between different devices and other engineers. So we get the same development environment and tooling as each other. Then how can we use it in CI, Go have essentially the same local development environment and CI development environment. Avoiding the dreaded “it works on my machine” meme. Go is the perfect language to pair with Nix because of how simple it is to set up with Nix. Due to it having some great tooling already. We will see, we can replace some of our existing tooling to manage developer environments with Nix. Background Creating consistent environments has been something that most engineering teams strive for. The closer you can get your development environment, to your CI environment, to your production environment, the more likely you are to catch bugs. At the same time, we want to onboard developers fast and get them started as soon as possible, reducing friction when starting to code on a new project. Like many developers, I have been leverage containers to help with this. Containers are a fantastic tool to have and provide main benefits. However, many containers/images have issues with being reproducible. I would like to show a package manager called Nix and show how we can use that to have more reproducible and consistent. We will take an existing Go project and see how we can make some development tools easily accessible, without the need for a `tools.go` file, for tools like mockgen. Content In this talk, we will briefly introduce Nix, and then we will talk about what Nix flakes are and how we can use them. Then we will create a development environment for an existing Go project using Nix flakes. The next part will compare it against Docker, particularly against Docker dev containers. In the final part of the talk, I will show a quick example of how we can look to extend what we have done into our CI environment, to have a more consistent development and CI environment. We will again take an existing Go CI pipeline using GitLab CI, "nixify" and see what benefits it can provide. Contents of talks We will cover the following topics (in this rough order): What is Nix? Why use Nix with Go? How to create a Go development environment with Nix A quick demo Compare it against Docker How to use Nix in CI? Slides on the Author's website https://haseebmajid.dev/slides/go-lab... This channel is dedicated to the videos of the GoLab conference. 💛 Follow us on X: / golab_conf 💜 Follow us on FACEBOOK: / golabconf GoLab is the first Italian international conference on the Go programming language, organized by Develer. Develer is not just an Italian company projecting and releasing hardware and software solutions for the industrial environment, but is also an ensemble of people sharing their great passion for new technologies and how they can be applied to your everyday life. 🔸 Follow DEVELER on INSTAGRAM: / wearedeveler 🔹 Follow DEVELER on FACEBOOK: / we.are.develer 🔸 Follow DEVELER on X: / develer 🔹 Follow DEVELER on LINKEDIN: / 114426 🔸 Follow DEVELER on TELEGRAM: https://t.me/wearedeveler 🔹 Follow DEVELER on TIK TOK: / wearedeveler