Skip to content

Commit

Permalink
adding team reviewers and reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-claire committed Feb 6, 2024
1 parent 273cc9a commit c34b5c5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion github/create-team/component-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: TEAM_NAME
#description: ${{values.description | dump}}
annotations:
backstage.io/kubernetes-id: app
backstage.io/kubernetes-id: TEAM_NAME
spec:
type: team
lifecycle: experimental
Expand Down
11 changes: 0 additions & 11 deletions github/create-team/components/poc-team-component.yaml

This file was deleted.

1 change: 0 additions & 1 deletion github/create-team/team-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ metadata:
description: A collection of all team components
spec:
targets:
- ./components/poc-team-component.yaml
11 changes: 6 additions & 5 deletions github/create-team/team-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,16 @@ spec:
description: "This PR creates a new team"
branchName: "add-new-team-${{ parameters.teamName }}"
token: ${{ secrets.GITHUB_TOKEN }}
reviewers: ${{ parameters.manager }}
#teamReviewers: "eio"
commitMessage: "Adding team ${{ parameters.teamName }} to ${{ parameters.orgName }}"
#sourcePath: ./content
sourcePath: ./content
# targetPath: ./manifests/github-resources/resources/Team/
reviewers:
- "${{ parameters.manager }}"
teamReviewers:
- "eio"
files:
'./content/${{ parameters.teamName }}.yaml': 'manifests/github-resources/resources/Team/'
#'**/*.yaml': 'manifests/github-resources/resources/Team/'

#'**/*.yaml': 'manifests/github-resources/resources/Team/'

- id: dispatch-workflow
name: Trigger Workflow
Expand Down

0 comments on commit c34b5c5

Please sign in to comment.