Skip to content

Commit

Permalink
allow github concourse contributor team to rerun builds
Browse files Browse the repository at this point in the history
and check resources so they could retrigger failure build on PR
pipeline and check pr resource in case wanted version is not
available.

Note: they could also rerun any builds and check any resources by
this change.

Signed-off-by: Rui Yang <[email protected]>
  • Loading branch information
Rui Yang committed May 11, 2020
1 parent 0ac641f commit 13d8872
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deployments/with-creds/ci/contributor-team-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# fly -t ci set-team -n contributor --config contributor-team-config.yml
roles:
- 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 13d8872

Please sign in to comment.