Перейти к содержимому

Azure Web apps comes in with very interesting tool, called Kudu, which is web application itself, designed to service and configure your web application. It exposes several APIs to service you - for example, MsDeploy, zip, zipdeploy. In this post I wish to cover some differences between zip and zipdeploy and how I used zip API to deploy Sitecore Unicorn data.

...читать далее "Azure Web app Kudu: overcoming api/zip built-in timeout"

SonarQube is awesome tool and it's Community edition (which is free) fulfills almost everything one could dream for in the world of static code analysis. But, you could not analyze PR's with it by default and have to pay for at least Developer edition. Further you could find my attempt to overcome this limitation (it fulfills MY goals and seems to be worth sharing with broader audience).

...читать далее "SonarQube Community edition and PR analysis"

Azure DevOps does a great job when providing hosted agent services. They come loaded with all required software, they care about updates and everything else, but they have some major drawbacks:

  • No static external IP-address (so it's not possible to have an additional layer of security))
  • You get a new VM each time, so you need to clone your repository fresh, install a fresh set of NPM packages, install all those base Docker images (not a big deal for alpine-based images, but when it comes to Microsoft one, it is really a hitter)
  • For closed source projects there is a hard limit of 1800 minutes per month per 1 hosted job (I do not like limits even if I never hit them 😀 )
  • And so on – you name it

...читать далее "Self-hosted agents at Azure DevOps: a little cost-saving trick"

The target of this post is to share how to configure Sitecore JSS headless with a Node.js proxy on CentOS and to demonstrate a staging approach for the hosting of the CD role. Since the front-end is rendered on a stand-alone Node proxy, we can easily configure as much backend CD servers as needed, which allows us to deploy CD code on a staging server, and then switch the target server on the Node instance.

...читать далее "Sitecore JSS: a blue green Node.js server configuration"

While working with Sitecore deployments based on ARM and PowerShell scripts, developed by Rob Habraken (Rob has covered them in a series of blog posts on his own blog) and slightly optimized by me, I noticed that we are having a problem: these scripts are used on a per-project basis and once implemented, they start aging. Since manually updating scripts for each project is a dull and cumbersome task, it usually is never executed. So I decided to build a VSTS release task, which could be reused in each of our projects and makes it easier to always have the latest version of the ARM and PowerShell scripts for a certain Sitecore version.

...читать далее "Sitecore Deployer"

Since I started working with Azure Web apps I started thinking: how could we optimize budget spending for PaaS? For VMs it is clear, you stop them. VM v1 requires an additional PowerShell command to deprovision them to stop spending money on them, while VM v2 are deprovisioned automatically on stop. But for or Azure SQL databases and Azure Web apps it was not that straightforward.

...читать далее "Saving money with Azure Costs Saver VSTS extension"

Для ускорения и облегчения разработки наших проектов, использующих pull requests, я внедрил новую возможность на нашем билд сервере под управлением TeamCity: автоматическая компиляция и тестирование каждого пулл реквеста и каждого изменения базовой ветки

...читать далее "Автоматическая компиляция пулл-реквестов"

Любая доставка веб приложения, хостящегося в IIS и основанного на ASP.NET, как правило, ведёт к рестарту процесса, обслуживающего сайт, что, в свою очередь, разрушительно сказывается на кэшах приложения. С тем, чтобы оптимизировать данную проблему, мои коллеги разработали приложение, которое автоматически узнает у Google Analytics наиболее посещаемые страницы и пробегает по ним

...читать далее "Автоматический разогрев веб-приложения после доставки"

Данная запись посвящена решению следующей задачи: автоматически развернуть веб приложение, основанное на Drupal, с компиляцией фронтэнда, использующей Grunt, при помощи Continuous Deployments фичи Azure Web app (то есть, без выделенного билд сервера), при том, что доступ к серверу должен быть ограничен по IP.

...читать далее "Azure Web apps: автоматическое развертывание Drupal с фронтэнд компиляцией при помощи Grunt"

В этой записи я попробую рассказать, как можно доставить любой файловый контент, включенный (автоматически или вручную) в ваш солюшен автоматически, один и только один раз. Для примера буду использовать Umbraco и платные модули Seochecker и Contour. Причину, по которой это может понадобиться я опишу далее.

...читать далее "MsDeploy: как доставить файловый контент лишь один раз для солюшена"