Skip to content

Commit

Permalink
Allow group registration via GitLab
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed May 25, 2023
1 parent a1312d4 commit 17ce0b1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backstage/app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ catalog:
pullRequestBranchName: backstage-integration
rules:
- allow: [Component, System, API, Resource, Location]
locations:
- type: url
target: https://gitlab.diamond.ac.uk/sscc-docs/groups/-/jobs/artifacts/main/raw/all-groups.yaml?job=collate
rules:
- allow: [Group]
providers:
github:
GitHub-DiamondLightSource:
Expand Down
3 changes: 3 additions & 0 deletions docs/user/how-tos/register-a-group.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Register a Group

This how-to will take you through the steps of registering a [Group](../explanations/group.md) with the developer portal. Groups are registed via a central [GitLab repository](https://gitlab.diamond.ac.uk/sscc-docs/groups). The instructions provided in the `README.md` file of this repository should be followed to perform group registration.
9 changes: 9 additions & 0 deletions docs/user/references/discovery-locations.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ LDAP:

<!--end-ldap-locations-->

<!--start-miscellaneous-locations-->

Miscellaneous:

- `gitlab.diamond.ac.uk/sscc-docs/groups`
- [Groups](../explanations/group.md)

<!--end-miscellaneous-locations-->

<!--end-locations-->

These locations are defined in the `catalog.providers` section of the backstage configuration file `backstage/app-config.yaml` ([on main :link:](https://github.com/DiamondLightSource/developer-portal/blob/main/backstage/app-config.yaml)).

0 comments on commit 17ce0b1

Please sign in to comment.