Skip to content

an empty worker tag array is interpreted as [ "" ] #299

Closed

Description

@danger-ranger

this prevents us from just using vars in fly set-pipeline to determine worker tags - instead we must use an external tool to remove the worker tag lines from our yml since it looks for a worker satisfying the tag ""

Activity

  1. concourse-bot commented on Feb 26, 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:

    • #114566501 an empty worker tag array is interpreted as [ "" ]

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

  2. rainmaker commented on Mar 14, 2016

    @rainmaker

    We think we're encountering a similar issue:

    • we also want to use --load-vars-from to allow tags to be specified at configure-time
    • we need to be able to pass an empty array when there are no tags
    • an empty array, tags: [], works fine when we do it directly in the pipeline.yml - this seems to contradict this issue, but we suspect it's actually the same thing, since @xtreme-gavin-enns mentions using vars.
    • when we try and use tags: {{iaas_tags}} in the pipeline yaml along with iaas_tags: [], we get the following error:
    failed to load variables from file (secrets/creds.yml): yaml: unmarshal errors:
      line 12: cannot unmarshal !!seq into string
    

    Line 12 is where we specify the iaas_tags.

    @XenoPhex, here's our issue-like paperwork, filed as requested.

  3. danger-ranger commented on Apr 29, 2016

    @danger-ranger
    ContributorAuthor

    Yeah, this is probably an instance of #360 (comment)

    This issue can probably be closed as a duplicate?

  4. keymon commented on Apr 29, 2016

    @keymon
    Contributor

    Actually I am not sure if your original issue is related to #360, I will move my comment there.

  5. vito commented on Jul 13, 2016

    @vito
    Contributor

    consolidating into #360

  6. added a commit that references this issue on Apr 11, 2018
  7. added a commit that references this issue on Aug 15, 2018
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