Skip to content

My own spin on Tailspin's Space game, with the addition of CI/CD for Azure PaaS.

Notifications You must be signed in to change notification settings

MarcusFelling/Demo.SpaceGame

Repository files navigation

Demo.SpaceGame

My own spin on Tailspin's Space game, with the addition of CI/CD.

The Space Game website is a .NET Core app written in C# that's deployed to Azure App Services, and a SQL Server backend that's deployed to Azure SQL.

CI/CD

Build Status

  1. The main branch is set up with a branch protection rule that requires TailSpin.SpaceGame.Pipeline. This means the topic branch that is targeting main, will need to successfully make it through the entirety of the pipeline before the PR can be completed and merged into main.
  2. The build stage of the pipeline ensures all projects successfully compile and unit tests pass.
  3. The pipeline will then add a comment to your PR with the URL to a new Azure Web App containing your changes, that can be used for exploratory testing or remote debugging.
  4. Meanwhile, the pipeline will execute UI and load tests in a testing environment.
  5. If all tests are successful, the pipeline will wait for manual approval before deploying to production.
  6. After the production deployment is complete, a final stage will run to clean up the development environment, then the PR can be completed.

Note: If DB schema changes containing CREATE, ALTER, or DELETES are detected, a manual review will be required.

image