Programming IBM Orchestration Pipelines
You can program in a pipeline by running Bash scripts in a pipeline.
Programming with Bash scripts
Run Bash scripts in a pipeline to compute or process data as part of the flow.
Run Bash scripts can run:
- Bash scripts (bash)
- Korn shell scripts (ksh)
Using the Python client
To install the library, use pip to install the latest package of ibm-orchestration-pipelines in your coding environment. For example, run the following code in your notebook environment or console.
! pip install ibm-orchestration-pipelines
Use the client documentation for syntax and descriptions for commands that access pipeline components. Currently, the old library is still in use. See Orchestration Pipelines Python client for more details.
Using the IBM Orchestration Pipelines APIs
Use the Orchestration Platform API for working with Orchestration Pipelines in a developer setting.
Configuring CPDCTL with IBM watsonx
Learn how to configure the CPDCTL tool to work with the command line and IBM Cloud.
Setting up a connection with IBM watsonx
- Set the environment variable
ibmcloud_apikeyto your IBM Cloud API key. - Run the following script:
./cpdctl config profile set cpdaas --url https://cloud.ibm.com --apikey $ibmcloud_apikey ./cpdctl config profile use cpdaas
Linking your profile with IBM Cloud CLI
Run the following command to create a new profile linked to IBM CLI configuration:
cpdctl config profile set <profile-name> --ibmcloud