For the complete documentation index, see llms.txt. This page is also available as Markdown.

Deployment request

The Deployment request feature in Spark lets you submit a deployment request that will initiate a continuous integration / continuous deployment process (CI/CD). The request triggers a downstream application to initiate the process.

Prerequisites

Implement a deployment to production

The diagram and steps below describe how the Deployment request feature can be used with the required functionalities as part of a CI/CD process to deploy a Spark service from the UAT to PROD environment.

  1. Define the user groups who can make a deployment request in Tenant configuration.

  2. In the UAT environment, a user submits an Deployment request by selecting the Folder, Service, and Version.

  3. Spark sends a notification to the downstream application via a POST method using the webhook.

  4. The downstream application receives the notification and conducts the following processing on the UAT environment:

    1. Check that the notification is a deployment request by inspecting the request body for "UserAction": "DeploymentRequest".

    2. Acquire an access token via the Client credentials grant.

    3. Generate the export package using the Export API, download and store it.

  5. The downstream application then performs the remaining actions on the PROD environment.

    1. Acquire an access token via the Client credentials grant.

    2. Publish the previously exported package using the Import API.

Demo video

See an example of how a deployment request copies a service version between environments.

Guides

Here are sample workflows developed in Azure DevOps and GitHub Actions that demonstrate the CI/CD process.

Last updated