Database DevOps – UrbanCode Deploy & DBmaestro Integration

In this post I’m going to talk about one of the trending topic of DevOps journey: Database DevOps.

DevOps has transformed the software release cycle, but is not easily applied to databases.

A database crash can be exponentially more expensive than a buggy application because database errors take longer to identify and fix.

Anyway, configuration drift, team conflict, and manual coding errors, can be drastically minimized simply by applying DevOps principles and tools to the database.

During last months I had the opportunity to work with DBmaestro DevOps Platform.

Continue reading “Database DevOps – UrbanCode Deploy & DBmaestro Integration”

UrbanCode Deploy & ServiceNow integration Part 1

In this post I’m going to show you how to integrate UrbanCode Deploy and the cloud-based IT Service Management (ITSM) platform ServiceNow.

We can orchestrate deployments from ServiceNow by invoking outbound UCD REST services, as well as configure UCD to call ServiceNow to create, update changes, incidents, tasks, or other ServiceNow table records.

For my purpose, I’ve used the ServiceNow Developer Program who provides developers with resources to learn, build and deploy applications on the ServiceNow platform.

I’ve used “New York” ServiceNow version. Things can change if you use a different version.

Additionally, I’ve installed the ServiceNow plugin on UCD which allows to easily perform CRUD (create, read, update and delete) operations on records with convenient steps such as check and query records.

Continue readingUrbanCode Deploy & ServiceNow integration Part 1

UrbanCode Deploy Post Processing Script

Post-processing scripts run after a component/generic process step finishes.

Typically, post-processing scripts check if expected results occur. It can examine the step’s output log and run commands based on the result.

Steps can have default post-processing scripts. These scripts are included with the plug-in.

You can override the default post-processing script for a step or provide a post-processing script for a step that does not have one.

Important
Steps in component processes and generic processes can have post-processing scripts, but steps in application processes cannot.

Post-processing scripts are written in JavaScript.

Continue reading “UrbanCode Deploy Post Processing Script”

Massive copy of UrbanCode Deploy Plugins

Sometimes you might need to move your UrbanCode Deploy Source Configuration and Automation Plugins from one server to another one1.

Plugins are stored, as zip files, in:

/<ucd_install_dir>/appdata/var/plugins/command/repo

Copy all plugin files you need, from the above directory of the first server, to below directory of the second server:

/<ucd_install_dir>/appdata/var/plugins/command/stage

Restart the target server.

Log file will display loading of Plugins as in the excerpt below:

2020-05-02 15:56:23,754 UTC INFO PluginUpdate com.urbancode.ds.plugin.PluginUpdate - Loading com.urbancode.air.plugin.ServiceNow_28.zip…
2020-05-02 15:56:24,920 UTC INFO PluginUpdate com.urbancode.ds.plugin.PluginUpdate - Loading com.urbancode.air.plugin.DBUpgrader_3.zip…
2020-05-02 15:56:25,385 UTC INFO PluginUpdate com.urbancode.ds.plugin.PluginUpdate - Loading com.urbancode.plugin.WindowsSystemTools_23.zip.
  1. https://www.ibm.com/support/pages/how-do-i-mass-install-urbancode-deploy-plugins-new-server []