Comments (11)
This is the design doc for both templating and references, shared with members of knative-dev@.
from pipeline.
/assign @dlorenc
/meow space
from pipeline.
In response to this:
/assign @dlorenc
/meow space
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from pipeline.
@bobcatfish should this issue be closed? I think its done now by the above PRs
from pipeline.
I think that actually templating with a Task's outputs still isn't implemented 🤔 But i think @dlorenc has a branch with this fixed so we can nearly close this...
from pipeline.
The other thing still missing is applying any templating at a Pipeline level.
from pipeline.
Can this be closed now?
from pipeline.
Only use case left is when you provide templating via a Pipeline:
kind: Pipeline
...
- name: deploy-bundle-test
taskRef:
name: deploy-with-kubectl
inputSourceBindings:
- name: workspace
key: guestbook
- name: myImage
key: redis-docker
passedConstraint:
- build-push
params:
- name: labels
value: "${myImage.digest}@${workspace.revision}"
In the end the value
should be expanded
from pipeline.
So I'm not 100% sure of the best way to test this. I added a test case to show that the PipelineRun reconciler does not expand these and will pass them to the TaskRun controller, and we have TaskRun tests that show they get expanded. But that doesn't feel very satisifying...
from pipeline.
At first glance, at least, that sounds like a reasonable set of tests to me.
from pipeline.
I added a test case to show that the PipelineRun reconciler does not expand these and will pass them to the TaskRun controller, and we have TaskRun tests that show they get expanded. But that doesn't feel very satisifying...
I hear you! I can't think of anything better at the moment - we could have an integration tests that passes the whole thing in and makes sure the right thing comes out, but that sounds pretty rough.
I was looking at some of the kubebuilder stuff today with @pwittrock and the integration tests it generates, which can instantiate the controllers and api server locally, could be an interesting way to test something like this.
That being said it kinda feels like overkill!
TL;DR: @dlorenc I think either add the test you've described or just decide it's not worth covering and leave it as is.
from pipeline.
Related Issues (20)
- Tekton buildid task not able to apply HOT 3
- CustomRuns do not include labels when creating resources
- Injected sidecars still can show up in TaskRun status when the TaskRun has explicit sidecars HOT 2
- Tekton Migrating From paketobuildpacks/builder:base To paketobuildpacks/builder-jammy-base HOT 1
- Woke GitHub Actions workflow not starting since December 28th HOT 2
- When a duplicate parameter name is encountered in the pipeline, there is an issue with inaccurate path reporting. HOT 1
- Support for variable interpolation in workspace.configmap.items * (in PipelineRun and TaskRun) HOT 1
- `StepAction` hub/catalog resolver support HOT 1
- Variable substitution of Task spec.steps[].name is broken.
- `volumeClaimTemplate` and exceeded quota for PVC (and requeues ?)
- Dependent Task after Task with when condition are skipped HOT 6
- Pipeline Scale Optimization Questions HOT 1
- looks like Pipelines Controller is not freeing memory HOT 1
- TEP-0147 Phase 1 implementation Plan HOT 1
- Entrypoint cannot be found in private repository image HOT 8
- TEP-0147 create structs to surface artifacts inputs/outputs to taskRun HOT 1
- TEP-0147 introduce feature flag enable artifacts HOT 1
- `pipelineRun.param` overwriting `matrix.params` with `matrix` and `taskSpec`
- Provide Persistent volume for caching HOT 7
- StepAction steps order not preserved, error: unexpected end of JSON input HOT 10
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.