1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-22 06:02:51 +00:00
catalog/task/ibmcloud/0.1
pratap0007 ed6fae2718 Modifies ibmcloud-cli task according to the new reorg proposal
Changes include:
  - adds version label
  - adds a minimum pipeline versions supported by the task
  - adds tags for task
  - modified description to add a summary

This patch moves the ibmcloud-cli files to the task directory and
renames the yaml file and the directory
  - The yaml filename and the directory is changed to match the resource name
  - Modifies the path for install task command in readme file

Issue: #386

Signed-off-by: Shiv Verma <shverma@redhat.com>
2020-07-10 22:06:57 +01:00
..
ibmcloud.yaml Modifies ibmcloud-cli task according to the new reorg proposal 2020-07-10 22:06:57 +01:00
OWNERS Modifies ibmcloud-cli task according to the new reorg proposal 2020-07-10 22:06:57 +01:00
README.md Modifies ibmcloud-cli task according to the new reorg proposal 2020-07-10 22:06:57 +01:00

ibmcloud

This task performs operations on IBM Cloud using the ibmcloud

Install the Task

kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/master/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 the ibmcloud-image param with the ibmcom/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 the ibm-cloud-developer-tools-amd64 Docker Hub.

  • ARGS: The arguments to pass to ibmcloud CLI. This parameter is required to run this task.

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