Skip to content

Document how to use inputs to tasks #151

Closed

Description

@chendrix

The documentation around tasks, particularly inputs, is woefully inadequate.

We were told by @robdimsdale and @evanshort73 that you can actually put a prior task as an input to a later task, like

- task: a
  ...
- task: b
      config:
        platform: linux
        image: docker:///ubuntu/trusty
        inputs:
          - name: a
          - name: some-repo
        run:
          path: some-repo/scripts/do-something

This is not documented. The documentation for inputs states:

This determines which artifacts will propagate into the task, as the build plan executes. If any specified inputs are not present, the task will end with an error, without running.

and then does not ever describe what is an artifact.

Activity

  1. concourse-bot commented on Sep 24, 2015

    @concourse-bot

    Hi there!

    We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

    The current status is as follows:

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. concourse-bot commented on Jul 4, 2016

    @concourse-bot

    Hello again!

    All stories related to this issue have been accepted, so I'm going to automatically close this issue.

    At the time of writing, the following stories have been accepted:

    If you feel there is still more to be done, or if you have any questions, leave a comment and we'll reopen if necessary!

  3. added a commit that references this issue on Aug 17, 2016
  4. added a commit that references this issue on May 17, 2017
  5. added a commit that references this issue on May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions