View on GitHub

Beyind my Cloud

Projects that we work on the stream (aka Twitch.com/fboucheros)

  • 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 to MyClippings-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

    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
    Read more...

  • 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

    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
    Read more...


subscribe via RSS