time to retire that dustybuild server a dive into the new build...

16
Time to Retire that Dusty Build Server A Dive into the New Build Service in Visual Studio Online Jeppe Lund Andersen Lead Software Developer at momondo

Upload: others

Post on 21-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Time to Retire that Dusty Build Server A Dive into the New Build Service in Visual Studio Online

Jeppe Lund AndersenLead Software Developer at momondo

Jeppe Andersen

M.Sc. Software Engineering (2013)

Lead Software Developer at momondo

Previously consultant at Microsoft, developing solutions, and helping others succeed, with .NET, Azure and VSO

@nocture

nocture.dk

It is hard – but we can do it!- with some help from VSO Build

http://indulgy.com/post/P61Mb1gh61/smile-and-the-world-smiles-with-you-everything-i

VCS – Git and TFVC

Project Tools for Agile and Scrum

Build Services

Load Testing

Deployment

Visual Studio Online

Find out what is going onhttp://aka.ms/VSOReleaseTracker

2011 November 2013

Team Foundation Service

Visual Studio Online

Demo

What’s different from before?

VSO Build orchestrates your builds – it is not a standalone build engine

Improved everything (debugging, logging, reports, editing build definitions…)- no more XAML build definitions managed in Visual Studio

Cross Platform and Extensible

It all start’s with a Build DefinitionA Build Definition is a configuration of a build and a collection of tasks

Builds are queued based on a build definition that will end up being served by one or more agents in a pool

Pool 1

Agent 1 Agent 2 Agent 3

Pool 2

Agent 1 Agent 2 Agent 3

.

.

Managed at VSO Account Level

Queue 1

Queue 2

Queue 1

Queue 2

JSON

Build def. 1

JSON

Build def. 2

JSON

Build def. 1

Managed at Project Level

Project 1

Project 2

General Pool

Mac Pool

Queue 1

Queue 2

Macs

JSON

Release

JSON

Continuous

JSON

Continuous

Web Application

iOS App

Release

JSON

High Performance Pool

Hosted

PowerShell Node.js

Configuring Agents

Extract and run .\ConfigureAgent.ps1 in PowerShell

$sudo npm installvsoagent-installer-g$sudo chown -R$USER ~/.npm

~/agentfolder$vsoagent-installer

Demo

VSO Build orchestrates build engines across platforms

Reduces build server infrastructure effort

Provides Hosted Windows (and soon Linux) build servers

https://github.com/Microsoft/vso-agent-tasks

https://github.com/Microsoft/tfs-cli

https://github.com/Microsoft/vso-agent