This isn't your average article. It may be more accurate to classify this article as a brain dump that I hope you'll find some value. It's a condensed list of links that I found to be very useful for creating a CI build pipeline.
This is what I would have loved when I was learning how to create a CI pipeline with Azure DevOps. I wanted to create the pipeline using a YAML file, and while the quick-start is helpful, my scenario was more nuanced. I bet your situations have special cases too.
As I was working on putting my app into an Azure DevOps pipeline I wrote down all of the links that I found to be super helpful. Thus, I decided to make a list of them and share them with you, in case they may be of help to you, as well.
What does it cost for OSS? This is a great question, and the best answer comes directly from the source here.
With the introduction of Azure DevOps today, we’re offering developers a new CI/CD service called Azure Pipelines that enables you to continuously build, test, and deploy to any platform or cloud.
Here are some more details on the pricing and what you can get for free and what qualifies.
I tried, below, to explain why each might be helpful, so you can decide which might suit your use cases.
I hope this helps!
Start here. Seriously, it's a great starting place that can help ground you in the Azure DevOps tool and what you can do.
- Start here to learn Azure Pipelines
If you want to run your builds in different ways, this is a great resource. For example, imagine you want to run your build on Windows and Linux and macOS. If so, this is the place to start.
- Learn how to create multiple jobs
If you want to trigger builds from your GitHub repo to Azure DevOps, this is a great resource. It shows how to set up the YAML for Triggers for branches and Pull Requests.
- Learn how to set up the YAML for Triggers for branches and Pull Requests
If you want an example of what a YAML file in DevOps looks like, look no further.
- Check out this example of a pipeline YAML file
If you want to build more than one branch or exclude some branches from builds, then this is a great resource.
- Learn to build multiple branches
If you like to test against more than one version of Node.js, this is a great resource.
- Learn how to create a build strategy for multiple Node versions
If you want to learn more about how to create the hosted agent (the thing that does all the work for you), this is a great resource.
- Learn the Host agent syntax for the YAML
I was building a VS Code extension, so this example was helpful for me. If you are building a Node.js app, it may help you too.
If you want to run your build in different ways, this is a great resource. A great example is running multiple jobs for multiple OS's.
- Learn how to run multiple jobs
If you want some extra help for Azure DevOps Pipelines and YAML in VS Code, try this resource.
If you get stuck in the YAML (I know I did), then this is an excellent resource for figuring out what goes where.
- Lean on the YAML scheme reference
I hope these help you as much as they helped me!
this article is cross posted to from johnpapa.net