Skip to content

Azure Pipelines

Azure Pipelines is a cloud-based CI/CD service that helps you automate the build and deployment of Martini packages. This guide provides steps to configure Azure Pipelines for your Martini packages.

Overview

Azure Pipelines integrates seamlessly with your Azure DevOps environment to build, test, and deploy Martini packages. The code for this pipeline is available in the Azure Marketplace and can be easily integrated into your Azure Pipelines setup.

Deployment Models

The Sample Martini Repository showcases different models for deploying Martini packages:

  1. Build Docker:
  2. This pipeline demonstrates how to build a Docker image containing a Martini package. With this approach, you can maintain control over both the version of the runtime and the packages within a single deployment.

  3. Deploy:

  4. This model utilizes an Azure DevOps task plugin to prepare and upload the package to a Martini instance. This instance could be either local or remote, depending on the deployment configuration.

Each of these pipelines can be found in the Sample Martini Repository, and they serve as a reference for configuring your own pipeline workflows.

Steps to Configure Azure Pipelines

  1. Access the Azure Pipelines Custom Task:

  2. The custom task for Azure Pipelines is available in the Azure Marketplace. Visit the Martini Upload Package Task directly to download and install it.

  3. Download and Import the Task:

  4. Follow the instructions provided in the Azure Marketplace to download the custom task.

  5. Import the downloaded task into your Azure DevOps organization.

  6. Explore Example Execution in the Sample Repository:

  7. The custom task is demonstrated in the Sample Martini Repository. Use this example as a reference when configuring your own pipeline.

  8. Configure Your Pipeline:

  9. Open your Azure DevOps project and navigate to Pipelines.
  10. Create a new pipeline and use the imported configuration file.
  11. Customize the pipeline configuration to match your repository and deployment requirements. This may include setting up environment variables, secrets, or custom build steps.

  12. Deploy Packages:

  13. With the pipeline configured, Azure Pipelines will handle the building and deployment of your Martini packages as specified in your pipeline configuration.

Additional Resources