Skip to main content

A plugin for cumulusci plus supporting Azure DevOps

Project description

cumulusci-azure-devops

A plugin for CumulusCI supporting Azure DevOps integration.

Features

  • Integrates Azure DevOps pipelines with CumulusCI
  • Provides tasks and utilities for Azure DevOps automation

Installation

Recommended Installation (with conflict checking)

For the best experience, use our custom installation script that checks for conflicts:

# Download and run the installation script
curl -O https://raw.githubusercontent.com/jorgesolebur/CumulusCI_AzureDevOps/main/install.py
python install.py

Manual Installation via pipx (recommended)

Option 1: Install main app, then inject plugin (recommended)

# Install cumulusci-plus first to get cci and snowfakery commands
pipx install cumulusci-plus

# Inject the plugin into the same environment for proper plugin discovery
pipx inject cumulusci-plus cumulusci-plus-azure-devops --include-apps

Option 2: Single installation with dependency scripts

# Install with --include-deps to expose dependency console scripts
pipx install cumulusci-plus-azure-devops --include-deps

Option 3: Basic installation (Azure DevOps plugin only)

pipx install cumulusci-plus-azure-devops

Why Option 1 is recommended: CumulusCI plugins need to be in the same environment as the main application for proper plugin discovery. Using pipx inject ensures the plugin is installed in the same virtual environment as cumulusci-plus.

Manual Installation via pip

pip install cumulusci-plus-azure-devops

Upgrading

Recommended Upgrade Method

Use our custom upgrade script for the best experience:

# Download and run the upgrade script
curl -O https://raw.githubusercontent.com/jorgesolebur/CumulusCI_AzureDevOps/main/upgrade.py
python upgrade.py

Manual Upgrade via pipx

For injected installations (recommended method):

# Upgrade main package and update plugin
pipx upgrade cumulusci-plus
pipx inject cumulusci-plus cumulusci-plus-azure-devops --include-apps --force

# Or force reinstall everything
pipx uninstall cumulusci-plus
pipx install cumulusci-plus
pipx inject cumulusci-plus cumulusci-plus-azure-devops --include-apps

For --include-deps installations:

# Standard upgrade
pipx upgrade cumulusci-plus-azure-devops

# Or force reinstall
pipx uninstall cumulusci-plus-azure-devops
pipx install cumulusci-plus-azure-devops --include-deps

Why Use the Upgrade Script?

The upgrade process varies depending on how you installed the package. Our upgrade script:

  • Detects installation method (injected vs main package vs unknown)
  • Applies correct upgrade process for each method
  • Handles plugin discovery properly for injected installations
  • Checks current dependency versions before and after upgrade
  • Provides installation-specific guidance and next steps
  • Ensures dependencies are updated to latest versions

Installation Method Detection:

  • Injected: Plugin installed via pipx inject (recommended) ✅
  • Main Package: Plugin installed via --include-deps
  • Unknown: Fallback for edge cases ⚠️

Important Notes

  • Plugin Discovery: For CumulusCI to discover and use this plugin, it must be installed in the same environment as cumulusci-plus. This is why Option 1 (using pipx inject) is recommended.
  • Conflict Warning: This package is designed to work with cumulusci-plus (version 5.0.0+), not the original cumulusci package. Having both installed may cause conflicts.
  • pipx vs pip: We recommend using pipx for CLI tools as it provides better isolation and prevents dependency conflicts.
  • Dependencies: All required dependencies (including cumulusci-plus, azure-devops, etc.) are automatically installed.
  • Console Scripts: After installation, you'll have access to these commands:
    • cci and snowfakery (from cumulusci-plus)
    • cumulusci-ado and cci-ado (from this plugin)

Available Console Scripts

From cumulusci-plus:

  • cci - Main CumulusCI command
  • snowfakery - Data generation tool

From this plugin:

  • cumulusci-ado - Azure DevOps plugin CLI
  • cci-ado - Short alias for plugin CLI

Plugin Discovery

✅ Plugin is discoverable when:

  • Installed via pipx inject (Option 1)
  • Installed via --include-deps (Option 2)

❌ Plugin is NOT discoverable when:

  • Installed as separate pipx packages
  • Main app and plugin are in different environments

When the plugin is properly discoverable, you can use it in your cumulusci.yml configuration and CumulusCI will automatically find and load it.

Usage

Plugin Management Commands

After installation, you can use these commands to manage the plugin:

# Check plugin installation status
cumulusci-ado status

# Show version information
cumulusci-ado version

# Get help
cumulusci-ado help

# Short alias versions
cci-ado status
cci-ado version
cci-ado help

CumulusCI Integration

Add the plugin to your cumulusci.yml:

plugins:
  azure_devops:
    path: cumulusci_ado

Or use via the CumulusCI CLI if installed as a package. The plugin will automatically integrate with CumulusCI when installed.

Development

  • Requires Python 3.11+
  • See CONTRIBUTING.md for development guidelines (if available)

License

GNU General Public License v3.0

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cumulusci_plus_azure_devops-0.0.5b5.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cumulusci_plus_azure_devops-0.0.5b5-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file cumulusci_plus_azure_devops-0.0.5b5.tar.gz.

File metadata

File hashes

Hashes for cumulusci_plus_azure_devops-0.0.5b5.tar.gz
Algorithm Hash digest
SHA256 e29f58f25bb9378eacc3d1e6ada705018d0c958a4cc77f691678bd02c1328225
MD5 29a7e1c3bc1a18eacd893a4e013c7a09
BLAKE2b-256 750cabd4b13980b0c30d383d61528fed2e8b64b057a7bd4fbf750ac51bdab78e

See more details on using hashes here.

File details

Details for the file cumulusci_plus_azure_devops-0.0.5b5-py3-none-any.whl.

File metadata

File hashes

Hashes for cumulusci_plus_azure_devops-0.0.5b5-py3-none-any.whl
Algorithm Hash digest
SHA256 e02f7af8c8bd1fbf4b75cbbe880a5de5fcbfdcca0e6e8c60f5b5e7bdb2114796
MD5 1dc0b699f91a733dab88ce7199c97e1f
BLAKE2b-256 4ebcf07ebf739c6549047a1df3eb629488808318f940aca648f3eafc91ab7cf1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page