Comments (4)
You can specify a default value for each param: https://tekton.dev/docs/pipelines/tasks/#default-value
If no value is provided for that param at runtime (via TaskRun / PipelineRun) then the default value is used.
Also if you're using Tekton Triggers you can specify param values in your TriggerTemplate / TriggerBinding to avoid the need to provide them each time.
from pipeline.
You can specify a default value for each param: https://tekton.dev/docs/pipelines/tasks/#default-value
If no value is provided for that param at runtime (via TaskRun / PipelineRun) then the default value is used.
Also if you're using Tekton Triggers you can specify param values in your TriggerTemplate / TriggerBinding to avoid the need to provide them each time.
Although default values can be used to solve the problem I raised, some Task
exist in hub.tekton.dev
, and some ordinary users may have some learning costs to modify these values. Adding the features I mentioned would be more convenient for users to use
from pipeline.
You can also specify default values in your Pipeline, so consumers of the Pipeline do not need to be aware of the individual Task config, but can still override the values you provide if they wish.
from pipeline.
You can also specify default values in your Pipeline, so consumers of the Pipeline do not need to be aware of the individual Task config, but can still override the values you provide if they wish.
If I set these duplicate values in the pipeline, I will need to configure certain parameters repeatedly for each of my multiple pipelines, which is too troublesome. I hope to configure the fixed values of the task task before creating the pipeline, so that the configuration of each pipeline will be very convenient for me
from pipeline.
Related Issues (20)
- The Pipeline format is too cumbersome HOT 2
- Pipelines ignoring following name fields on resolvers HOT 2
- Invalid Validation of StepTemplate with StepAction Ref
- Too Strict validation of the Resolver Name during Webhook Validation HOT 3
- 2nd of two inline tasks gets new affinityassistant annotation but no new assistant pod
- Website wrongly shows specifying-task-level-computeresources as alpha feature HOT 1
- Missing substitution of propagated workspace in WorkingDirs
- affinity assistant will schedule onto nodes with insufficient resources to run a pod in the pipeline, it should not
- Matrix: invalid param type when consuming results from CustomRun on task matrix.params field
- Occasionally, taskrun fails to retrieve task results from sidecar logs HOT 1
- PipelineRun is canceled prior to its child TaskRuns being canceled. HOT 8
- How to build entry point without SPIRE?
- When performing an upgrade using install.yaml, a pipeline that ran in the past is now running. HOT 1
- The pipeline controller keeps refreshing logs HOT 1
- Error message when PipelineRun is missing parameters required by Pipeline is nonsensical HOT 6
- DryRun Validate should return the mutated Object HOT 2
- Incorrect param type passed to stepaction makes it use default value HOT 1
- Index out of range panic in CheckMissingResultReferences when references are missing
- Controller crashes for certain Pipeline after upgrade HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipeline.