TechNow Ep 74 | Automate your ServiceNow CI/CD pipeline

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello and welcome to tech now the web series for ServiceNow builders developers and admins across a wide variety of now platform topics thank you for joining us today my name is Chuck Tomasi senior developer evangelist at ServiceNow been with the company for about 10 years and I think it'll be 10 years in June more or less but was a customer for a couple years before that I've done implementations in ITSM I was in professional services now called customer outcomes free sales enablement it's been all over the map and I am happy to be here today the short answer is I bring a lot of experience mainly around the platform custom applications and integrations and look forward to talking to you today I'm not the main presenter though we have more people on this webinar and I would like to also introduce Greg step go ahead hey everybody I'm Craig step and I am the manager of cloud labs and if you don't know what that is I actually helped spin up all the instances for knowledge conference which we're gonna talk about that in just a little bit has been specializing in cloud automation and been around here since 2014 so I'm coming up on 6 years and of course I've been helping Chuck out for since 2016 on this to him so about 4 years now right you're helping me out a lot longer than that but it's a story for another time that's right so anyway I'm into podcasting photography Linux collect good stuff and without further ado I'll pass it along to Jeremy hey folks Jeremy Duncan here platform architect on the solution innovation team here at ServiceNow I've been here about seven months so finally made it to the mothership but I've been developing architecting service now for about eight years now so pre aspin been a customer of service now also consulted for a company for ServiceNow and now get to work you get the pleasure to work here so a spoken knowledge but ended a knowledge knowledge event several times we mention we do have some new news around that so stick around learn more about that just a fun fact about me I am a certified reserve police officer for the city of Hendersonville Tennessee been doing that for about seven years so I get to code during the day and go fight crime at night so without further ado when I hand it over to today's presenters Chris Thanks it's so hi my name's Chris Faulkner I've been around ServiceNow for about eight years now kind of go way back there with Chuck will you be on professional services what's called customer outcomes now and then I've done given SC and ServiceNow has sent me around the world I lived in Sydney for a while in Singapore now I'm back here in San Diego and yeah years later still loving this stuff so it's great to be on this podcast because I've been consuming this for years I'm a big fan now so it's nice to finally contribute so I'm looking forward to it thank you we appreciate it very much all right let's get on with our agenda today we will be talking we did our introductions Chris is going to introduce you to what is the nail platform CI CD and why you want to use it will it go into a demo you get to see how it works within the platform a lot of great stuff don't want to steal his thunder and we will have Q&A just a reminder if we don't get your Q&A put the Q&A watching live with the Q&A in that Q&A panel we'll do our best to answer these as we go but if we don't get them all by the end of this hour we will be cross posting those back to the community so give us a day or so to answer up all those questions check with the subject matter experts and we will be posting those back you'll get an email that says hey we've got your question we got your answer here's a link or links if you haven't add some more ask more than one right back to those so don't think we're forgetting about you and don't like we do indeed love you very much in fact we want to also remind you that we have the Orlando broadcast happening this Thursday March 19 days from the time we're airing this if you're watching this and then go back to the on-demand webinars from the events page on ServiceNow comm you can catch it there if you're watching this after that but we encourage you who invite you to come along with us to see the keynotes of what's new in the Orlando release this is being recorded March 17 2020 the live broadcast for this is March 19 2020 so don't want to confuse you on the dates Tuesday Thursday done join us there and then afterwards after the keynote we have spotlights for the different products whether it's ITSM or CSM our platform whatever you want you can go deeper into the with demos with discussions with the people who bring you those products lots and lots of good stuff of course there's way more stuff for that we look forward to seeing you there and check that out also on the docket we did mention knowledge 2020 this is our big conference every year and the news if you haven't already seen it is we are going digital because of the current virus situation with kovat 19 the corona virus that's happening all around the world and causing people to stay indoors and lock their shutters and go virtual and use webinars it's a different reality we faith now and we have adjusted to that quite all if anybody can pull off a digital web and a digital conference needing service now we've already got the technology means to do this we will be delivering this look for more news and details about that so although it says Orlando Florida it's going to be a virtual Orlando I'm not sure how we're going to get to the amusement park but we'll answer that at another time how we deliver this content we are still putting together the workshops we're still putting the other the speaker sessions all of this stuff is going to happen just in a different format so look for news about that you can find out more including an FAQ over at knowledge dot ServiceNow dot-com so stay tuned there and we will get you information as we have it I also want to invite you to go over to the success center at ServiceNow comm slash success wherever you are on your ServiceNow journey whether you are just starting out and you want to know the best way to implement a coherent accurate cohesive CMDB or you are an old veteran from 2006 I've been doing this for a long time you want to find out what the best way to do your upgrades is or how you can observe technical best practices lots of great information over on the customer success center there's even an app that you can just check a few boxes and it will give you prescriptive information on what you need to do great stuff go over there service now.com slash success also want to encourage since this is targeted to developers and builders and admins developer dot service now.com I just had to do that because it's one of those things when you mention a web I saw it coming it is just habit now in read personal developer instance use it as a sandbox to test things out learn about the latest features before you do your upgrade on your production instances in your sub prod you can get one early you can get early access to whatever the release is for example Orlando is now out but hey the developers had access to it six weeks ago so not a bad deal you can do that all for free all of this is for free developer dot ServiceNow DICOM training plans documentation and it's been reface in about mid-march so if you haven't seen it go over take a look give us your feedback what do you think of the new navigation the new layout the way things are expressed right on the home page you can tell about your personal developer instance status and activate plugins lots of great stuff very easy to use and fy'y to go take a look at that and without any more commercial breaks let's turn it over to Chris for why we came here today awesome things Chuck alright so I'll go ahead and talk about what we're gonna cover today here's a safe harbor slide a lot of this stuff is Orlando and we'll talk a little bit about what's coming up in Paris but I just keep in mind that a lot of the stuff something could change all that good stuff so we're gonna look at today is what we're calling now platforms see ICD so a lot of people know if he releases ago we came out with a ability to integrate with git and you know that's somewhat limited but so now for Orlando we've made a lot of improvements so now instead of you know the old school way of manually taking update sets and migrating from one instance to the next now we've done is really taken advantage a lot of the DevOps type practices like CI CD which is continuous integration continuous deployment and we've opened up the platform to be able to leverage that technology which is uh it's it's awesome and I think this is going to open up a lot of doors towards like the efficiency for developing and deploying and giving stuff out there rapidly so for Orlando what we've done first off is we got support for local enterprise git repositories so what that is is it allows what we do is using the mid server you can you can actually declare mid server and use that to use an on-premise Enterprise git repository so that's a big show suffer for a lot of our larger customers because the guide IP requirements and things like that they're important to have their own enterprise git repo on Prem so now you can actually leverage that so that's that's a big one also we have been called what we're calling selective commits so previously when you were in studio and you wanted to push your application out to over to get and commit your code it was basically all or nothing so what you had to do was you had to commit the entire application so everybody that's stopped working and it was kind of disruptive so what we've done now is you can actually each developer can when they want to commit the code choose which files which things you want to commit so what this does is it causes a lot of less it's less disrupting and it enables everybody to sort of keep developing as as each other's committing the code collision avoidance this is really so when you have multiple developers on the same instance working in the same application it's all tied to its type in the same view repository so whenever one person is working on a file you don't want that another person coming in and making changes that file before you've had a chance to commit a source control so we've added some collaboration capabilities in there to help deal with that and another big one is merging and get so before letting me know we didn't allow you to actually merge branches and get and then bring it back into service now now you can do that so that opens up a lot of doors to be able to use source control that the way it's supposed to be used so now the way we're gonna the way we are enabling a lot of the automation all this is well well we have a CI CD REST API as well as integration of spokes so what that means is we've made it where you can use either you can use third-party tools like Jenkins or you can actually orchestrate everything from testing to deployment plug-ins activating plug-ins doing ATF tests those kind of things using third-party tools and then also we've made integration of spokes available which is what we'd do a little demo of today integration of spokes that you can also do all this automation with and for Paris what we're looking to come out with is git repository support for global scope so currently when we use the git repositories you can only do it with custom and you custom scoped applications so for Paris are gonna allow open that up to global scope now the reason that you can't we don't allow global scope to be done with git repositories is simply because right now whenever you bring an application and from get into your instance it is initially uninstalled your entire application and then reinstall the fresh copy forget and you could imagine if there was a global application and you've got some very critical global files and records in your application and for whatever whatever whatever mistake might happen you might accidentally delete a very critical global file it could be destructive to the instance so what we're introducing in Paris is its Delta loading so instead of uninstalling or reinstalling the entire application we just bring the Delta genius and forget so that way you're not risking getting you know wiping away a lot of gold files that you I need so just a little bit of background as to why why that is so but keep in mind that even though you can't use global scope with your gift repository you can still use it with these CICE API so you can still publisher you can still create an application a global scope allocation in this video and you can still push that up to using your application repository push it up through I want to say a frico I mean the store the store that every customer has so you have your own each customer essentially is their own application repository where your interests your applications go so say you publish it from your dev instance then that's why when you go to your prod and since you see your applications show up because you're sharing this application repository so you can still in leverage that with global scope that's okay all right so risk with Chris before we go on a real quick question that I know is going to come up we've got now platform CI CD we've had a DevOps application for a release or two can you can you speak real quickly to that yeah definitely so the DevOps application DevOps enterprise application is application in the store that that we've introduced and what that does is it really to manage a lot of the longer DevOps process is outside of ServiceNow currently is what it does that you know uses agile 2.0 change management gives you a lot of visibility into the process so that that's been there and then actually there's a lot of improvements being made for Orlando in that as well so what's gonna happen is when what I'm talking about here is actually developing in the platform so what the future is gonna hold is that DevOps enterprise application that's out it's gonna play is going to tie in directly with this the better together you know seeing a platform story we've actually already have ID now what we call now on now internally so our own surf team is using the capabilities I'm gonna show today and they've already tied it in with that DevOps enterprise application where but basically everything's working together so whenever you you can tie your stories like you're agile 2.0 stories directly to a commit and then it goes into github and all that stuff and then you've got your change management process all of its seamlessly tied together so uh so yeah that's a good question chuckle that's that's um I think those we're gonna see a lot of good stuff and that another plug for knowledge 21 of the sessions we're gonna do is actually having the surf team share that what they've done how they've done that helping to end process DevOps process using again what I'm gonna show you today as well as the DevOps enterprise applications to make sure you check that out as well excellent so what just to summarize they are not mutually exclusive they actually we're better together like you said it's it's a or B or a and B it just works great wonderful right sure okay so what I'll go and do now is I will share my screen for the demo so go ahead and share okay you see the screen I'm waiting for it Bert yeah there we go wait there got get it okay all right cool so one of the demo today is that's gonna be a deployment process going from you know developer developing and development instance onto a test and since the broth doing testing and using these CI CT capabilities so I want to do before I actually get started in the flow is just walk you through the different different systems have up now just to give you a little preview and make sure you know so you understand what's going on here so here I've got the I've got my browser open and I'm logged in as Neha who is a he was a developer here and actually is named after Neha one of our engineers she she runs the engineering team that built a lot of stuff you're gonna see without our engineers the service now everything's nothing but a powerpoints and prototypes they make it real okay so but yes so they've just amazing engineering teams we have so uh so yeah so she's gonna be I'm sorry but can you zoom in a little bit we had somebody saying they're having trouble seeing the entire screen sure all right I didn't want you go too far without a he just zoom in some there we go how's that 125 should be all right yeah thanks okay sure okay so I'm in a development instance here so it's his knee not in a Devon since and this is where I'm gonna do the develop the development in studio and all that good stuff and then what I'm gonna do is once she's done developing she's going to commit the code and it's gonna go into a git repository so here was get up I've got github open are you seeing get up on the screen Alice to make sure we're in sync I am yep okay Oh Austin's make sure we're all in sync here make sure these in real time all right so here's the github so this is where the codes gonna go from the ServiceNow instance then they get and now we've also gonna I'm also gonna have it where we've got a test and a prod instance so here's the test instance is sitting you're waiting for ATF to run its test and we have a we have a prod instance so this is what we're gonna actually this is gonna be installed and we're also going to make the request to actually um publish the application to brock so the way all this stuff is tied together so this and what you're looking at here this form this little deployment request here and as well as this flow you open up flow designer you see this flow keep in mind this stuff the form and this flow are is a scoped application that I've created in order to demonstrate these various integration have spokes that we've released the reason that I've created a this application which I'm gonna put on share of all the ways well so I think we may be able to put that in the description on the on the on the YouTube or the podcast description but essentially created this scoped application to orchestrate this and end flow to give you an idea of how it all works so Orlando what's actually coming out of the box as long as you have the integration of starter pack installed is he's sucked these flows so here's this folks the integration of spokes that that's coming out of the box so we are although we weren't able to build any like pre-configured flows and flow designer and any pre-configured way to actually you know just get you completely started we've given you these spokes that you can use to build your own flows so for example you can see I can apply changes from source control you have to be plugins instant scans I've got install app install application with scope you know all that good stuff and then ATF ATF tests as well so these are all the things that we can do in flow and flow designer and also just a little heads-up that it's much easier to get started with you sub flows so we also have these in the actions have these decisions but there's a little bit more of manual work that you have to do so you might if you know just for heads up it's much easier to get started if you just do if you go with some flows so that's why I built that application so I could actually show you all this stuff tying together so that's how that's how the demo is gonna go that's all right oh and one more other other thing I have up is if I open up my Chrome browser I'm logged in here as we did let me zoom in as well you can see that better so we did is a another developer working in the same application is Neha and again who did is an actual engineer service now he's based out of Hyderabad the team out of Hyderabad will also don't have done a lot of work with this as well so but in this case he's he's another developer working on the same instance and this is where I'm going to show you what it's like when you've got two developers working on the same file all right okay so what I'm gonna do is go back over here as anyhow and I'm gonna I'm in a studio and you've probably seen this I think we've we've used this application and a couple of the the the sky city demonstrations on the on the happy hours that Andrew and Chuck have done but it's a super simple just example application supply management just to just keep it simple and what I'm gonna do here is I'm gonna go and do some development and then show you that and show you that process we just went through so as Annie I'll let my developer first off you can see I'm in on the massive branch currently so what I'm gonna want to do here is I'm just gonna create a branch so I guess we can just call this if now well I'll just call it a branch so what that's gonna do is it's gonna create a branch locally it's gonna and also actually it's gonna create the branch and get as well do the integration so we're no longer on a master branch we're actually on a tech now in one branch you can see here on the bottom right hand out of the screen so another thing to show here is if I go to edit repository configuration this is what's new one of the new and Orlando is that you can actually use a mid server to connect into your get repository so I'm currently just directly tied to the to another cloud git repo but this is where you could configure your and since to tie in with a mid server so you can leverage your enterprise git repository okay so I'm gonna just open up a couple files here and make a couple of small changes here I got a script include there's gonna have another another comment just to keep it simple so making a change here till it's Griffin cleared out of the comments and I'll go and also open up the file settings and we'll just make this version 4.6.1 I guess I'm working in I'm working in this application and we've got you see I'm on this branch here techno demo one made a couple of changes now I'm gonna do is gonna go in as we did okay so I hear a minute we did you can see we're on the same instance it sawed it we're all in the same branch and I'm gonna open up that script include that you know it just made the chance to and now you can see here it's read-only can't make any changes and it's saying that the record is modified by any but not committed to source control so this is that collision avoidance set collaboration piece that we were talking about earlier so here we can actually also view differences so you can see the differences uh the changes that were made here's the change it was to the scripts open up this we get to differ you and you can see here's that technical demo comment that I added so you know so this is a good way to collaborate see what each other's doing make sure you're not stepping on each other's toes and I went it's a view like say in the house reaching out to me you did asking them for help on the script include you could say alright I'm just gonna go ahead and edit its edit in hearse and her changes that way it's all on the same commits and then you edit it alright so back over is in the Neha has made her changes done some work and ready to commit this and it's ready to be published over to profits so she's done with her work and actually another best practice some best practices here make sure you're committing early and often the more you commit the more often you commit the more you know points in time you have and and those kind of things that don't you know you want to be able to commit early enough then it's good Fred best practice I'm going to go ahead and commit my changes and here is where we have the commit screen and you may notice if you're familiar with tying you get before there was these check boxes were here so this is where what when we talk about selective commit is where you can actually select which changes get committed in this case we've got the script including again we have this view where you can see yep change I was made there all right and a ticket to that I had clicked on this little look icon okay so we'll go and commit this puts comment and this is kind of one of those things as well that you have opted Enterprise on vacation if you were that there's you know a lot of times if you wanted to integrate with your agile 2.0 you guys should put in the like a Story number and push this in again and use that as a way to sort of tie everything together it's a pretty interesting but that's uh for another day another tech now okay so quitting these changes to source control and you can see it's been successfully committed and that's it as far as the developer goes the developers do the work and then what that do is now is going into the production instance so now me how it's done she's committed recode and she wants to request put in a deployment request so if this is where it's gonna come in and I've created a record producer here this is just a simple what's the scope a version so I think it was what was it version that we put in was a 4.6 yeah four point six point zero so here we're just I'm just a mentoring these these these values so we need to we need to know the scope and the version and the ATF suite to run so when you go and enter those and submit that's it so now me I was done with with uh with her stuff and now we've got slack open and here you can see I just got I just got a die so the reason I got this message from slack its goods part of the that fluid that is a we're using one of the the slack wet book activity so that way we can make it where you know maybe using Microsoft teams or select whatever it might be you can use that to to collaborate so I got a message here saying approval Florida request is made and if I go to the request here we can see this is the supply chain application we got the demo of the suite and everything like that so the so Neos she had came in she did her so just a recap and he'll win and did some work in development there were a new did they got done they committed it and they went and they submitted requests to actually deploy as to production and now that that's happened that gets a noun now you have like it you might have like a tech lead or manager it's gonna go in and actually kick this pipeline off do review the process look at the code and everything like that so now I'm now I'm logged in as a you know my switcher personas over to it protected and I'm here the diploma requests I've got in the notification and slack and now I'm on the record and I can review everything that's been done and you can see these various fields here that I have that have things like the credentials and the URLs I just have those as default values when a one of these records gets created because you need to know that devan's since URL you need to know the tests credentials you need you need to know all this stuff this is the these values that are gonna go into the they integrate the flow to kick things off all right and I'll go a little bit I'll go back into the flow again once we're all done and show you how these pieces fit together okay so I'm going to go ahead and approve this say okay cool this is good we're gonna we're gonna move forward with this work so now here Oh what I want to do first before I do before I pull it before I continue on the appointment is I want to merge the branch that one emerge the feature branch at me I was just working on with the master branch and then what that's gonna do is then update the update the code in the dev instance with that master branch so we have all the latest code from all different teams and then we're gonna deploy that up to test and then defraud so the merge what I'm gonna do is go into the git repository and here you can see we've got a technical demo one which I committed and I'm gonna go and do a new pull request and here we can see the differences and there we go crate pull request again I'm a tech lead right now and like or manager one of those kind of people but you do have to go out of service now and actually do the merging part and get four now it may be something that comes up in the future where you can do it all from the instance but for now this you do need to come in to you can see that's the message I put in yeah it's gonna get up for this right so successfully merged and closed so we've got it's merged and closed and now we've got a massive branch just updated with the latest code so now we're ready to go back to this deployment record and move forward with the deployment so here I've got this deploy button that I put in as a UI action on this form and what that's gonna do is we go to the flow designer this flow is gonna kick off when when this uh so the flow is already tick right now and I'll show that to you and we open up the executions here but what's gonna happen is it's waiting for the wait for condition so once it's approved now it's waiting for this thing to be deployed when I once hit the boy and so if we go to executions we'll go ahead and open up that current this is the current flow instance it's run so this thing kicked off automatically once I created that deployment record and again these flows in that form I'll put all that on share so everybody can use it if you're Justin checking it out so so far we've had we created the request and then you saw the slack message that got posted the approval you saw the approval that I approved and once it was approved it's come in here and it's waiting and now even now we're waiting for the condition for it to actually be changed ever employ so here I'm going to go back to request and hit deploy so now what that's done is exchange of states are ready to deploy and now the flow is gonna kick off and what we're gonna see next is what's gonna happen now is once that flow kicks off it's gonna it's going to update dev with the master right and then from Devas gonna publish it to the app repo and from the up repo it's gonna get installed onto this test instance so they have open here and then it's gonna run this ATF now if I you'll notice that I go back to studio you can see now it's back on master the reason that happened is because what what it just did was it updated the Devon since what the master code that way you could publish it up to test just keep in mind the process that I'm showing you here is just an example all our customers I have completely different environments completely different processes so that's why we open it up put the spokes out there the rest API is so that way our customers to see it I can follow the process they how now so this is like what I'm showing you is just just an example so here that you see the it just fell right in to kick off here it's just a super simple ATF that's just to keep it to keep it fast fast for the demonstration but so once that runs and now successful now what its gonna do is it's gonna actually install this on the prod so we've just did development we've committed it to get and now we're automating the entire process from taking it from dev to test doing doing ATF tests and tests and now it's gonna actually automatically publish it to production so I'm gonna come back here into production and let's just take a look at the applications so here we could see that here it is so right now it's four point five and you just changed the four point six so there we go we've just essentially automated the entire deployment process from dev test the product of int F test this is a very simple example but we've just essentially automated that entire process words before I'm sure a lot of you are familiar with uh you know the use an update sets to migrate from one to the next doing it all manually and having to keep track of all that stuff so big improvements here let's go back to the flow sometimes it takes a little bit for this there your refresh what's actually going on but this thing's already completed I'm just waiting for this doll to go green so I can show you what uh what all the status looks like all right funny cuz you saw yeah so we saw it all actually happened sometime so it's actually so fast the floor designer status page esta yes to keep up so Chris well we're waiting for that we do have a question in the Q&A panel and I don't know if I miss this well as answering some other questions but did you show where the message comes up and says hey Neha is already working on this when we did was trying to work on it or some of that conflict management I did I did we can see this all if you're on the screen I'll show it out real quick that's real easy too so here if I go back to so I'm here is Neha and if I made a quick change yeah we showed this earlier but I'll just show her really quick again just to make sure everybody's so here I'll just put another chain there and save that okay so he chose me to change on the supply based script include now I'm gonna go in my Chrome browser this is we did same instance of a different user I'll open up the scripting code and now you can see it is read-only and it's because I mean how I change but not committed to source control so that's that's that does that help is that perfect no awesome cool okay all right so flow designer all right so the status is all up-to-date here so you can see we had the wait for condition so what happened here is we have the changes or applied from source control and what that means is that the Devon since was updated with what was in source control so I did the merge and source control and get and then what that did this what I've done here with this activity is pull this changes from master because you may have you know Rover would you may have other teams on other instances that are also doing their work on navigation and their own branches so the master branch is the you know that's the single or some of your code so we updated it with that first make sure that all worked okay and then what we do is from then from dev we publish it so we publish application to your company's App Store app repo and once that publications it's installed the application on the tests so we published it to the app repo so now we can actually install it directly on tests so that's what this stuff did and then here we ran the ATF test and you can see you can go in here and you have access to the results and all that good stuff and then it's the test past we actually installed it on the prod and you can see it's using all those all those values that we had if I open up that this form that I created the reason I have all these because you need this you need the dev and since URL and need the credentials to be able to to be able to do this pipeline so that's um that's how I set this up so I can do is just open up the flow designer here and we can just take a little bit of a deeper dive into what happened so you saw the select message get posted in and that's just a message that I put in for that and I also want to say that this is like there's note here right there's an I didn't write this this whole flow you're looking at here I didn't write a single line of code so I have I was able to automate an entire pipeline from developing to testing - all the way to production without and having to write any code and a lot of us thinks - I think you've had to like Josh neer you know Josh on the shell before and him and Chris Moya and you know Jake Berman's team they've done such awesome job with us and then engineers it's uh Orlando I think it's I know in my opinion it's like basically surpassed the old school workflow and you know this it's just a lot of fun with this stuff together and it's a super intuitive so um so here if you look at the apply changes in source control you can see or I decide to at the instance URL the credentials the scope and the branch name and I've just taken all those I've taken all of those from the deployment record that I created and just put it in here so and they're all essentially the same thing just define the instance the credentials and the scope if we look at EF we've defined the the instance and the credentials of the test instance and then also the tests we name so that's how the ATF test ran and if it passed because we have a the test suite status so we've gotten the data from this activity and we're able to use it this one as long as it's successful then we go ahead and install in the production and then we update the record is close complete so that's the process for that and again these are all using these spokes that have come out again this is what you get out of the box here these folks you get out of the box so you can build a flow like I did here in this example so it's a pretty awesome and then so not only so what I've shown you was the like the emigration hub example using integration up so that way you know you don't have to use third-party tools to automate your service now and this isn't doubted me anything other than servers now this is just strictly ServiceNow deployment process but a lot of our customers have big DevOps shops and they and they also they really want to be able to use their own third-party tool like like Jenkins and Travis CI and those kind of things to run this process so in order to allow our customers to do that we built scripted REST API so I'll just come back here into the yeah it's insane we just go there REST API Explorer or to show you some of the examples of the script or uh state guys and this these are what you would leveraged in order to build a pipeline and say Jenkins like I said so here I'll just go into the namespace at SNC ICD and now we've got these API so I've got for example ATF situation so you can see you've got a different like so if I want to start its yes week this is same the same concept you still on integration of this is just leverage and rest scripted rest api's I just enter the the test suite name all those could all those good things and this is where you come if you want to use rest to integrate with third-party tools so I've got like plugins you know get the the up repoed so you know published at that repo rollback application to the prior version so all that functionality you have using the rest you can do that as long as as long as the application you want to use that's that so we have another another example we've we've shown I believe so when will show when the surf team shows an Alan now and knowledge 20 they're gonna use their actually use Jenkins to publish all that work folks that use chickens for everything else so they decided to use Jenkins as their CI CD work she's also pretty cool stuff there and one thing I noticed about the the rest API is is there's one to get the status of the operation so if you say go retrieve this branch will go install this from github it takes time to do that it's it says 10% 20% just like the status bar you have to continually pull that if you want to know when it's done if your API or your third-party application is doing things synchronously and you have to wait for that get operation to be done simply firing off the REST API is it is going to say go start it but you can also tell when it needs to be done with the API that you've got on there so there's there's some of these things that are complementary to each other and you want to know about if you have the interest of going in it through the REST API but take a look at those right got time for some Q&A [Music] gods on for some Q&A anybody have any questions a question from the Q&A is can we deploy directly from a branch and not display or not deploy all changes from Nestor yes yes you can you can do it from the branch so if I go into back here to flow designer and so whenever we're publishing let's say so apply applications from source control here you can declare the branch so you declare which brush you can choose a branch oh what I did is I just use master by default so if I come into the scope to the home request here again this is my custom application built here but um so here I've I've used so you see this as a get branch feel that I created so I just put master in here okay but any other branch that I wanted here and it would have used that branch to install on to the next instance easy time figure typical of it yeah super easy yeah it's pretty awesome I mean usually because usually people will if you're deploying to production you're usually deploy something off the master branch but it look like I said everybody's everybody's processes are different that's why we've opened it up so whatever branch you want the nice thing is you can actually use a master branch now you can merge and you can just like do that now that's something that proved before a line though you couldn't do so yeah all right we have sculpt apps we have global apps and we also have global scope taps without going deep into what they are and how you set them up and everything you can create a globally scoped out this work with global scope taps the this does so here and if you're not familiar there's a setting and assess properties that you set to where you can actually build a global scope that so when you do that the the one thing that you can't that you can't do so here I'll just let's just uh more this example scope go blab I'll just go in creep it's real quick for uh all right continue in advance just to show you the difference so once open that app up you'll notice that the source control menu is gone so I can hook this intro anymore but I can't publish it so I can still I can still use the CI see the API so I can still publish it to another instance I can run ATF on it I can do that whole pipeline the the one thing I can't do yet and so Paris is actually use get source control I can't use that part we global yet and that's should be coming in Paris so but if you want to be able to we've got the link it's in our documentation we can include that in the description as well a link to the because it's not super easy to find but to be able to to be able to create that application you know like what I did here is I've got this so I can create a scout or global out-of-the-box if this is it's not like this there's a Cisco pre so yeah a property and a plug-in if I'm not mistaken but we've got to document it yeah documented so we can give that link we can provide them to that because that's that's it's a pretty big one because I'm a lot of people there's some people think that you can't use global at all for this stuff that's not the case you just can't use it for the you know yeah source control okay like scheduled ATF currently is there a need to open a browser window somewhere or is that handled on the platform somewhere so when you triggered ATF in the flow you still need to have ATF up and running the client test runner somewhere yeah I think you have to have it if it's a he why because if it's a server based test only um I don't the gift I would open but for a UI test you do to talk to have it open no sir I know that's and the backlog one of the things that we're you know when I when I was in the product management team working on this stuff we're definitely looking to make it where you kid you know open up it would be like a headless headless browser and do that in the background without having have this open so uh but yeah that's good you asked that question and the more more requests we get for that the higher and the priority that that goes up for for development so I'll give that feedback back to the product team and let them know you know letting know people are asking about that because that's something we've we've been looking at for a while so yeah alright quick before you can you support more than one can they support more than one test instance oh yeah sick it support as many you mean as far as like see if you're talking about apparel test I'm not sure about that situation but you can have as many instances as you want so you know some of our customers have twenty instances 20-plus instances you know like multiple deaf instances I got a test a QA all the all a different kind of stuff you have as many of us you want you know you can you can create your own flow here to incorporate as many instances as you need so I don't see any reason why not doing scenario I'm not sure if it's like like I said parallel testing and those kind of sure how how that would go but definitely you can use this more than one test and we're on one death and even you know more than one prod just doesn't matter how many instances alright I'm not gonna hog this if Jeremy and Craig have a favorite they want to throw out there we still have a few more minutes I don't have anything other than I think this is pretty cool very nice Chris I think we're done with the the screen share again we will we didn't get to your question we will answer those and get those in the community and link back to those so you'll get a response for that thank you very much and with that I think we've got what are the key takeaways Chris okay takeaways well uh key takeaway here is that you don't definitely want to give you want to use this stuff upgrade to Orlando as soon as possible that's where this stuff starts and this is really going to change the way our customers are able to deploy you know really give them the option to be agile you know doing that you know multiple releases a day if you want or it's being able to be as agile as you want so this is a real looking forward to this this is something that I think all of us here are passionate about and I think we're looking forward to seeing all this stuff this goes forward but but yeah that's a hope that you know we what we covered today we covered developing in the Devon sense and be able to go in development and then deploy that through a process of testing and that could sound like good stuff and all the way to production and and yeah like it like a like we mentioned before you got a DevOps enterprise application that you have in the store that you can have or this it ties together so you can incorporate your change processes and those kind of things with this you know you're going to use change management so really looking forward to seeing how creative our customers go with this stuff so definitely a game changer all right quick reference information if you haven't already thought about it we've got all this stuff documented on Doc's dot service now comm if you've got questions please post them in the community lots and lots of experts out there including some of the people that are on this webinar will will jump in and have that discussion and if we can't find the answer if we don't have the answer we'll find somebody who knows the developer site is we already mentioned is out there I've got lots and lots of great content there this is episode 74 of tech now we've been doing this for over six seven seven years seven years now oh my gosh it's yeah surprise Creek so encourage you to look at bitly link there go back and look at some of the content we've got it still works it will do all the content we've got from previous shows right to the product is matured a little bit but we can do this and then the Success Center is mentioned before again QA if we didn't get your question apologies we didn't get it live but we will be answering these afterwards and posting those back to the community so thank you very much for that Chris we thank you most awesomely for joining us today on to show us the new platform see ICD stuff Oh Thank You Chuck thank you for all that all that all the help you've given me and my career with this technology definitely go back to those old videos quite often correct I do - it's gotta see all right with that Thank You Jeremy and Craig for handling things in the background we looked there too more content from you in the future and at knowledge till then take care everybody thanks everybody bye [Music] you [Music]
Info
Channel: ServiceNow - Now Community
Views: 5,960
Rating: 4.8620691 out of 5
Keywords: ServiceNow, ServiceNow Community
Id: I9BRmKjc_8s
Channel Id: undefined
Length: 51min 19sec (3079 seconds)
Published: Fri Mar 20 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.