Running Tests In Containers

Running automated tests is an essential part of any CI/CD strategy. For Business Central, we have been able to use containers and the function Run-TestsInNavContainer in the NavContainerHelper PowerShell module as described in this blog post (make sure you have read this before continuing) for 6-12 months and a lot of partners are already taking advantage of this. This blog post shows you how to get the max. out of the functions. Continue reading

Directions EMEA 2019

Vienna is the place to be next week for NAV and Business Central professionals. Directions EMEA 2019 start Wednesday and runs through Friday.

Seven

This year seven is my lucky number, as I will be appearing in sessions a total of 7 times. If you want to avoid my sessions, then the following sessions are the ones you shouldn’t join… – if you end up joining any of the sessions, I will do my utmost to make sure you don’t waste your time.

Wednesday 14:15 in HALLE1 – MSBK039: Getting Started with Containers

This session is for people who are new to Docker or people who have experienced issues running Docker. I will have some tips and tricks for how you can get started with Containers.

Wednesday 17:30 in HALLB – MSBK041: Getting the Most Out of Containers

This session is for people who have been running Docker for some time, but would like some tips and tricks on what containers can do for them.

Thursday 14:45 in HALLE1 – MSBK026: Continuous Integration and Continuous Deployment with Azure DevOps

Really looking forward to host this session together with Christian Heide Damm, where we will try to paint a picture of how our partners can setup CI/CD to increase developer productivity, product quality and customer happiness.

Thursday 16:00 in L2 – MSTH143: Visual Studio Code and AL Language

In this Town Hall, we will try to answer your burning questions on how to develop apps for Business Central using Visual Studio Code and the AL Language.

Friday 10:45 in N – MSWS106: Setting Up CI/CD on Azure DevOps

If you found the CI/CD session on Thursday exciting, then this workshop will take you through how you can setup CI/CD for your own project.

Friday 13:30 in L2 – MSTH113: Town Hall: Your Solution Roadmap to SaaS

In this Town Hall, we will try to answer your burning questions about the lifecycle of an app. From designing and developing to running and upgrading. Versioning, dependencies, packaging, testing and AppSource submission.

Friday 14:30 in HALLC – MSTH123: Meet the MVPs

In this Town Hall, you will have the opportunity to meet some the the Microsoft MVPs visiting Directions EMEA 2019 and ask them questions on how they see the world. My role is purely hosting and I will try to say as little as possible.

TGIF

Even though I am really looking forward to this week, I also know that Friday at 15:30 – I will say: Thank God It’s Friday and be on my way to the airport. The week following Directions is autumn vacation in Denmark – looking forward to spend some days with my family.

See you in Vienna!

Freddy Kristiansen
Technical Evangelist

Publishing a New Base Application

I think I have mentioned before, that I strongly recommend partners to use the extension model and create extensions, which can be published, installed and upgraded much easier then code customizations.

Having said that, I know that there are partners out there for who AL code customizations will be the right stepping stone towards adapting an extension model. Continue reading

Blogging about Wave 2

Update – with the release of the public preview (described in this blog post: https://cloudblogs.microsoft.com/dynamics365/it/2019/09/04/business-central-2019-release-wave-2-preview/) the NDA has been lifted.

One month ago, we started making insider builds of wave 2 available on Docker and even though the insider builds are subject to a clear NDA, I still see people blogging about features in wave 2. Continue reading

Zombie containers -> Skip This Build?

Yet Another Update: A cure is found… https://freddysblog.com/2019/09/05/a-cure-for-zombie-containers/

Another Update: Docker engine 19.03.2 (and docker Desktop 2.1.0.2) should be released first week of September with a cure for Zombie containers.

Update: A way to bring your Zombie Container back to live is in the comments by Mick Carr (THANKS MICK) – just tried this and it works on my Computer with 2.1.0.1 as well. Basically modify the containers config.v2.json, change running to false, restart docker and now your container is dead (not living dead). Use docker start to start the container and it comes back to life…

Over the last few days I have experienced a strange behavior with the latest version of Docker Desktop Community edition (2.1.0.0 (36874) released July 31, 2019) on my Windows 10 1903 machine. Thinking this was a problem with my machine, I decided to postpone the investigation, while working on other issues. Yesterday I had two partners contact me with the same behavior, it was going to be a long night… Continue reading