Skip to main content

Application Deployment

The below sections provides information to create infrastructure and deploy an Application created with OwlGen using Azure DevOps CICD. Deploying an application involves two steps:

  1. Environment Setup (includes identity server and workflow dashboard)
  2. Application deployment

Follow the below sections to setup the environment.

Import Release Pipeline (Platform Core)​

Follow the below steps to import release pipeline from release folder:

  1. In the Azure portal, navigate to Pipelines > Releases, click New, and then select Import Release Pipeline.
  2. Click Browse, and then select the Platform-Core.json from release folder.
  3. Click OK to import.

The Pipeline screen with Artifacts and Stages displays.

Import Release Pipeline Import Release Pipeline - Browse Import Release Pipeline - OK

Edit Tasks (Platform Core)​

Follow the below steps to edit tasks:

  1. Navigate to Tasks, select Agent Job and then select Agent Pool in Agent selection as required.
  2. Select Select all artifacts in Artifact download.
  3. Select Azure Subscription for each task.
  4. Modify the Azure PowerShell version options and Advanced options regarding PowerShell core, if required.

Edit Tasks - Agent Pool Edit Tasks - Artifact Download Edit Tasks - Azure Subscription

Follow the below steps to add and link variable groups:

  1. Navigate to Variables, select Variable Groups and then click Manage Variable Groups.
  2. Click Variable Group to add a new variable group.
  3. Provide the Variable group name, description and then click Add to add variables given in Platform Core.
  4. Click Save.
  5. In the Variables tab, click Link variable group. Select the required variable group, provide the Variable group scope and click Link.
  6. Click Save to save the pipeline.

Variable Groups - Manage Variable Groups - Add Variable Groups - Link

Create Release (Platform Core)​

Follow the below steps to create a release:

  1. After linking the required variable groups, click Create release, select the required stage and then click Create. A notification banner will be displayed when the release is created successfully.
  2. Hover over the stage and click Deploy.

The deployment is initially queued for a moment. Once the deployment is successful, the succeeded message displays.

Create Release Create Release - Deploy Create Release - Success

After the environment setup is completed, follow the below sections to create infrastructure and deploy an application that is created using OwlGen.

Publish Application​

Follow the below steps to publish an application:

  1. To import release pipeline, follow the steps given in Import Release Pipeline (Platform core) section to import App Deployment-CI.json.
  2. To edit tasks, follow the steps given in Edit Tasks (Platform core) section.
  3. Add Variables as given below and link them as given in Add and Link Variable Groups (Platform Core) section.
PropertyDescriptionComments
appNameProvide the name of the application in OwlGen.-
appVersionProvide the version number of the application.-
moduleNameProvide the name of the module in the application.-
moduleVersionProvide the version number of the module.-
authorityUrlProvide the identity server authority URL of OwlGen.-
clientIdProvide the client ID of OwlGen.-
scopeProvide the scope of OwlGen.-
adminAPIUrlProvide the admin app URL of OwlGen.-
publishPathProvide the path where the files need to be published.-
  1. Follow the steps given in Create Release (Platform Core) section.

The deployment is initially queued for a moment. Once the deployment is successful, the succeeded message displays.

Publish Application - Pipeline Publish Application - Success

Import Release Pipeline (Application)​

To import release pipeline, follow the steps given in Import Release Pipeline (Platform Core) to import App Infra And Deployment.json file.

Edit Tasks (Application)​

To edit the tasks in the imported pipeline, follow the steps given in Edit Tasks (Platform Core).

To add and link variable groups, follow the steps given in Add and Link Variable Groups (Platform Core) and add the variables given in Application.

Create Release (Application)​

To release an application in specific stage, follow the steps given in Create Release (Platform Core).

Upgrade Application​

Follow the below steps to upgrade OwlGen in existing infrastructure:

  1. To import release pipeline, follow the steps given in Import Release Pipeline (Application) section.
  2. To edit tasks, follow the steps given in Edit Tasks (Application) section.
  3. Add Variables as given in Application and link them as given in Add and Link Variable Groups section.

Note: Important: Make sure that the resource group name, app service plan name matches with the existing infrastructure. If the names does not match, new services will be created in Azure.

  1. Follow the steps given in Create Release (Application) section to upgrade.