Skip to content

Fly set-pipeline-ordering command #1561

Closed

Description

@alext

Feature Request

What challenge are you facing?

We automate the creation of our concourse instances, and push several pipelines to them. We'd like a means to set the pipeline ordering so that we can control which pipeline is shown by default.

A Modest Proposal

I therefore propose adding a set-pipeline-ordering command to fly to achieve this.

At present we're having to work around this with a script that does a PUT to the /api/v1/teams/<teamname>/pipelines/ordering endpoint using creds read out of the .flyrc file, and a comma-separated list of pipeline names.

Activity

  1. self-assigned this
    on Apr 6, 2018
  2. shashwathi commented on Apr 6, 2018

    @shashwathi
    Contributor

    feature/order-pipelines branch on fly and go-concourse contains the feature.

  3. shashwathi commented on Apr 6, 2018

    @shashwathi
    Contributor

    While testing the CLI feature I just realized that API does not throw an error if one or more pipelines does not exist.

    @vito @pivotal-jwinters : Is this desired behaviour?

  4. jwntrs commented on Apr 12, 2018

    @jwntrs
    Contributor

    @shashwathi yeah we should probably fail the team.OrderPipelines command if there are no rows affected.

  5. shashwathi commented on Apr 12, 2018

    @shashwathi
    Contributor

    I will update the API behavior and add fly command.

  6. added this to the v3.12.0 milestone on Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions