Azure / simdem

Tool for Simulating Demo's, delivering Tutorials and using documentation as tests.
MIT License
34 stars 17 forks source link

Add GitHub Actions, Development Container, Remove CircleCI #134

Closed asw101 closed 2 years ago

asw101 commented 2 years ago

This PR:

Adds three GitHub Actions:

00-azure.yaml: Authenticates against Azure and successfully runs simem (via the test test command). 00-azure-empty.yaml: triggered by workflow_dispatch, authenticates against Azure, and is able to clean up infrastructure by using az deployment group create to deploy an empty Bicep template. deploy-image.yaml: Builds and pushes an image to GitHub Container Registry from the latest branch. For this we made a copy of Dockerfile_cli as a default Dockerfile, which we can probably clean up. The build is currently broken.

Adds the development container (see: .devcontainer/) that @UmakanthOS and I used to hack on this project in GitHub Codespaces.

Removes CircleCI.

rgardler-msft commented 2 years ago

Awesome!!! thank you. @jasonmesser7 can you shepherd this through please. This sounds fantastic.

jasonmesser7 commented 2 years ago

I was able checkout the PR and implement the code in my own fork and it worked great! image

The way the secrets work with the Service Principal is a little different so I will need to spend some time figuring that out, but otherwise it LGTM. Will merge tomorrow when I have time to set up the service principal with our main branch.