The next iteration of Demo.SpaceGame, now using containers and GitHub Actions ๐!
The Space Game website is a .NET 5 web app that's deployed to โ๏ธ Azure Web App for Containers and Azure SQL โ๏ธ. The infrastructure is deployed using Azure Bicep ๐ช, and the application is tested using Playwright for browser tests and JMeter for load tests.
- The main branch is set up with a branch protection rule that requires all of the jobs in the pipeline to complete successfully. 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.
- The build stage of the pipeline ensures all projects successfully compile and tests pass.
- The pipeline will provision a new website for your branch (branch name will be in URL), that can be used for exploratory testing or remote debugging. The URL of the new website will post to the Environments section of the PR. Click "View Deployment" to open the site:
- Meanwhile, the pipeline will execute functional and load tests in a testing environment.
- If all tests are successful, the pipeline will run what-if to preview any infrastructure changes then wait for manual review/approval before deploying to production.
- After the PR is merged, a final workflow will run to clean up the development environment.