From the course: NetOps (DevOps for Network Engineers): Automating Networks

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

GitLab pipeline example: Build

GitLab pipeline example: Build

- [Instructor] Let's go into some more details with the CI/CD pipeline and network automation. Start with the build stage. The build stage is typically used when you're using a compile language that requires a compilation process, such as when you're using Java or C when we need to translate the code into a binary and the binary could be then taken for testing, for deployment and so on. In our case, we're using Python, so the build process is considerably less involved. In our case, we could just think of the build process as getting everything ready for the next step. So what we could do is we could actually modify the gitlab.ci.yml file to move the pip install process into the build stage. So let's see how we could do that. Initially, what we could do is we could go ahead and add a build stage. And we'll follow the same steps and we'll just call this preparation and we'll do the stage of build. And let's go ahead…

Contents