hi welcome in another video of cloud in five minutes today I want to talk about
the azure devops projects are they really worth it ? Also I have
an English version of this video, just click here in the top-right corner
so the other day I saw that DevOps project were available now in Azure and
I was curious to see exactly what's coming with it so I decided to create it
and I really liked it so let's create one so from the azure portal let's go
and click on that plus and then we'll look for it develops so we see DevOps
projects this is exactly what we want so we'll go click create and now we have
multiple projects template that were suggested to us so we mean whoops let's
scroll this way so now we have multiple projects are available to us so we have
that net Java static website no GS and you could even
provide your own cone so just for today let's go and create the static website
so of course I'm in a static website so I don't have a lot of frameworks right
now for example if you pick that net you have the choice between the regular net
or dotnet core so let's go with the static website and now I decide we'll
all go with container or a web app so let's take a web app for now perfect so
now it's time to configure the VSDs visual studio team services this is
where the DevOps part really comes to the repository or CI CD will be there
and everything so if you don't have a visual studio team services I should
really do it it's free and you could be five team members for free it's really
good so ref1 so I will pick mine for the name of the project I will be super
original and take cloud in five minutes and then we see that it already suggests
the same name for my website and we'll pick a location so let's create a queue
east us and let's do it so now what's happening in the
background is Asscher will create for us a template of our project we'll compile
it of course in our case right now it's static so no compile but if it was a
dotnet or Java or something else it will be compiled and we'll run
create the artifact and then deploy it in the real portal we will also have
application site pre connected to our template so you got everything packed in
one few clicks and you're ready to go so perfect it's already created so here we
are in the dev ops blades so we have bunch of here
little shortcuts for the VSDs so we have the own page your repository the builder
release the agile backlog so we have all that if again if you don't know VSDs go
create your account it's free and it's really really really worth it
so here we see our CI CD pipeline so we see the code was created and add to our
solution right now we see that the build is running so it's not deploy yet so if
I click on my website I should see that the website is there but it's an empty
shell so I have let's have a look and exactly that so while it's deploying
let's go see in VSDs so have the code repository so let's go get the code so
this is the repository in git and if I want to clone it have here so it's like
any git or github it's really similar so let's take that URL now from visual
studio code double-click on that so from vs code I will open the console
do a git clone and we'll paste my url right away so I select the path where I
want to go so just in dev now I need to enter my credentials so BA I see right
now all my code is there and of course it's a static website so it's pretty
drab so okay so this is the website we'll change that but before do we will
check if the deployment is done so let's go back in the portal
and if we refresh that so yes it is succeed so let's open it
see ya success so now what we will do is try the CI CD done for us so let's
change this for cloud 5 minutes yeah so save it and now because I'm in yes code
I've get integrated so quick fix quick fix will add this file commit now I will
push push of course credential now if I'm quick
enough I will go in the so if I go in the pipeline so now we see that it's in
progress of course for us the compile will be super quick but if it was
darknet it will have been a little bit longer so succeed if we go in release so
the build was success no mistakes of course you could add tests and have a
little bit more stuff in your build right now it's very very basic obviously
releases the second release is in progress and now it's done so if we go
back to our application and we refresh we see your change so it's pretty cool
everything packed together so you got your code and it did like a first pass
doing like your build you release deployment we didn't have a look but if
we look here we have even my application inside of it is already pre-configured
and integrated to our application that we just deploy so it's really really
great so everything is back few clicks and everything is done for you the only
downsides that I found it yet is if you delete this it will fantastically do the
job to delete your website your application inside
but it will also deploy the projects where is your repository your code
repository I will have prefer like a checkbox uncheck but you know this is
really minor obviously it really it's really awesome like next project I'm
doing am I'm using that for sure if you want to know more about the DevOps best
practices join us on June 16 it's the global Ashley boot camp so around the
globe you have an event the full day for DevOps people you would like to know if
boot camp is available close to you go to the global DevOps boot camp comm
website and check personally I will be part of the Ottawa one and I know one is
also available in Montreal I hope to see you there
I hope you liked this video and I hope it was useful so now go create your own
project see you next week bye bye