README.md
March 24, 2026 ยท View on GitHub
Simple clone-task usage
This sample sub-directory contains an EventListener definition that you can include in your tekton pipeline configuration to run an example showing a simple usage of the git-clone-repo
-
Create a toolchain (or update a toolchain) to include:
- the git repository that you want to clone, which can be private
- the repository containing this tekton task
- a tekton pipeline definition

-
Add the definitions of this task and the sample (
gitandgit/samplepaths)
-
Add the environment properties:
apikeyto provide an API key used for the ibmcloud login/accessrepositoryto indicate the git repository url to clone (correspoding to the one integrated in the toolchain)

-
Create a manual trigger to start the sample listener

-
Run the pipeline
Detailed Description
This pipeline and relevant trigger(s) can be configured using the properties described below.
See https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-tekton-pipelines&interface=ui#configure_tekton_pipeline for more information.
event-listener-simple-clone
EventListener: event-listener-simple-clone - simple clone
| Properties | Description | Default | Required | Type |
|---|---|---|---|---|
apikey (secured property) | IBM Cloud Api Key used to access to the toolchain (and git intergation toolcard like Git Repos and Issue Tracking service if used). | - | Yes | secret |
branch | the branch for the git repo | master | No | string |
git-access-token | illustrate alternate way to provide/get git access token | `` | No | string |
pipeline-debug | - | 0 | No | string |
repository | the git repo | - | Yes | string |