question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for dynamic LoopArguments (not currently supported in Tekton)

See original GitHub issue

/kind feature

Description:

Since Tekton doesn’t have loop/recursion support, PR #67 introduced a workaround for static loop parameters by flattening the loop with parallel TaskRuns. But for dynamic loop parameters, Tekton does not have a feature to support that.

Additional information:

  • PR #67 introduced static loop parameter support
  • Issue #70 discusses support and workarounds for dynamic looping in Tekton

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bobcatfishcommented, May 7, 2020

While discussing https://github.com/tektoncd/pipeline/issues/2050 in a recent working group, it was pointed out that “looping” can refer to different sorts of loops, and the one that we’d be most likely to add into Tekton would be a kind of “for each” functionality, like a Python list comprehension. It’s (so far) not likely that we’d add generic dynamic looping, e.g. looping based on some state outside of the Pipeline.

0reactions
stale[bot]commented, Jun 2, 2021

This issue has been automatically closed because it has not had recent activity. Please comment “/reopen” to reopen it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Variable Substitutions Supported by Tasks and Pipelines
This page documents the variable substitutions supported by Tasks and Pipelines . ... Note: Tekton does not escape the contents of variables.
Read more >
Tekton | Google Cloud
A Kubernetes-native open-source framework for building continuous integration and delivery (CI/CD) pipelines to build, test, and deploy software.
Read more >
Tekton in the IBM Cloud: Part 2 – Parameters and Secrets
WARNING: The Tekton parameter specification $(inputs.params.var) looks like a bash shell variable, but it is not. The Tekton parameter ...
Read more >
Chapter 4. Pipelines OpenShift Container Platform 4.9
You can define requests and limits on a pod coherently, as Tekton now fully supports the LimitRange object by considering the Min ,...
Read more >
Dynamic scheduling of Tekton workloads using Triggers
Triggers flow. Tekton Trigger allows you to create a special resource called an EventListener, which is a Kubernetes service that listens for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found