Skip to content

Commit

Permalink
Merge pull request #127 from concourse/contributor-automation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui Yang authored May 20, 2020
2 parents e5c7bbd + ff5d44e commit c7ad853
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
8 changes: 8 additions & 0 deletions deployments/with-creds/ci/contributor-team-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# fly -t ci set-team -n contributor --config contributor-team-config.yml
roles:
- name: owner
github:
teams: ["concourse:pivotal"]
- name: pipeline-operator
github:
teams: ["concourse:contributors"]
21 changes: 21 additions & 0 deletions deployments/with-creds/ci/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,27 @@ concourse:
team: concourse:Pivotal
github:
enabled: true
# so pipeline-operator ended up with two permissions
# - RerunJobBuild
# - CheckResource
# which will be granted to concourse:contributors for
# operating PR pipeline
configRBAC: |
member:
- AbortBuild
- CreateJobBuild
- PauseJob
- UnpauseJob
- ClearTaskCache
- UnpinResource
- SetPinCommentOnResource
- CheckResourceWebHook
- CheckResourceType
- EnableResourceVersion
- DisableResourceVersion
- PinResourceVersion
- PausePipeline
- UnpausePipeline
bindPort: 80
clusterName: ci
containerPlacementStrategy: limit-active-tasks
Expand Down

0 comments on commit c7ad853

Please sign in to comment.