Code Monkey home page Code Monkey logo

Comments (5)

uqix avatar uqix commented on June 24, 2024

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

from pipeline.

chitrangpatel avatar chitrangpatel commented on June 24, 2024

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.

uqix avatar uqix commented on June 24, 2024

Thanks, BTW, volumeClaimTemplate workspace also has this issue.

from pipeline.

chitrangpatel avatar chitrangpatel commented on June 24, 2024

Fix in #7757

from pipeline.

chitrangpatel avatar chitrangpatel commented on June 24, 2024

Fixed.

from pipeline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.