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

Adding support to enable resourceSpec #1324

Merged
merged 1 commit into from
Sep 25, 2019

Commits on Sep 20, 2019

  1. Adding support to enable resourceSpec

    Its now possible to embed the resource specifications into Pipeline Run
    using resourceSpec, for example:
    
    apiVersion: tekton.dev/v1alpha1
    kind: PipelineRun
    metadata:
      name: pipelinerun-echo-greetings
    spec:
      resources:
        - name: git-repo
            resourceRef:
              name: my-git-repo
    
    Can be specified as:
    
    apiVersion: tekton.dev/v1alpha1
    kind: PipelineRun
      name: pipelinerun-echo-greetings
    spec:
      resources:
        - name: git-repo
          resourceSpec:
            type: git
            params:
              - name: url
                value: https://github.com/myrepo/myrepo.git
    pritidesai committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    b5972d6 View commit details
    Browse the repository at this point in the history