f4708d478e
At this moment all tasks which can be executed on linux/s390x or linux/ppc64le are tested and labelled accordingly. The rest of the tasks can be labelled as `linux/amd64`, which is default platform and where tasks are already tested via default PR testing cycle. Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com> |
||
---|---|---|
.. | ||
ibmcloud.yaml | ||
README.md |
ibmcloud
This task performs operations on IBM Cloud using the ibmcloud
Install the Task
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/ibmcloud/0.1/ibmcloud.yaml
Parameters
-
ibmcloud-image:
ibmcloud
CLI container image to run this task.default:
ibmcom/ibm-cloud-developer-tools-amd64:latest
You can use a specific version of the
ibmcloud
CLI by specifying theibmcloud-image
param with theibmcom/ibm-cloud-developer-tools-amd64
image tagged with the specific version of the CLI you would like to use. A full list of available version tags can be found under the Full Tag Listing section of theibm-cloud-developer-tools-amd64
Docker Hub. -
ARGS: The arguments to pass to
ibmcloud
CLI. This parameter is required to run this task.
Platforms
The Task can be run on linux/amd64
platform.
Usage
Running the Task
After creating the task, you should now be able to execute ibmcloud
commands by specifying the command you would like to run as the ARGS
param. The ARGS
param takes an array of ibmcloud
subcommands that will be executed as part of this task.
Examples
Run ibmcloud ks --help
using ibmcloud
. Start the task using the Tekton CLI (tkn
):
tkn task start ibmcloud -p ARGS=ks,--help
Specify a different ibmcloud-image
to use with the ibmcloud
task:
tkn task start ibmcloud -p ibmcloud-image=ibmcom/ibm-cloud-developer-tools-amd64:1.1.0