Skip to content

Request: Allow access to metadata in tasks #2129

Closed

Description

@do87

Hi there!

From the documentation https://concourse-ci.org/implementing-resources.html it seems that metadata is accessible only on in/out to prevent a versioning "anti pattern"

BUT

this seems to be a very opinionated thing to do and in my specific case, it blocks me from creating a task that alerts me when there's a problem with the pipeline. To overcome it i'll have to create my own resource!

Is this behavior something that you'd consider changing?

Activity

  1. marco-m commented on Apr 6, 2018

    @marco-m
    Contributor

    I am not sure I understand, could you make a specific example? Wouldn't the on_failure or ensure step hooks allow you to create your alert ?

    (Disclaimer: I am not from the Concourse team)

  2. do87 commented on Apr 6, 2018

    @do87
    Author

    Maybe i missed something, but according to the documentation, metadata is only available to a resource during get or put stages

  3. jama22 commented on Apr 16, 2018

    @jama22

    @do87 I think I know what you're talking about. I'd like to point you to this (relatively old) issue #1052 where we discuss the rise of notifications-as-resources clutter, and potential ways to address it

  4. jama22 commented on Apr 16, 2018

    @jama22

    oh, and by the way @do87 if that helps answer your question please go ahead and close the issue

  5. jama22 commented on May 2, 2018

    @jama22

    Closing due to inactivity. @do87 please feel free to reopen if you'd like to revive the conversation!

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