Continuous Delivery with TFS

Posted by Graham Smith on December 1, 201417 Comments (click here to comment)

This page lists posts in my blog series on Continuous Delivery with TFS.

  • Darrin Robertson

    This is a great series. I have picked up a few tips for my own deployments.

  • Graham Smith

    Thanks for that Darrin. My last post took about 10 hours to research, debug and write so nice to know that someone is finding them useful.

    • Darrin Robertson

      I am. What will be interesting is how TFS 2015 Build changes things with its rewrite.

      • Graham Smith

        It will be very interesting – and a source of more blog posts… :)

  • Bart

    How would one configure Release Manager to deploy to an on premise website cloud using the publisher server (website running on azure pack roles) ?

    • Graham Smith

      Hi Bart

      I’m not familiar with that scenario so I can’t answer specifically. However the rule of thumb is that if you can run a command to make something work then RM can do it. If you can use PowerShell then even better. I have to say that using RM to deploy to PaaS is an outstanding scenario that I’m keen to tackle but at the moment I’m committed to focusing on how RM works with VSO deploying to IaaS – see here. If only there were more hours in the day…

      If you do get anywhere with this please do post back.

      Cheers – Graham

    • Darrin Robertson

      I also don’t know the answer to that one. But Here is a quote from the RM blog. Once this is enabled you may find it more achievable.

      In the current release management service, you can only deploy components from a VSO hosted build to an Azure cloud service. We are working on helping you release to an on-premise environment from VSO. The experience will be similar to how you set up an on-premise build agent pool configured to run builds queued in your VSO account (except that in this case, you will set up an on-prem agent pool for builds and releases). The tasks to perform on-premise deployments will be run on these on-prem agents.

      • Graham Smith

        I think Bart was referring to Azure Websites running on Azure Pack – the on-premises version of Azure. Having had a quick look in to this Googling for release management cspkg would be a good starting point although I’m not sure anything refers to Azure Pack directly. As the RM blog intimates my guess is that things are going to change this year, since we have Visual Studio 2013.5 arriving at some stage soonish and 2015.RTM (in the autumn?) and presumably both will see new versions of RM. Plenty to keep us all busy :).

  • Bart

    Hi there,

    Next week we have a 2 day workshop especially for our devops POC project. Microsoft is sending someone from their development team over for the questions (also the one I asked here). After reading and trying a lot, I think we’ll get a roadmap kinda answer on the questions TFS/VS on premise to Azure Pack Website Cloud deployments. However

    Will drop their answer here if this question is answered in the workshop

  • VISHAL KHADE

    Graham,

    First of all fantastic series. This helps lot!!

    What I’m looking is on-premise release management server/ release client integration to VSO source control / project collection. My goal is to use the source control from VSO and use on-premise release management for on-premise server deployment. Is it possible with 2013.4 / VSO 2015 RTM.

    Keep posting. Thanks!!

  • Graham Smith

    Hi Vishal

    Many thanks for your very kind comment. Regarding your requirement, VSO and RM 2013.4 will not deploy to on premises and I’m fairly sure it’s the same for VSO and RM 2015 RTM.

    However, a forthcoming feature of VSO is release management capabilities that will be able to deploy to on premises servers. You can find out more here. It’s not quite what you are asking for, but would that be an acceptable alternative?

    Cheers – Graham

  • Kumar Raman

    Graham,

    This is just what I was looking for. A Detailed series on using CI/CD (DevOps) using TFS. A Perfect one!! Thank You!

    I’m currently on a R&D for implementing this for a project team working on Visual Studio / TFS 2010 and also using NUnit for Unit Test Cases. There is another team with TFS 2013 as well.

    The idea is to purely use Microsoft tools only. Would appreciate on more information / examples on PowerShell and how the same can be used.. or is there any other Microsoft tool similar to Chef/Puppet

    • Graham Smith

      Hi Kumar

      Thanks for your very kind comment – very much appreciated.

      I’m researching for a new continuous delivery blog post series at the moment which will start with provisioning VMs as code in Azure using Azure Resource Manager’s JSON templates. These will then have their internals configured through PowerShell DSC. I’ll then carry on with implementing continuous delivery with the updated TFS 2015 tooling to include the new web-based Release Management due out later this year I believe.

      Meantime, if you want to know more about PowerShell DSC I have a Getting Started blog post of resource links here.

      Cheers – Graham

  • Deepak Rao

    This series is outstanding. Is it possible to add “Coded UI” scenario to this series? I am using Azure virtual machines and want to know if VSO can be used for CodedUI.

    • Hi Deepak

      Many thanks for your kind comment – much appreciated. Unfortunately I don’t have the time to write a blog on CodedUI – I’ve turned my attention to Docker for my latest blog series and that’s my focus for the near future. Whilst I haven’t used Coded UI much myself I’m pretty sure it will work fine with VSTS – see here for a place to get started.

      Cheers – Graham

      • Deepak Rao

        Thanks for quick response. Appreciated for your time.

  • HUD HUD

    how to configure for ordered test