Skip to content

Ensure rendered only for last task of do block #434

Closed

Description

@mtekel

In concourse 0.76, but also in 1.1, when I define a do block like:

      - do:
        - task: create-temp-user
          file: paas-cf/concourse/tasks/create_admin.yml
          config:
            params:
              PREFIX: smoketest-user

        - task: smoke-tests-config
          file: paas-cf/concourse/tasks/smoke-tests-config.ymll

        - task: smoke-tests-run
          file: paas-cf/concourse/tasks/smoke-tests-run.yml
        ensure:
          task: remove-temp-user
          file: paas-cf/concourse/tasks/delete_admin.yml

This is rendered as ensure for the last job only:
image
but works as ensure for the whole do block:
image

Activity

  1. concourse-bot commented on May 9, 2016

    @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:

    • #140235337 Ensure rendered only for last task of do block
    • #119187789 Ensure displayed only for last job of do block

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

  2. changed the title [-]Ensure displayed only for last job of `do` block[/-] [+]Ensure rendered only for last task of `do` block[/+] on May 9, 2016
  3. dcarley commented on May 9, 2016

    @dcarley
    Contributor

    The rendering in Concourse 1.2 is slightly different.
    There's a thin line on the left that groups them together:

    screen shot 2016-05-09 at 16 25 05

  4. vito commented on May 9, 2016

    @vito
    Contributor

    @dcarley you sure? that should only apply to aggregates.

  5. dcarley commented on May 9, 2016

    @dcarley
    Contributor
  6. added a commit that references this issue on Aug 17, 2016
  7. vito commented on Oct 6, 2016

    @vito
    Contributor
  8. stale commented on Jul 16, 2019

    @stale

    Beep boop! This issue has been idle for long enough that it's time to check
    in and see if it's still important.

    If it is, what is blocking it? Would anyone be interested in submitting a
    PR
    or
    continuing the discussion to help move things forward?

    If no activity is observed within the next week, this issue will be
    exterminated closed, in accordance with our stale issue
    process
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions