Skip to content

DevOps basics - making a vanilla CI/CD pipeline

Photo of Mike
Hosted By
Mike
DevOps basics - making a vanilla CI/CD pipeline

Details

Feel free to bring food. I'm sure Uber Eats/GrubHub will deliver as well.

A lot of attendees are new to DevOps entirely and interested in the basics. We'll go over how to make a vanilla CI/CD pipeline, beginning with a working ASP .Net Core project (for those with little-to-no interest in .NET Core, I won't spend long on it) and using GitHub Actions. The pipeline will:

  • Get triggered by a PR, a change to the main branch, or a test/prod tag
  • Build/publish an artifact
  • (if not a PR) Deploy that artifact to Azure

See the finished repo at: https://github.com/mbuchoff/devops-vanilla-example

Once we're finished and if there's time, we can go over how to add arms and legs to the pipeline such as:

  • Validating Terraform as part of the pipeline for PRs
  • Running Terraform as part of deployment to scaffold infrastructure
  • Using Entity Framework Core to capture database schema via migrations
  • Building an idempotent SQL upgrade script
  • Running that script in the release pipeline

In case my small laptop is difficult to see, I'll screenshare with Zoom.

EDIT: I tried using ChatGPT with great success to generate the GitHub Action yaml file. Here is the conversation:
https://chat.openai.com/share/0453c770-335f-4143-bdc6-d89baf148789

Photo of Orlando DevOps group
Orlando DevOps
See more events
Seminole County Public Library
310 North Division Street · Oviedo, FL