-
Can We Execute the DotNet Tests inside a Docker Container from Azure Pipeline
Summary
In this session, Frank is finishing the “Dockerization” of the Web API [MyClippings-Parser(https://github.com/FBoucher/MyClippings-Parser).
The Goal is to build and execute the unit test with-in Docker from an Azure Pipeline. If the build and all the unit tests pass we push the image to Docker Hub.
Replay
Goals
- Run test of MyClippings-Parser in containers
- Run test of MyClippings-Parser in containers from Azure Pipeline
- Push image to Docker Hub from Azure Pipeline
ToDos
- Change name of test project from
MyClipping-Parser.Tests.csproj
toMyClippings-Parser.Tests.csproj
-
Fix folders name
- Add Documentation on the Docker Hub
- Add Documentation on Git
- Add on Git a how-to use it
- Extract the dotnet /docker logs for the Azure Pipeline
Cheers
- @jam3sn_: 50 bits
- @theMichaelJolley: 100 bits
Streams Notes/ Snipets/ Shared urls
- docker build –rm -t myclippings-parser:v1 .
References
- https://docs.microsoft.com/en-us/azure/devops/pipelines/languages/docker?view=azure-devops#example
- https://techblog.dorogin.com/running-and-debugging-net-core-unit-tests-inside-docker-containers-48476eda2d2a
-
Dockerize WebAPI and stuff Container from Azure Pipeline
Summary
In this session, Frank is learning how to Dockerize a simple Web API. Then apply this new skill to the MyClippings-Parser API. The Goal is to build and execute the unit test with Docker from an Azure Pipeline.
Replay
- Twitch (for 60 days)
- Youtube (soon)
Goals
- Dockerize .Net Core webapp
- Push image to Docker Hub
- Dockerize MyClippings-Parser
-
Create a Docker-Compose filr
[ ] Run test of MyClippings-Parser in containers[ ] Push image to Docker Hub from Azure Pipeline
ToDos
- Run test of MyClippings-Parser in containers
- Push image to Docker Hub from Azure Pipeline
Notes
- Check remove the StreamLabs artifacts @
- docker build –rm -t myclippings-parser:v1 .
References
- https://docs.microsoft.com/en-us/azure/devops/pipelines/languages/docker?view=azure-devops#example
subscribe via RSS