Registry / devops / ibm-continuous-delivery

ibm-continuous-delivery

JSON →
library2.0.8pypypi✓ verified 79d ago

Python client library to interact with the IBM Cloud Continuous Delivery Toolchain and Tekton Pipeline APIs. Version 2.0.8, supports Python >=3.10. Actively maintained by IBM.

pip install ibm-continuous-delivery
INSTALL
IMPORT
SIG · IBM-CONTINUOUS-DEL
I
ibm-continuous-delivery
devopspythonv2.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CdTektonPipelineV2
from ibm_continuous_delivery import CdTektonPipelineV2
from ibm_continuous_delivery import ContinuousDeliveryV1
CdToolchainV2
from ibm_continuous_delivery import CdToolchainV2
from ibm_continuous_delivery import ContinuousDeliveryV1
ApiException
from ibm_continuous_delivery import ApiException
from ibm_continuous_delivery import ContinuousDeliveryV1

Initialize client with IAM API key and list toolchains.

import os from ibm_continuous_delivery import ContinuousDeliveryV1 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator api_key = os.environ.get('CD_API_KEY', '') authenticator = IAMAuthenticator(api_key) client = ContinuousDeliveryV1(authenticator=authenticator) client.set_service_url('https://api.us-south.continuous-delivery.cloud.ibm.com') # List toolchains response = client.list_toolchains() print(response.get_result())
Debug
Known issues
breakingIn v2.x, the library renamed all service classes to include a version suffix (e.g., ContinuousDeliveryV1). Old code using 'ContinuousDelivery' without suffix will fail.
fix
Update imports to append 'V1' to the service class name.
affects: <2.0.0
gotchaThe IAMAuthenticator requires the API key passed as a string, not as an environment variable name. Common mistake is passing the variable name instead of its value.
fix
Ensure you pass the actual API key string: IAMAuthenticator(api_key) where api_key = os.environ.get('CD_API_KEY', '').
affects: all
deprecatedThe method 'create_toolchain' in older versions used positional arguments for parameters. In v2, all parameters are keyword-only and the 'name' parameter is required.
fix
Use keyword arguments: client.create_toolchain(name='my-toolchain', ...).
affects: >=2.0.0
Upgrade
Version history
2.0.8latest on PyPI · released Jun 4, 2026
Audit
Dependencies
ibm-cloud-sdk-corerequiredCore SDK functionality for authentication and HTTP requests
Agent activity
8 hits · last 30 days
node
8
Resources
ibm-continuous-delivery — pip install ibm-continuous-delivery · libregistry