Azure DevOps Launch Keynote

Azure DevOps Launch Keynote

Show Video

We. Will, carry. We. Care. You. Welcome. To the launch of Azure DevOps my name is Jamie cool I'm the director of program management for the Azure DevOps team we, got a ton of exciting, things to talk about today here with me I have mr., DevOps himself, Donovan Brown thanks, for having me Jamie I'm really, excited to get started because some, of the demos we're gonna show today I'm really gonna highlight, the power that we have with a chanela what I want to make sure people realize is that you can also be a part of this conversation it's not just the two of us but if you're out there on social media make sure that you use the hashtag Azure DevOps and if you want to learn more about what we think about DevOps here at Microsoft make, sure that you go to a sure com, forward slash DevOps right, now, if we're gonna be talking about DevOps, you know for this next hour I think it'd be important for us to level-set well we actually mean, when we said DevOps and I've been led to believe that you might have a few opinions on this particular topic a few and, it's, really important to level-set because if you ask several different people what, DevOps means you're gonna get several different answers so it's really good to make sure that we, level set on what we believe DevOps, is here at Microsoft and we believe that it's the union, of people process, and products to enable continuous, delivery of value to our end-users the, most important word of that definition is value, too, many people focus on just moving files or automation but it's the value that you're trying to deliver to your end-users and what, I've found is, that it takes the products, to support the process, what your people have chosen that's empowers, your people to deliver that continuous, value what, I think is even more important, than that is that, when you start to take that digital transformation, when you're on this journey the, gains that you get are staggering. And sometimes almost unbelievable. As I go and I visit our customers all over the world those, that have started this transformation, or deploying sometimes, like 47.

Times More frequently than they were before and historically. There used to be fail fast but they're not failing fast they're succeeding fast because they have seven times less, failure rate yeah. You know when I hear some of those numbers on the surface they just seem kind, of staggering, and crazy when, I step back and I think about it I realized you know what like I've experienced. That you know firsthand you, know it wasn't that long ago that a Microsoft, you, know the average chip cycle was two years sometimes, longer you. Know now, I look at just last week last week we shipped hundreds, of changes just to Agra DevOps itself, you do the math between, a couple you know a couple years and, hundreds, of changes a week you get these big numbers, and it's, not like the folks today are just that, much better than the folks ten years ago it's, that we've gotten smarter we've learned we have better processes. We have better products, and that's, a lot of what we're going to talk about today and what I'm excited about because we're. Now providing the, products that we use that we've invested, in and bringing them to you so you're going to be able to take advantage of them and that's what as your DevOps is as your DevOps are a set of services, that span the entire, DevOps. Lifecycle. You can use them all together for, a full solution or, if you just need a one, with a particular problem, you can use just that or you can put it together with other tools that you're already using that you want, regardless of how you use it it's, gonna provide a lot of value for it for, you and I know that because inside. Of Microsoft we, get that value we see that regularly just, in the last month over 80,000. Folks here in Microsoft have used a shred of ops to deliver our products. To. You from, both the smallest all the way up to some of the largest so. Let's, start by drilling in and what we actually mean by our DevOps and let's start with Azure pipelines, so how's your pipelines is really the, heart of the. DevOps process, it's a CI CD. System it's. A continuous, integration and, deployment system, and you use this to keep, the quality of your application, up to make sure every change that you make is, taking you forward, instead of backwards and that's really the key thing if you want to be able to ship whenever you want to keep your code quality, high you, can also use it as a launchpad to get your code up, into, the cloud whether. It's our cloud. Google. AWS. Or any, other because as your pipelines, is a, system, that works for any language, any platform.

And Any cloud we, have hosted pools and machines of Linux, Windows. And Mac that, we manage for you so, that you don't have to because everything we're trying to do with this is to make your life easier, as a developer, and as. Your pipelines doesn't stop with what we've shipped it's highly extensible we have an ecosystem, of over 500, extensions, that have been contributed for both the community and from. Our partners from slack. To Soner cloud, you. Know one of the things that always excites me the most is when I see a new extension showing, up and seeing, what someone's been able to to, do and extend you know with are with our product, now. You can use it for any type of application, in any type of deployment mechanism, but containers, are increasingly, becoming that, unit of application, deployment so, as, your pipelines works great with containers you can use it to build your containers, to test and validate your container to publish it to whatever registry you want and deploy it to whatever service you want including, kubernetes, now. It's, a lot more interesting to actually look at it then talk about it so Donovan can you give us a walkthrough of Azure pipelines so. Azure. Pipelines, is the CI CD system that we have that can build any language, targeting, any platform. And that's what excites me about it as Jamie, said earlier we give you access to Mac's to Windows machines and to Linux machines there's nothing to install you, just give us code and we'll build it for you Here I am on my dashboard and what I'm going to do is I'm going to click on this icon for this particular spring, MVC application this, is a Java app over here I happen to have a node.js application. Again, any language in any platform, clicking. On this icon is, then going to take me to my build results of some. Of the bills that I've been running previously, if we look over here I can see exactly what branch I was building I can see if I was actually working on a pull request or, not and clicking, on one of these builds is now gonna take me to, a summary, page and a log that I can quickly review as, we can see here I had an error on this particular build if I go ahead and drill in on here I can, see this log file I can see this great map on the right-hand side and if I scroll down to this huge palm file build you'll see that we actually had some errors down here so it's very easy for me to diagnose, but. This isn't the only way that I can see my, test results and I'll show you some other cool ways of doing that here in just a moment another. Thing that we can do is we can use this histogram at the top and start to see other builds that have already run and luckily, we've had some of whom that have succeeded, and as you can see here I have the same log but, better than that I also have this great summary, the, summary here allows me to see my test results, it allows me to see any associated work I can come down here and also see any deployments, that may be running a matter of fact you've already successfully, deployed this build into, our dev environment and, it's pending my approval to, go all the way into our QA. Environment you. Get to see the real power of our pipeline system when you go back in and you start to look at editing, one of these it's, a really nice graphical, user interface, that allows you to simply drag and drop town again, I want to highlight over here if you look at this drop down here you.

Can See all the, different hosted, pools. That we give you what I mean by hosted is there's nothing for you to install all these, resources are provided for you and they come in a variety of different platforms you need to build your iOS application, we have a Mac sitting, in the cloud ready, to build that for you you want to build your containers on Linux we have multiple, Linux images. And containers running for you so you can go and build those images and once they're build you can deploy it in the docker hub or to ACR wherever, your images. Need to be stored in addition. To that where, can you get your code you can get your code from the most popular, source control systems your doing open source work and you want to put your code and github no, problem you want to have private repositories, because you want to secure your code and you don't want anyone else to see it you can use our git support as well you, already have your code in subversion or some other form of source control don't worry about it you can still use Azure pipelines, to get your code wherever it exists today and be able to start running CI and CD against, it again. Adding new tasks is very simple you simply click on this plus here and you can simply drag and drop from hundreds, of tasks, that we have available, for you right out of the box what, I really like about the out-of-the-box, tasks is that they're all open-source you can go and see exactly how we wrote all of these hundreds, of tasks and use, this as a way for you to learn how to write your own if you, already know nodejs, or powershell you know how to write these particular tasks, but before you go off and write your own adriaen courage you to go and look at our marketplace as jamie. Said earlier hundreds. Of our partners. Have gone off and written extensions, that add a lot of value and all you have to do is simply click on it you get them for free and add them to your pipeline, and you know you have new value not only in your building your release but new hubs and widgets and all other cool places that, you can extend our system, now, I love our graphical user interface, but I've known a lot of people prefer to use yamo they want everything in source control now, what's really nice about this is you can just simply click on this link here and, we will export, the handle for you so you don't even have to write it what, I really like about this, is I actually keep both of these up because I want the best of both worlds I love, the visual representation. I love, the ease of editing I can come in for example, make. A quick change to a particular task and then export, just the yeah mold for that task I can. Copy this to my clipboard I'll run, over here to github where my code is currently sitting I can, find that Yemma file that I created earlier and I can edit it right here, inside, of github, so let's just go ahead make a quick edit I'm gonna paste the code I did I just want you to see that we can have a really cool pull request let's, make some changes I'm, gonna come down here and save this into a different branch because I want to show you some cool stuff here so I'm creating a patch branch for the change to my llamo file and when, I do this and create this pull request I've, wired, up Azure. DevOps to my github repository, sets that every pour request that is submitted, will actually have to run that build and succeed, before I'm even notified as we, can see down here we. Now have a bill that is queued it's currently in progress now, if I go ahead and click on the details I will be able to jump right back inside of Azure DevOps see the pipeline, that it actually started running for me and in a moment here once it connects to the agent I'll be able to see a full live log of everything, running against, my particular build that. Way I can get quick verification. That if the pull request is good did, it pass my test and does it need the attention of the moderators. And the contributors, to go back in and review that particular pull request another. Thing that I wanted to talk to you about what's the testing that I mentioned earlier, so for you to go back to. That definition let's pick this one here for some fun and I'm, gonna click on analytics what. Analytics, does for me is it actually watches, the test results, over the history of this particular build, and it gives me a report letting me know how successful our testing has been over, the course of a period of time if.

I Click on this I get to drill down into these analytics, and actually identify, the tests that we need to go back in and verify, there's. Different ways that I can slice and dice this data find, out which of my tests are taking too long so, that we can focus to get our build times down I can figure out which tests are flaking for example the about test was the one that was broken and then spent some time going in and investing, to make sure that is safe once. I know I have a high quality output, from my build the, next thing we have to do is release, that code and that's where our release product, or what we call, pipelines. As you'll see in the navigation, here is where, we take the output of the build and we run it through a pipeline deploying, it into multiple environments, and even, allowing you to do approvals, between those environments, to make that your code has safely landed in the target environment if. I were to go back in for example and look at one of these releases we'll be able to see that I'm actually deploying, this application. Into. Kubernetes, if, you wanted to use helm you could I'm a newbie, when it comes to using containers in kubernetes so I just went ahead and use some coop cuddle commands to get my code into the, cluster. And as you can see here I did a coop cuddle apply and another coop cuddle set and then I was able to deploy my code if, I go back in here really quick and edit it well, you'll be able to see here is that if I go and look at my tasks I can. See exactly what it was I was doing before, I was playing with infrastructure, as code so, I was actually able to take an arm template and deploy my entire, kubernetes, cluster into, Azure before. It even existed which is really nice as well I could, come in here make, some really quick edits the, tasks are so well written that even your pool secret is automatically, handled for you again, allowing you to take your code from the fingertips of your developers, and putting it into your hands of the users using, Azure type lines so. That just shows you some of the power that we have inside of adder pipelines, for any language in any platform alright Jamie show us some more stuff thanks. Donovan, so. Over the last six. Years or so we've been on a journey here in Microsoft that we often talk about internally. As the. New Microsoft, it, really starts, at the top but at this point it's percolated, really all throughout the entire company and it's, someone that's been here for 20 years this has been a really exciting, time to be part of Microsoft, you. Know a big, part of, what, it means to be the, new Microsoft, has been the, embrace of open source and if. You look over the last six, years you, know the amount of things that we've been doing in this space continues. To grow up go up year after year after year you know it starts with things like simply, making sure that we're embracing the projects, that the community, has chosen to embrace a great, example of this would be kubernetes. On Azure another. Example that I was directly involved with seven. Years ago was. Get. Right it, seems obvious now but back then it, wasn't such an obvious question about whether we should embrace. Git or whether we should try to compete, with it we chose to embrace it and now. Seven years later almost, all of the development that happens at Microsoft. Ends in get including. Windows and just step back and think about that for a minute the. Windows team uses. The source control system that line is built to. Build windows it, really is a very new Microsoft, another. Example, is open, sourcing, more and more of the products, that we deliver vs code and typescript are great examples as, your, pipelines itself has core parts of its infrastructure, open. Sourced so. I'm excited today because we're. Going to add another, item to, this list and that. Is free, CI. CD. With, Azure pipelines, for, any open. Source project, that wants it this, means any open, source project, can use Azure pipelines.

You Get unlimited. Minutes up. To 10 concurrent jobs, running, at the same time. Access. To our Linux. Mac, and Windows pool. We. Use the same exact, infrastructure, for open source that we use internally, for our own builds and that, we use for our customers, this means open source gets the same quality, of service that we can that we give to everyone. We. Also want it to be really easy for projects. To get started that, includes open source and really all of them since, most open source projects, live on github as your, pipelines is now part of the github marketplace, this. Means that you can discover. It's, configure, and even, pay for Azure pipelines, through. The github marketplace, so if you already have a billing, relationship with github you, don't have to setup a new one with us and again the key theme of all of this is just about making the lives a developer's easier and if they got one less payment vehicle, to manage your, life just got a little bit easier I like, to show you that in, action so let's. Switch over here and I'm going to show you as, your pipelines, as part. Of the github marketplace, so. I'm looking, at your pipelines I can configure, my plans or I can set up a new plan we. Scroll, down we can see that you could configure a free plan and like, I said it's just free for open source we. Also have a free plan for private, projects, you get up to 1,800. Free minutes if you, want to use it for private projects, you, can add more parallel, jobs you can run more of them at the same time you, can do that for, or $40. Each and again, you can configure this and pay for it right through github itself. Let's. Go ahead and choose the free offer and let's, set this up, we're. Going to configure this in. The. Raleigh labs github, organization. And. Now what's. Going to happen is we're, gonna consent. To grants as. Your pipelines access. To the repositories. It, could be all the repositories it could be just individual, repositories, in this case we're going to just grant access, to some repositories, and. Then. We'll. Go ahead and create a new Azure devops organization. And what. This is going to do is it's going to set me up with everything I need to, use as your pipelines and as your DevOps so, it's going to create our organization, and then, it's going to set, up our first project. And land, immune experience where I can configure my first pipeline on for whatever repo that I want to in that github organization, so. Let's, go use, the node container, repository. Once. I select that we'll go and analyze, that repository to see what's inside of it and we see that there's a node app in it so we're suggesting a whole variety of different node templates that we have out-of-the-box but we also saw that there was a docker image so, our default recommendation, is to use our, docker template, now. Donavan mentioned can think is code we're, going to use that in this situation and this is the definition of my build process, and it's simply saying it's going to use our abun to pool and then, it's going to go build our dock it's gonna build our docker image I could, go and modify this process, as part of it but I'm going to use the default state and now. I'm going to save it. You. And we're gonna, check. It into a new branch so what this is gonna do this. Is gonna create a pull, request on, the github repository to, add this yamo file to that repository which, will then have configured pipelines, and ensure. That all changes that go into that repository from now on are validated, then, it's going to kick off the first build to do the validation of the actual configuration of pipelines being added to this repository so. As that kicks off we can jump back. Over. To the github repo and we, can see that there's now a pull request. And go, into that pull request. See the, file that we're adding is the actual. Pipeline. Yamo file but, go back to the conversation we can see that pipelines, is in the process of actually validating. This change itself. We. Also support, the github checks API which, is a rich experience for showing the status of a variety of check of all of the sources that are hooked up to this repository so here you can see as your, pipelines publishing. That, status, into it so. This just gives you a taste of how easy it is to get started and you. Know the type of integration that we have with github as part of Azure pipelines. Now. As part. Of the run-up to the launch of Azure pipelines, we've, been working, with a number of open, source, partners. To, do some more early onboarding, and we've, been really enthused with both the feedback, and the reception, that we've gotten so I thought it'd be interesting if. We. Invited some of them to come join us so we have. Folks. From a number of from, a number of them the first is github desktop so we have Bill, hack from.

Github And he's here with Donovan to, share his learnings Donovan. Thanks. Jamie so again we have phil here from github tell me what you do it github hi, I'm Phil, hack a director, of engineering at github I and. In charge of the client applications, team so we're the team that builds all the software you use outside, of github such as get. Up desktop Adam. Which is text editor electron. Which, is a framework, for building. Cross-platform. Apps using web tech okay and then we also have, a team that builds extensions to they're part of editors such as Visual Studio adjust, your code and, unity. Awesome, so I, would imagine managing, that many products something. Is crucial, to CI has to be important, so what is CI really mean to you and what does it bring to your development I think. One of the best ways to understand CI especially, when it comes to open source projects, is to imagine, a world without it and how people would collaborate with, open. Source so imagine. You know someone named John is right and you. Know approaches. Github see the repo. Says I want to contribute to this fixes, a bug, pushes. The code up and now, Ygritte you know who's one of the project maintainer x' comes along and she, notices, that oh this person has submitted this fix. Try it out so it pulls the code down and hits, the build and it doesn't build and I'm like oh darn it you know so Wright's, comment, you know nothing you know good fix the build and. Then the, next day you. Know John's back. Let sees that you know ok fixed the build pushes, it Ygritte. Takes, it down the next day runs a test and and realizes. Oh the tests fail because you, know maybe John only ran him in the dev configuration, not the prod configuration. And what. Continuous, integration brings, is it. Really tightens that feedback loop so that rather, than you know John having to wait for some human to look at it he. Pushes up the code all the tests, run in all the proper configurations. And it. Gives immediate feedback it can run your tests, your static. Analysis, your linters, and that, way like you know you take. The grunt, work out and and really tighten a feedback loop and then, force your project, standards, and all of that and so that's one, of the beauty of CI. For open source projects yeah I remember the days when I used to come into work do a get latest in the build was broken and because someone left right and then that person has to bring Donuts the next day and when we had CI it was really cool because it would point the finger at the person who told us Donuts but you knew not to go do a get latest because you had that signal saying the build is broken which also protected, us that way as well yeah a, lot, of people would try to do the whole traffic light thing exact in the office right now they're doing raspberry PI's with LEDs, that let you know if it's if it's ok or not so there's. A lot of CI systems out there we've been doing CI for a while what is exciting you about a sure pipelines in particular, I mean, the thing that most excited me about as, your pipelines when I first heard about it is the cross-platform, nature, of it. With. Electron. Apps like I mentioned before you're targeting Windows Mac, and Linux and that it means that you often will have three different CI providers, each, of them with a different yam will file sure and that becomes a bit of a maintenance headache and with.

That Your pipelines you know we could have one. Provider with one Yamma file and have it build on all three targets absolutely, I always get on stage and I'm saying any language any platform, and people think I'm bluffing I'm like no look at our our, cues right there any platform, you need is in there for Mac for Linux. If you're doing mobile if you're doing containers, that's, amazing, and I'm it was interesting I was going, around github, the other day and every, time I'd go into a repository I see three and four llamo files like I don't understand like why are people doing this right don't they know that they can get one, yeah mole to rule them all and get you all the platforms well I mean that wasn't an option not too long ago right that's true and it's particularly nice, the, other thing about Azure pipelines is you, know through. Your generosity you're, all are offering it to, open-source projects, are free so I think we have millions of open-source projects, on github I think that's a great option for them especially, for electron projects, who really, want to target all three, platforms cool so you show me what you did oh yeah, so here we have get. Up desktop and. This. Is our. Git. Git. And github GUI, client, okay and it's an open source project we develop it in the open and if, I scroll down here you can see that we have badges, for. Our builds and this is the, azure. Pipelines build and. Then. You. Know let's take a look at pull requests so you know these. Are submissions. By, the core. Team as well as people outside, and so. Let's say you know I'm looking through here, and I see oh here's. A submission from an external. Contributor. And the, build failed let's, investigate. So. I click on that. You. Know hey thanks. Damon. For. Contributing, I'm gonna scroll all the way down to the checks API, and we, can see that. We. Can see that for, there's for failing checks and, when. I expand that we can see you, know each of the individual, checks and, I see that, you. Know the azure pipelines, build is failing so. I can click details and takes, me right to, logs. For this build you can see that you know it's it's building on Windows Linux and, Mac and it failed for all three platforms if. I. Scroll. Down here on the right I can see each of the steps of the build and how long those steps take and here, I can see oh the, linting had an error and if I click on the error I get the full log output so it helps me see. That I need to delete you know some strange. Characters from somewhere, and, and you, know I now. Know how to fix my bill and if. I want to go right back to the pull request I click there and. I'm. Back where we started, awesome, and this allows like I said I don't have to as a I maintain.

Open Source projects too and this is saves me a ton of time as you mentioned earlier just having, to, allowing. Them to get the feedback from the system and not having me stop what I'm doing clone, their repo try, to build their code to find out it's broken like oh my god I was like five minutes of my life I'm never getting back again please, someone help me do this and now or second if the build fails I don't even look at it right great, that's someone you get the same notification, that I do go, fix that and then when you're ready I'll finally go ahead and take a look at it so ya saved me a ton of time as well that's exactly right awesome, Phil thank you so much for coming and showing us how you at, github or actually using Azure pipelines, alright, Jamie go ahead and take it back. You. Know what really excited. And resonated, with me from that conversation was, the notion of being able with. One product with, one pipeline with, one llamó file to, be able to validate across, all three, operating. Systems and not, have to deal with managing any of those machines itself it's, a pain point I hear again and again and again you know so the next project we're gonna look at is in the Python space so Steve dower is here with Donovan Donovan, so. I want to go ahead and address the elephant in the room I just heard Microsoft, and Python what in the world do you do here at Microsoft that has to do with Python hi so I've been here I've been here at Microsoft for about 6 or 7 years now and the entire time been working on Python stuff Wow so a whole lot of the visual, studio integration Visual. Studio code support, for Python a whole lot of the Azure services support for Python has kind of come through. My team or out of my team so, I've been working on that few years and. I'm also a core contributor to Python itself so I'm one of the one, of the team of volunteers. Distributed. Around the world that work on C, Python the reference implementation, awesome. Design, and build the language so how. Did. You start to use Azure pipelines, when it comes to Python so. I've been using edge and pipelines internally for years now it's like all of our products are built on it as we've already heard earlier Visual Studio has been building, on it for a long time now so. I had a lot of experience you know getting. Pipelines up and going that and. Then. I I saw the cross-platform support was Kirk because early. On that wasn't there and now and now it's here and I start looking at that I'm like oh I could, be doing Python builds on this. Across. All the platforms with, a single setup right and. Any open source offer comes along it's like oh. Yeah. Let's let's, get pipe and running on this so I just kind of went out and started doing it cool and, just just to put a bit of context on that I've got the the Python home, page up here we can see we've got three, badges going for the Linux Mac OS and Windows build but. Python runs on so many more platforms than that if I run over to this, is our our existing. Build bot site this runs, tests, against, all of the configurations, that Python supports on every single commit and you'll see this is a really, really long list sure and. So. You know the, the, value and being able to get off all of these manually. Configured, manually, managed configurations, onto something that's you, know cross-platform. Continuous. Integration in a single service is like really appealing okay and. So. I did that for the main platforms, and so we have all of these pull requests builds and. Commit, builds running, now for the main platforms, and that was really just I went. To the dev guide that we have we have all the instructions for all the platforms on how to build we. Have all the instructions for the existing continuous, integration systems, and I just pulled them over into, that visual designer that you showed earlier sure and, just got, them running in their view, llamó exported, out check, it in and now it's in the repository, and we've got all these builds running out of the. Python repository configured as code now, what I've noticed is that we offer a lot of hosted, agents, and a lot of different platforms but we don't offer all the platforms you just showed there so how did you tackle the fact that you needed to run on even different platforms than that yes so so so far this is not the hundred different configurations. Right we're not at that yet but the potential, is there because as. Your pipeline supports private agents so, I can set up any machine anywhere I want. Virtual, machine in the cloud physical. Machine on my desk old Raspberry Pi sitting, on under.

The Under the chair wherever it happens to be put. The the, pipelines, agent running on it so it's net core anywhere don't it core is going to run I can run that thing if it's connected to the Internet I can start running builds, that, machine from. The, edge. Of pipeline service that's all still going through the one thing one pleasure I'm already doing that, it's. Actually the windows release build so one of my jobs, for, cpython, is doing. The official releases so the the python.org downloads, for Windows, built. By me code signed published, all of that is is one of my jobs as a volunteer, and. So you, know that's a manual process right I log. Into a VM and type all these commands and and you know sit there wait for it to finish to the publish, I want to automate that so I put all of that into, a, a. Pipeline, build, which you can see here basically my commands this. Is not running on one of the hosted agents because it's got kind of some special requirements, to it we do profile, guided optimization, on on every, release build so. We want you know much more powerful machine faster CPUs to get through the training that much quicker gotcha, I just to save us some time. There's, also code signing so it's every, single binary and the Python package is signed with authentic, code certificate. Under. The Python Software Foundation name, it's valid on every Windows machine in the world basically, that's. That's a high value. We. Don't want I don't. Want that you know bouncing, over the internet every time I do a build that's locked, down on a private virtual machine that I have running on Azure here's my cue or, my pool, you can see it's offline at the moment I don't even turn the machine on if I'm not building anything it's, encrypted at rest, it's, encrypted wallets running BitLocker the whole way through the machine and so, I just log into the azure portal start this machine up queue, up my builds let them run shut the Machine down and we. Have. Like. A custom. Secured, machine that no, one else has access to no one no, one's making one of those poor requests, where they just like download, all your certificates, and send them off to their own site absolutely because we never even run poor requests against this machine yeah so having that private, agent there as an option to be able to expand beyond not, only the platforms that we provide but also very unique secure. Scenarios, like the one that you just described, where you're, able to no there's no way anyone's getting to that file because there's only it only exists in one place and that one place is encrypted to the enth degree but. I can still use that machine to run my build which is incredible, yeah and so as. Far as getting say python building there's there's integration steps more to do like there's a lot of cool features that were not using on pipelines yet. But. The flexibility, is there the potential is there and so I'm really excited to keep building on that I know, I'm gonna be building on more of this this week so if people log in at the end of the week then they're probably gonna see changes in there already yeah but this is for what I understand the engine. That most of this code is actually in see that actually drives Python but what if you actually want to build a Python, app is I mean are you able to do that just as easily yeah, that's yeah one of the the newer thing that's that's showing, up in pipelines, with you know this, you. Know being released right now is a whole lot more Python support and, we actually reached. Out and got a couple of projects on board they were very excited to do it talks, pip, pip End Python. Developers will be familiar with this cuz they're very well known projects, there but. I want. To have a look at talks actually, because it's one, of the the more. Thorough. And complete integrations.

That They've done and there's some really cool aspects to it so okay talks is actually a tool that is used, in CI systems, people it. Lets you specify, a. Configuration. File with all the build steps and run. That across all of your. Full matrix of target. Platform okay so a Python project is normally. You care about Windows Mac Linux you. Care about Python, 2 7 33 34 35 36. There's. A big matrix of C test against talks helps you with that it lets you write one set of instructions, if I pull up their file you. Can see there's a lot of environments that they care about and they have all of these steps. And this, was already there ok, this was already there in talks like people have this file. So. When they. Came. Came on board the pipelines and started using it they, set, up a build that like they wanted to reuse that file you guys they didn't want to go oh we have to rewrite everything in a completely new form, so. If I pop open their, most. Recent build which, I've got here. We. Can see, that in, fact let me jump to there there yeah more file because I made a yellow file 3 because that's you. Know they want everything in code yep and, it's not it's not even as long as the other one there's a few steps in here but essentially all it does if I look at one of these examples they're picking a version of Python we have them there we let you choose the version you want at the start of each thing ok, then, they install themselves they install talks. And then and then they use stalks to test okay. But. What they have done is they've actually inverted, it so normally you'd say run stalks run everything sure and it does all of the platform's all the configurations, in one go they've inverted, this they're actually using our multi version, so our matrix support, okay so they have the matrix here of all, the versions and then they use stalks to run each one and let. Us do it in parallel gotcha, so if I jump to the build and have a look at the logs you can see all of these jobs down the side which. Is every, configuration they care about all the operating systems different. Queues for each one of these so this one ran on Mac this one ran on Windows, different. Versions each of these ran in parallel yeah. Because, we'll run them in parallel each one is running. Talks just a single environment sir inside, it so. They're actually getting the same result. As they would have if they were running talks on a single machine but, it's all come in parallel some. Of the cool stuff they've done here is they're using these guys you, know really good at using kind of the standard tools, that exist in pythons so they, use the standard code, coverage tool, that most Python projects use this. Generates a cobertura file okay we can upload, and give, you the summary right here and. So that integrates nicely with, pipelines, because we understand that file format tests. They run in PI test which connects port j-unit, perfect, XML, they, then push that up and you get the summary here if I jump over to the Test section we. Get all the results they, have good results right now so let me clear that filter. And. All of the test results for their. Process. Sorry about the size here that's, fine here we go we can see all of the tests that have been run and if any of these had failed then we'd get the information from that so all. They've really done is taken their existing. Build. And test tools and. Switched. It over they've inverted the matrix a little bit to run on pipelines and. They they get all this really nice integration they haven't had to rewrite their entire system to keep using the standard Python tools that. Is already out there and they're really just bringing over you, know what what shell command should we run at each step and it's really nice to not, have to learn something new yet you get this really rich first-class, experience, like, you showed me the code coverage and the test results and it's integrated. Into your summary it's not as if yeah we know how to run your stuff but we don't know how to display, the results to you but we do which is really amazing that you can now use it again any language any platform, but you don't sacrifice anything, when you do right we don't care we whatever, you want to bring us we're gonna build it for you to help you deploy it so I really enjoy. And I'm really glad that you came and shared with us how Python is actually, able to leverage as your pipelines as well so thanks, again for coming and Jamie back to you.

Thanks. Donovan so, the last project we're gonna look at is Visual Studio code and I have Amanda silver here with me from the Visual Studio code team and, Amanda. Everywhere, I go I see people using Visual Studio code developers. Really of all types have just embraced it in an amazing way you must be thrilled. Yeah I mean I joined the Visual Studio code team about two years ago and since, its release in 2016, it's actually become one of the most beloved code editors that's out there in the planet and. Part, of the reason for that is because we have a really rapid, cadence of updates, and releases that have new features and the, way that we can support that is we have actually a lot of community contributors, we, have over four million monthly, users, of, v/s code and, we. Actually have one. Of its one of the most popular, open source projects. Out there on github, in. Terms of people contributing, to it we've, had about. 15,000. Non-microsoft. Contributors. To the vs code project wow that, must take a lot of work to take it out many contributions yeah. It is it's actually a lot to manage and our development. Team definitely says, that. That. One of the most challenging things to deal with is actually code, reviews and in, fact even when we interview, other developers, who are users of our tools they also say that code reviews can be really really painful senior. Developers are just bombarded. With requests, for reviews and when they actually go in to do a review, it's, really hard to figure out kind of where to focus and. Even further you're oftentimes, using, a web editor or something that's kind of not, your usual tool set so, we've. Been working with the github team over the last couple of months to see if we could address some of these problems and. Actually. We've just released. A new version of es code that has some new api's in it and the, github team just released a new ex mention four. PRS. That, allows. Us to kind of have a PR, experience directly NBS code so that should make it a lot easier awesome. Yeah it out sure okay. So what you can see here is I have my FES code at, code editor right here and you can see that I have all the colors that I expect, all the theming that I'd like to see I have the get like it lens extension, here which is a super. Popular community. Contributed. Extension, to the vs code community. But. I might have a pull, request to do and so, if you go to the source view right here we, can go right here and look at the in. Addition to kind of seeing the usual changes, viewlet. I now have a new viewlet, in here called github color pull requests, and I, can further just go ahead and expand, that and see that there are some new, pull, requests that are waiting for my review so, what I can do here is expand, that as well and even look at the description, now right in the context, of of. BS. Code now. What I probably want to do is then actually go look at the code changes, so, I can come in here and I, can see a dip, few right, here in vs code which is pretty awesome and that allows me to do that kind, of you know first glance a review. That, I might want to do looking, at the two deaths and but I get the the color the, colors and theming that I'm used to you for the you, know typescript code that I'm looking at in this case. If. I want to do a deeper, review though what I can do is go back to the pull request here, and go ahead and check that out and what, that's going to do is it's actually going to switch vs, code into a code review mode, and bring, all of those changes locally, so.

Now I can go ahead and look at the changes, in that pull request go, to the files look, at that same file and I'm, going to just expand, this so that in the. Full kind of view. I actually get all of those same extensions, completely, running in this in this code editor right. Here and so, what you can see here is that I actually get a squiggle, and the reason I get that squiggle is that because all of the extensions, are running on my local copy of the power of the changes, the. Typescript, compiler is actually checking statically. Analyzing, the, code here so. If I mouse over this you, know we can see that, we. Can see that this, variable. Is declared but, its value is never read so, what I can do is then just go ahead into the gutter here and just add plus and make, a comment, looks. Like this. Isn't. Used and, go. Ahead and add that comment, and then. The other thing that looks really weird to me is that these hard-coded, values so again I'm going to just add another, comment here and say hard-coded. Values. And. Go. Ahead and. Add. That comment. And. Then. I can go back to the, description. Page for this pull request and just. Go ahead and add. A top-level, comment. Left. A few, notes. So. Add, that comment, and now what I can do is actually go ahead and look at this change, directly, in github and what. You can see is that the comments, that, I added. Are. Still. There just right, here hard-coded, values looks. Like this isn't used you know immediately, what I what, I just showed is now in. Get them now, even, further if I go back to, vs. Code what, I can then do is go ahead and just exit review mode because I'm done with this review and just. Go ahead and exit it and just, go back to my normal coding. Go back to my normal view but. Now what I want to do is go ahead and look at that look, at that pull. Request one more time just to make sure that you know the build past and that's really where as your DevOps pipelines come in so, if I look down here, what. You can see is I can go directly to the vs code build and this. Will bring me directly into the azure devops pipeline experience. And. What, you can see here is that we for, the vs code project, we, really, have as your DevOps pipelines, and the reason is because it allows us to build for Windows Linux, and Mac OS, all. Simultaneously, using. All the same kind of infrastructure, all the, same scripts and. So what we can see is that we have all, of those builds, and they all unfortunately. Failed so, let's just go ahead and look at one of these. I'll sources, and what. You can see down here is. That. Yeah. So we also have, the zoom level default, is declared, but, its value has never reached so you, know well. That error, would, have been picked up in the CI which. Add your DevOps pipelines, really would help with as well, you. Know now, because I could run that as part of my review it, it, might not even get to that level I might actually be able to to, say hey you, know before. You actually merge this, you. Probably should fix this error this. Looks really cool I can see how a lot of folks are gonna get a lot of benefit out of doing, this and it's going to make their their, review process and just a lot of what they do every day a lot simpler and I'm happy to hear that as your pipelines is able, to make the actual development of vs, code simpler.

In And of itself yeah we really appreciate it and definitely our development, team I think is going to you, know feel super. Powered by. Having, as your pipelines behind them if. Other folks want to try out the the github pull. Requests. Review. Extension. It's actually available with the latest vs code and, in our extension, gallery so they just need to search for github, pull request awesome. Thanks, a lot Amanda cool thanks, Jamie so. We've talked a lot about open. Source projects, and you. Know the thing about Azra devops is that it works great for open source but really for all types of applications from both the smallest to. The largest, we. Have organizations. Of, all shapes and sizes using, it today shell. Is an example of a large organization they, have over 2,800. Developers, using average or DevOps all over, the world. Hawaiian. Airlines when they moved to Ashby DevOps was able to increase their, built improve their build time by over 400%. You. Know because as your DevOps is a cloud, hosted. Service. Getting, up and running is really simple so Accenture is able to spin up new projects, in no time with Azure DevOps, now. Really, the largest of all organizations, that use Azure DevOps, is Microsoft. Itself we. Have over eighty thousand people that use it every month to ship our software, and the numbers, are, just staggering in terms, of the scale. We do over 4 million builds, each month, we. Do 500. Million tests. Executed. Every, single day every. Single day every we. Have over half a million work items to get updated and the number that I find, the most satisfying, is that. 78,000. Deployments, are done with Azure pipelines. Every. Single. Day which, means there's a much smaller window from when we write code to when it gets to you which is better for you and frankly, it makes our customers our developers, happy too, because they have a much, shorter wait. Before what, they've created gets, in your hands, so. I thought it'd be interesting to, actually show, you how we use, Azure DevOps on a regular basis so of course. We use Azure DevOps to build Azure DevOps so. Donovan. Is going to give us a walk-through of our actual engineering system the actual system, that our engineers, are using right this minute to build Azure DevOps so, Donovan let's taken us have a look. Thanks. Jamie I love. That inception, kind of work that we have where you actually use the product to build the product and we're not the only ones inside of Microsoft that, uses it we obviously have the windows team some of the Xbox teams and everyone's, moving to what we call our one engineering, system so what I thought it would be cool to do is take you through like the day in the life of an engineer, on the azure DevOps team and what, they experienced. To get their work done using the product that they build and to build a product that they use so. Here we have a dashboard imagine. You're coming into work and you see this dashboard on your plasma, screen, or on your surface and you can see exactly what your team is working on what, sprint you're currently in how, many days are left you, can go and see what work is currently assigned to you how many bugs you have out there you, can see the health of your builds, your team members what, features you're working on and make sure that you're focusing on the most important, things first this, dashboard is completely, customizable, yours can look completely different we have a great library, of widgets that you can use to build it and what they're able to do here very quickly is see exactly what they're supposed to be focusing on so that they can deliver the highest level of value not. Only do we have great dashboards, but we also have product backlogs, backlogs. Are a priority list of all, the things that you want your software to do you, can simply drag and drop items from, here, to assign. To a particular sprint so you can start doing some sprint planning as well I won't drag anything now because as a Jamie pointed out this is literally where we're building the product and I don't want to assign, work to the wrong sprint I love, the fact that I can expand, this and get a really nice view of exactly, all the work, necessary to turn one of these ideas into a working piece of software, we. Also have the ability to have Kanban, boards this, allows you to visualize, the movement of an idea from, creation. All the way to being done and actually being run in production and done, for us means it's actually being monitored, in production, so that we can learn from the telemetry and decide, if our priorities, are in the right order and go back and use that data we call it monitor and learn, again.

This Is a very rich user interface where we can simply drag and drop these, tiles are already assigned to people and, one of my favorite things that we can do here is actually create a branch right from, the board for, the work that we want to go off and create, so, now I'm using git we're, using feature branches, I have a feature I want to go implement I don't have to go off and create the branch separately I can create the branch right here from this board and what, happens up happening is that, work item now becomes associated to that particular branch, and that traceability lives, throughout the entire course of this work so not only do I have the branch tied to the work item every, commit is also, associated every, CI build that is triggered every release that is deployed is all, traced back to this particular work that I was doing here I like, being able to see every line of code that I changed so I can do test impact analysis, and I don't have to go running around to find it the system actually gives that to me by simply creating a branch once. That branch is created I go off and do my work and here's, our git repository, and you can see on the left hand side how all these branches start to come back together this allows me to visualize, the. Branches that were created the pull requests that merge them back in the master to make sure that we're delivering on, our goals. We. Don't just go merging, back into master willy-nilly right that could be a recipe, for chaos so what we do instead is we use a process called a pull request a, pull, request is an opportunity, for our peers, to review, our code before, it gets merged back into master. Because master is the law this is our golden master and we want to protect that and we protect it through a process called a pull request if. I were to come over here to the pull request tab it shows me all the poor Qwest that are currently running a pull, request is a chance for your engineers to review each other's code it, also has the ability to run tests and run builds against the code as well if I were to drill in on one of these for example I'll just pick a random one here we'll. Be able to see everyone who's involved in the commit will be able to see everyone who, has made changes what lines they're on I could actually leave comments, on each individual, line discussing. With the engineer, what's, good and what's bad about these particular changes if, I wanted to I could see if there's any conflicts, the commits and, we also have policies, applied, to different branches and the, policy, that we have applied to our master branches you have to survive a build and in, that build we run a lot of tests, I believe, if I remember correctly. We're, running somewhere near eighty-three. Thousand, unit, tests every, single time you do a pull request and if a single one of these fails your, entire pull request gets stopped so we want to make sure there's a lot of quality a high level of quality because. These are unit tests we can actually run, 83,000. Of them in less than twenty minutes we're, getting that signal back to our developers very very quickly and because they are supposed, to pass we've, all had flaky tests in the past and people, start to ignore those we.

Worked Really hard to make sure that these are solid. They're fast and they're reliable such that if a single one of them fails no, one ignores that we go immediately and figure out what failed and we fix that code and we start this process over again to ensure we only ship the highest, quality code to our customers, and to ourselves, because we are our first, and biggest customer, here at Microsoft. Running. All these unit tests allow us to ship the highest quality code to our end users and it doesn't stop there we continuously. Run tests against, build after build release, after release to make sure that, we only ship high quality code and it. Behooves. Us to do this because we're the first people, to get the code that we ship we don't put it on to our customers unless it survived time, with us here, at Microsoft when you use the tool that you build to build the tool that you use you, cannot risk having bad quality, software because it could stop everything that you're doing as a matter of fact here is our deployment, plan and, what's really cool is we actually use safe deployment. Here at Microsoft which means we. Deploy to in a production environment and, we, let the code sit there for 24 to 48 hours and it has to survive our telemetry and our monitoring and our daily use before, we then allow it to deploy to another environment, this first environment, which is identified here as ring zero is actually, where the azure DevOps, team actually, works so when we're pushing out new features we're, the first to fill those features, if we make a mistake or, the only ones to fill the pain of that mistake we go back any recorrect it after. We let it sit here and we monitor the telemetry we, check for any new work items that have been logged for particular bugs we make sure that it's healthy and can sustain our traffic we then promote it to the next string of our deployment and we rinse and repeat this until it gets all the way out into production, for all of our current users so, this is how we ensure and, how we use Azure DevOps, to produce Azure DevOps for our end users. Thanks. Donovan now, as you saw as your DevOps is really a full end-to-end, solution. Across, the entire DevOps, chain with, great traceability. From the start all the, way through to the finish it's. Highly. Scaleable from the smallest team all the way up to the largest team its, Enterprise, ready you, can run in whatever geo that you want you can keep the data close to home you. Can run it in our cloud or we'll take care of everything for you or you can run it on premise, with, Azure DevOps, server which lets you install, and manage. A cert the azure devops services however. You want you really have a choice between a public and a private cloud. Now. Azure, DevOps is the evolution, of visual, studio team services, which. Is why we're able to capture so many of the learnings, and innovations, that, we've had over the years and this. Evolution, is really based on the feedback that we've gotten from customers, and that cost that feedback is about choice, you. Know lots of folks want to be able to use the full end-to-end, solution, the way Donovan just showed you but. Others, want to have the choice of just choosing a particular part, of it just using pipelines, or just using, artifacts. Or just using boards and, putting them together however you want and you're able to do that so, you can choose which parts of Azure DevOps you want to use and assemble. Them with other solutions so, for example if you wanted to use Azure boards, to do your planning and github.

Store Your source control and do your pull requests, but, use Azure pipelines, for your CIS CD and take the artifacts, that were produced and put them in artifactory, and then, use ansible. To deploy them to AWS. Or Google great. You can do that you, want to mix and match you know however you want if you want to use Azure artifacts, instead of artifactory, and jenkins instead of Azure pipelines, it's up to you you can assemble these solutions, in whatever. Form make, sense to you now. This. Is really an evolution. And in a broadening, of the Azure ecosystem. So, as your DevOps now provide, a juror with a new set of services, to help developers, make. Their lives better we're really making. A charade developer. First, cloud as ur already, has very broad support you know there are hundreds, of tools and technologies, many of them open source that. Are part of that the azure ecosystem. From. Terraform. To Jenkins, to chef to puppet you, name it and Azure, itself, has a whole set of first-class, services, that are really, important, to the DevOps lifecycle, one. Category, of those is really focused on telemetry analytics. And insights. You, know when Donovan talked about what DevOps means to him and the definition, of it it's really clear that DevOps. Does not stop with deployment, you, have to get telemetry in your application, you have to know whether. That application, is performing well how folks are using it you. Know in this day and age data. Is becoming a core part of how we build software and asher. Has a whole set of, services. That help you do that from azure monitor application, insights. And log analytics, they, provide predefined. Defaults, so that you know what. The thresholds, are you should be expecting from a high-performing, applications, it helps you visualize all. Of this data it's coming in and customizable, dashboards, and it. Has infrastructure. To help you separate, the signal from the noise because, as we move into this more data-driven world there's so much data coming in it can often be hard to really tell what the important signals are from, all of the different noise and, of course all of these services are highly. Extensible and, work with existing processes, and tools like ServiceNow, and this, includes, of course Azure DevOps so. They're really powerful things that you can do is take all of this telemetry insights and tie, it in to, the actual workflow, processes, and in terms of how you work and Donovan. Is here to give us a walkthrough, of how you can do that Donovan. Thanks. Jamie like, you said going, back to the definition of DevOps we want to continuously, deliver value. You, can't just randomly copy files to a server and assume, that you delivered value if no one uses them you didn't the, only way that you know is that you monitored the application, and here. Inside of azure we have an amazing offering. That allows you to monitor not only the application, itself but the infrastructure, upon which it is actually running I can, make, sure that my infrastructure, is secure see if there's any patches that need to be run I can, see my application. Health and I can configure all of that using application, insights in addition. To that application insights. Ties in really well inside of Azure DevOps and Azure pipelines, here, I can go to a dashboard that I've created this is the actual application, insights container, or all the data from an ojs application, that I've written is actually, being pumped in I'm, able to see if I've had any failed requests luckily I have not I'm able to see what my server response, time is if that starts to go up or down I can go back in and make adjustments to my code ship, out a new version and come back in and check these numbers to make sure that they're looking good I also, have availability tests running it's been rock-solid, since I deployed this I've had a hundred percent success rate if for, any reason one, of my, applications.

Is Unaccessible, I will actually get a notification saying, I can no longer reach your particular application and I can actually test. From several different locations so it'll test from all the, different regions that we have available for you from Azure to make sure that your app is accessible from, everywhere and if not I'm able to go back in and, make it a fix for that what, I really like about this is that I can actually incorporate this information back into Azure pipeline, so what I mean by that is earlier. I talked about how we use safe deployment, how we deploy our application into, a production environment and, we monitor it there well that monitoring, historically, has been manual, p

2018-09-13 06:09

Show Video

Comments:

Guys! What is amazing! Wow!

I wonder if they made everyone use Edge for this presentation...

Absolutely awesome stuff, keep it up!

Yo Microsoft do you have anyone over 45-50 years old in videos or does that not happen? Eye roll...

Great product. Thanks! : )

Silly question but what is the first songs name?

You got this one right Microsoft! Kudos!

Other news