Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link outputSourceBindings to build #172

Closed
shashwathi opened this issue Oct 22, 2018 · 0 comments
Closed

Link outputSourceBindings to build #172

shashwathi opened this issue Oct 22, 2018 · 0 comments

Comments

@shashwathi
Copy link
Contributor

Below is a pipeline with a task which has an input source to push-kritis and outputs the image to kritisImage resource. Currently there is no mechanism to capture the kritisImage metadata.
We need this information to use specific version of resource in further tasks of the pipeline.

apiVersion: pipeline.knative.dev/v1alpha1
kind: Pipeline
metadata:
  name: kritis-pipeline
  namespace: default
spec:
  tasks:
    - name: push-kritis              
      taskRef:
        name: build-push
      inputSourceBindings:
        - name: kritis-app-github
          key: workspace 
          resourceRef:
            name: kritis-repo-git
      outputSourceBindings:
        - name: kritisImage
          key: builtImage 
          resourceRef:
            name: kritis-resources-image

Expected Behavior

Build or TaskRun should hold resource references to outputSourceBindings generated.

Actual Behavior

outputSourceBindings of task is not used.

Additional Info

This should be completed before tackling: #148
This change might require build to be rendered inside build-pipeline.

hrishin pushed a commit to hrishin/tekton-pipeline that referenced this issue Oct 15, 2019
Add mechanism to build/tag gcs-fetcher image which is used by tekton-controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant