{"id":87,"date":"2015-12-09T21:47:13","date_gmt":"2015-12-10T02:47:13","guid":{"rendered":"http:\/\/chasberndt.com\/?p=87"},"modified":"2015-12-09T21:47:13","modified_gmt":"2015-12-10T02:47:13","slug":"deploying-builds-automagically","status":"publish","type":"post","link":"https:\/\/chasberndt.com\/?p=87","title":{"rendered":"Deploying Builds Automagically"},"content":{"rendered":"<p>The main application we ship is pretty big and complicated. Currently, the only way to install it is through the installer. The installation is, from what I&#8217;ve been told, pretty complicated. Installing the application by updating binaries and restarting IIS is not an option.<\/p>\n<p>Recently, a teammate configured the installer to run headless by passing a XML to it with all of the properties needed to install and we&#8217;ve been dogfooding it within R&amp;D to help ease the burden of installing builds. I wrote a PowerShell script to connect to the server we want to upgrade and performs the installation. It&#8217;s designed to run connect to a server using a remote PowerShell session, copy the artifacts over, backup the database, update the database, then update the application.<\/p>\n<p>Now that we&#8217;ve gotten this far, I&#8217;m trying to implement a set of tests to run post install and pass\/fail the build based on these additional criteria (Did it install? Did it pass all the tests?). I&#8217;m trying to have the running, at least nightly, by the end of the year.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The main application we ship is pretty big and complicated. Currently, the only way to install it is through the installer. The installation is, from what I&#8217;ve been told, pretty complicated. Installing the application by updating binaries and restarting IIS is not an option. Recently, a teammate configured the installer to run headless by passing <a class=\"read-more\" href=\"https:\/\/chasberndt.com\/?p=87\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87"}],"version-history":[{"count":1,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":88,"href":"https:\/\/chasberndt.com\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions\/88"}],"wp:attachment":[{"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chasberndt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}