This topic lists the objects you can use with Supply Chain Choreographer. All the objects referenced in this topic are Cartographer ClusterRunTemplates packaged in Out of the Box Templates. This topic describes the one or more objects they create, the supply chains that include them, and the parameters they use.
Tests source code.
This ClusterRunTemplate creates a Tekton PipelineRun referring to the user’s Tekton Pipeline.
Input name | Meaning | Example |
---|---|---|
tekton-params |
Set of parameters to pass to the Tekton Pipeline | - name: source-url value: https://github.com/vmware-tanzu/cartographer.git - name: source-revision value: e4a53f49a92fc913d26f8cc23d59102a51a5e635 - name: verbose value: true - name: foo value: bar |
For information about the runnable created in the OOTB Testing and OOTB Testing and Scanning, see testing-pipeline.
For information about the Tekton Pipeline that the user must create, see Tekton/Pipeline.
Generic template for creating a Tekton TaskRun.
A Tekton TaskRun.
Input name | Meaning | Example |
---|---|---|
serviceAccount |
Service Account with permissions necessary for the Tekton Task | default |
taskRef |
Reference to the Tekton Task to which the TaskRun provides parameters | kind: ClusterTask name: git-writer |
params |
Parameters which are provided to the Tekton Task | - name: git_branch value: main - name: git_user_name value: "Some Name" |
Commit configuration to a Git repository and open a pull request for review.
Creates a Tekton TaskRun referring to the commit-and-pr
Tekton Task.
Input name | Meaning | Example |
---|---|---|
serviceAccount |
Service Account with credentials for the Git repository | default |
git_server_kind |
Type of Git provider | github |
git_server_address |
Server URL | https://github.com |
repository_owner |
Owner or Organization in which the repository resides | vmware-tanzu |
repository_name |
Name of the repository | cartographer |
commit_branch |
Name of the commit branch. Recommended value is an empty string. | "" |
pull_request_title |
Title of the PR to be opened | "Update" |
pull_request_body |
Body of the PR to be opened | "Ready for review" |
base_branch |
Branch into which the PR is merged | main |
git_user_name |
User name associated with the commit | Waciuma Rasheed |
git_user_email |
User email associated with the commit | [email protected] |
git_commit_message |
Message on commit | "App update" |
git_files |
Base64 encoded JSON file where keys equal the filename and the value is the file contents. | "eyJkZWxpdmVyeS55bWwiOiJhcGlWZXJzaW9uOiBzZXJ2aW5nLmtuYXRpdmUuZGV2L3YxXG5raW5kOiBTZXJ2aWNlXG4ifQ==" |
sub_path |
The directory location in the repository in which to write the files. | "." |
For information about the template creating the related runnable, see config-writer-and-pull-requester-template.
For information about gitops, see GitOps versus RegistryOps.