Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role access support for pipeline group via yaml config plugin #149

Open
thatsk opened this issue Oct 27, 2020 · 4 comments
Open

Role access support for pipeline group via yaml config plugin #149

thatsk opened this issue Oct 27, 2020 · 4 comments

Comments

@thatsk
Copy link

thatsk commented Oct 27, 2020

image
This should be done via yaml code like below

#ci.gocd.yaml
format_version: 9
environments:
  testing:
    pipelines:
      - example-deploy-testing
      - build-testing
pipelines:
  mypipe1: # definition of mypipe1 pipeline
    group: mygroup # note that the group name can contain only of alphanumeric & underscore characters
    approval:
    roles:
      - manager
    users:
      - john
    display_order: 10
    label_template: "${mygit[:8]}"
    lock_behavior: none
    parameters: # list of parameters that can be configured for a pipeline
      param1: value1

Right now yaml config plugin only supports approval at stage level but not at pipeline group. Any idea how do we achieve this?

@thatsk
Copy link
Author

thatsk commented Oct 27, 2020

https://github.com/tomzo/gocd-yaml-config-plugin#approval it should be done at stage level

@thatsk
Copy link
Author

thatsk commented Oct 27, 2020

image

Is this fixed?

@luboszima
Copy link

Any news?

@shogos3
Copy link

shogos3 commented Nov 4, 2021

Currently, new group which is created by this plugin has no roles. This means only admins can see new groups. I'm happy if this plugin supports add roles in groups

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

No branches or pull requests

4 participants