Skip to content

Commit

Permalink
Fix to versionedResolverTasks & stepactions, bump ecosystem versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Aneesh-M-Bhat authored and tekton-robot committed Sep 20, 2024
1 parent c63fb15 commit 3ca9273
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions hack/openshift/fetch-tektoncd-catalog-tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ declare -A TEKTON_ECOSYSTEM_TASKS=(
['task-buildah']="0.4.1"
['task-git-cli']="0.4.1"
['task-git-clone']='0.4.1'
['task-kn-apply']='0.2.1'
['task-kn']='0.2.1'
['task-maven']="0.3.1"
['task-openshift-client']="0.2.1"
['task-kn-apply']='0.2.2'
['task-kn']='0.2.2'
['task-maven']="0.3.2"
['task-openshift-client']="0.2.2"
['task-s2i-dotnet']='0.4.1'
['task-s2i-go']='0.4.1'
['task-s2i-java']='0.4.1'
Expand All @@ -71,7 +71,7 @@ declare -A TEKTON_ECOSYSTEM_TASKS=(
['task-s2i-python']='0.4.1'
['task-s2i-ruby']='0.4.1'
['task-skopeo-copy']='0.4.1'
['task-tkn']='0.2.1'
['task-tkn']='0.2.2'
)
declare -A TEKTON_ECOSYSTEM_STEPACTIONS=(
['stepaction-git-clone']='0.4.1'
Expand Down
4 changes: 2 additions & 2 deletions pkg/reconciler/openshift/tektonaddon/tektonaddon.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (r *Reconciler) ReconcileKind(ctx context.Context, ta *v1alpha1.TektonAddon
logger.Error(errorMsg)
}

if err := r.EnsureVersionedResolverTask(ctx, ctVal, ta); err != nil {
if err := r.EnsureVersionedResolverTask(ctx, rtVal, ta); err != nil {
ready = false
errorMsg = fmt.Sprintf("versioned namespaced tasks not yet ready: %v", err)
logger.Error(errorMsg)
Expand All @@ -175,7 +175,7 @@ func (r *Reconciler) ReconcileKind(ctx context.Context, ta *v1alpha1.TektonAddon
logger.Error(errorMsg)
}

if err := r.EnsureVersionedResolverStepAction(ctx, ctVal, ta); err != nil {
if err := r.EnsureVersionedResolverStepAction(ctx, rtVal, ta); err != nil {
ready = false
errorMsg = fmt.Sprintf("versioned namespaced stepactions not yet ready: %v", err)
logger.Error(errorMsg)
Expand Down

0 comments on commit 3ca9273

Please sign in to comment.