Quick Start
This guide connects an existing Tekton installation to Artifact Hub Shim and resolves one Task from the built-in catalog.
TOC
PrerequisitesProcess OverviewVerify Artifact Hub ShimConfigure TektonVerify the Resolver ConfigurationResolve a Built-in TaskNext StepsPrerequisites
- Artifact Hub Shim is installed and ready.
- A supported
Alauda Container Platform Pipelinesrelease is installed. The current released version isv4.14.0. Support on the4.10,4.6, and4.0lines becomes available afterv4.10.2,v4.6.4, andv4.0.17. - The ACP cluster meets the minimum patch versions in Release Notes.
- You can edit
TektonConfigand create aTaskRunin a test namespace.
Process Overview
Verify Artifact Hub Shim
The following commands use the default namespace and Service name:
The readiness response should contain "status":"ready". A ready response
means that the API has published a catalog snapshot.
Configure Tekton
Standard ACP installations with Artifact Hub Shim integration may already
contain the following settings. If the values are absent or the plugin uses a
custom namespace, merge the applicable fields into TektonConfig.spec.pipeline:
Keep existing spec.pipeline fields that are unrelated to the hub resolver.
For Pipelines as Code and non-default installations, see
Configure Tekton Integration.
Verify the Resolver Configuration
Find the Tekton target namespace and inspect the reconciled ConfigMap:
Expected output:
Also verify that the resolver feature is enabled:
Expected output:
Resolve a Built-in Task
Create a TaskRun that references version 0.1 of the run-script Task. If your
packaged catalog offers another version, replace 0.1 with a listed version.
Save the manifest as taskrun.yaml, apply it to a test namespace, and inspect
the result:
Successful remote resolution causes Tekton to create the TaskRun pod. If the TaskRun remains in a resolution error, see Hub Resolver Cannot Resolve a Resource.
Next Steps
- Consume Resources with the Hub Resolver
- Configure Custom Git Repositories
- Browse the Built-in Catalog
Tekton™ is a trademark of The Linux Foundation.
Red Hat® and OpenShift® are registered trademarks of Red Hat, Inc. in the United States and other countries.
Alauda is an independent vendor. This product is not affiliated with, endorsed by, or sponsored by The Linux Foundation or Red Hat, Inc. All trademarks are the property of their respective owners and are used here for identification purposes only.