Welcome to Zuora Product Documentation

Explore our rich library of product information

Deploy configurations to the target tenant with GitHub actions

Learn how to deploy configurations to a target Zuora tenant using GitHub Actions for seamless and automated deployment processes.

You can programmatically deploy the latest version of configurations from a source code repository to a target Zuora tenant using GitHub Actions. This approach enables seamless deployment once configurations are tested and verified.

  • GitHub Actions workflow is available and customisable at the user level and not at the organization level.
  • Integrate automated testing to validate changes before they are merged. This helps catch issues early and ensures stability. Configuring a workflow in GitHub Actions may also achieve this framework.
  • Product Catalog Deployments are currently not available with GitHub Actions.
  1. When a file is stored in the GitHub repository, the Deployment Manager creates a .github/workflows folder. This folder contains a .yml file designed for triggering deployments to target tenants using GitHub Actions. Github workflow
  2. Navigate to the Actions tab in the repository and click on Migrate .
  3. Select the Run Workflow option, which will display the required parameters.
  4. Provide the Deployment Name and Template File Path for each deployment. Other parameters (e.g., Tenant ID, Environment, etc.) are auto-populated based on the migrate.yml file configuration. GitHub actions

    Customizing the Migrate.yml File for Zuora Landscape

    The migrate.yml file is editable, allowing users to tailor it for specific Zuora tenants. Key customizable fields include:

    1. Client ID and Secret Key : Credentials for authentication.
    2. Environment : Specifies the target environment (e.g., production or sandbox).
    3. Tenant ID and Entity ID : Identifiers for the deployment target.
    4. Template File Path: Path to the configuration file in the repository.

    You can duplicate and modify this file for workflows targeting multiple tenants. When duplicating, ensure the file name is updated for clarity and distinction.

    GitHub customize file

    Table 1. Example Parameters for Deployment
    ParameterValue
    Use Workflow fromSelect the Branch associated with the repository.
    Deployment NameProvide a name for the deployment starting with “-”.
    Target Tenant Client idCapture them from user details.
    Target Tenant Secret KeyCapture them from user details.
    Target Tenant EnvironmentCapture information from Tenant Details for GitHub Actions in Deployment Manager.
    Target Tenant idCapture information from Tenant Details for GitHub Actions in Deployment Manager.
    Target Tenant Entity idCapture information from Tenant Details for GitHub Actions in Deployment Manager.
    Target Tenant User idCapture information from Tenant Details for GitHub Actions in Deployment Manager.
    Template File PathFile path is copied from the GitHub repo. It is the path of the json file that is stored repo>folder>file name>click on copy path.
    Note: When modifying the Migrate.yml file, it is essential to implement syntax validation to check for errors before applying changes. Ensure that all necessary fields are populated and correctly formatted.
    To generate a Client ID and Secret Key, navigate to Administration > Manage User in Zuora. Click on your username, provide a name for the Client Name field, and then click Create. This will generate the required credentials for authentication.

    GitHub create clientId