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.18.tar.gz (53.8 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.18-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

Details for the file cumulusci_plus_azure_devops-0.0.18.tar.gz.

File metadata

  • Download URL: cumulusci_plus_azure_devops-0.0.18.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.13"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.13","system":{"name":"Linux","release":"6.17.0-1018-azure"}} HTTPX2/2.4.0

File hashes

Hashes for cumulusci_plus_azure_devops-0.0.18.tar.gz
Algorithm Hash digest
SHA256 92b822f7000b64b4185931fd78631509bd849aa8a939fd9c36662356cf3f839e
MD5 7fc58f5466a3c10f91fc1e3334920ce4
BLAKE2b-256 f6f387255718fdbd24f48691b45a9e8d7072df4700d056b028f5e006cfa0d5a8

See more details on using hashes here.

File details

Details for the file cumulusci_plus_azure_devops-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: cumulusci_plus_azure_devops-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 62.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.13"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.13","system":{"name":"Linux","release":"6.17.0-1018-azure"}} HTTPX2/2.4.0

File hashes

Hashes for cumulusci_plus_azure_devops-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 a5f1d62709a738d9447136682e6fa6e77b0f8512c6388294cb746b8ea3b9a966
MD5 4f8566400555e0a5122b9671ece7aaac
BLAKE2b-256 e3b7a45816beb5d0f6f10173508140a40aa9dbb129a7c95906785daed4e16dbd

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