Comments (5)
It works if workspaces
commented out:
pipeline.yaml
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
name: build-module-nodejs-frontend-v1-sadev2
labels:
kustomize.toolkit.fluxcd.io/substitute: disabled
app.kubernetes.io/version: "1.0.5"
spec:
# workspaces:
# - name: ws
params:
- name: value
tasks:
- name: main
# workspaces:
# - name: ws
taskSpec:
# workspaces:
# - name: ws
results:
- name: build-ts
value: $(steps.build-ts.results.value)
steps:
- name: build-ts
ref:
name: build-ts-v1.2
pipelinerun.yaml
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
generateName: build-module-nodejs-frontend-v1-dev2-
labels:
tekton/concurrency-group: build-module-nodejs-frontend-v1-dev
tekton/run-group: build-module-nodejs-frontend-v1-dev
spec:
# workspaces:
# - name: ws
# emptyDir: {}
pipelineRef:
name: build-module-nodejs-frontend-v1-sadev2
params:
- name: value
value: yyy
![image](https://private-user-images.githubusercontent.com/10142314/312748182-511065a5-7cd6-4a9c-a9fd-28aa41f32801.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTE2MzU3NTMsIm5iZiI6MTcxMTYzNTQ1MywicGF0aCI6Ii8xMDE0MjMxNC8zMTI3NDgxODItNTExMDY1YTUtN2NkNi00YTljLWE5ZmQtMjhhYTQxZjMyODAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzI4VDE0MTczM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ1ZTc0N2E4YjI4MmQ3ZWMyYjlhYTc2ZTdlZDA1ZTRlNmI4N2I2NGQwNTNlYzg2NTBkYjgwYTVmY2FmNGU5NWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WrU14VP-3KeISjrykeyuj7VQFj2I1anthUVRyAE3Lls)
from pipeline.
Thanks for filing this bug @uqix
The issue is the use of an emptyDir which inturn is added to the Step template and when merging Step with StepTemplate, we lose the Step's Results and Params.
It's a quick fix that I will send in very shortly.
from pipeline.
Thanks, BTW, volumeClaimTemplate
workspace also has this issue.
from pipeline.
Fix in #7757
from pipeline.
Fixed.
from pipeline.
Related Issues (20)
- Add the ability to override the `timeout` value for individual pipeline tasks via taskRunSpecs in a pipelineRun
- The params in step are passed to `stdoutConfig.path`. HOT 1
- Tekton pipeline validation crashes on script validation in Openshift HOT 1
- Tekton upgrade to v0.56.2 is broken HOT 7
- TaskRun Fails to Create Pod When ServiceAccount References Non-Existent Secret HOT 3
- Unexpected Default βkindβ in taskRef When Using Resolver in Tekton Pipelines HOT 1
- multiple interpolations in stepResult substitution should be allowed HOT 1
- Pipeline fails with default array params when type is not specified in remote resource HOT 1
- Action Button not visible HOT 2
- Is the `retries` count for Task without validation by design?
- Support full podtemplate spec for affinity assistant pod HOT 1
- When debug is not turned on correctly, redundant volumes appear HOT 1
- Add support for integer in params of pipeline
- Timeout not working on Pipeline run HOT 4
- [0.56.x] stepaction isn't configured for conversion webhook HOT 1
- Workingdir does not give write access to the group HOT 2
- TEP-0142 Promote StepActions to Beta HOT 1
- WIP: TaskRun recoverable error, `CreateContainerConfigError` neither resumes PipelineRun on fix, nor times out
- Pipelinerun and Taskrun Count metrics should have less cardinality 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.