Commit d5ac43c8 authored by Nikki Nikkhoui's avatar Nikki Nikkhoui
Browse files

Merge branch 'add-gitlab-integration' into 'main'

Add gitlab integration

See merge request !2
parents ed8486dd 8ff88df6
......@@ -22,6 +22,11 @@ backend:
methods: [GET, POST, PUT, DELETE]
credentials: true
integrations:
gitlab:
- host: gitlab.wikimedia.org
apiBaseUrl: https://gitlab.wikimedia.org/api/v4
catalog:
rules:
- allow: [Component, System, API, Group, User, Resource, Location]
......
......@@ -66,4 +66,4 @@ catalog:
- allow: [Component, System, API, Group, User, Resource, Location]
locations:
- type: url
target: http://localhost:3001/data/all.yaml
target: http://localhost:3001/data/all.yaml
\ No newline at end of file
......@@ -3,8 +3,8 @@ kind: Location
metadata:
name: example-apis
description: A collection of all Backstage example APIs
# spec:
# targets:
spec:
targets: []
# - ./apis/hello-world-api.yaml
# - ./apis/petstore-api.yaml
# - ./apis/spotify-api.yaml
......
......@@ -3,7 +3,7 @@ kind: Location
metadata:
name: example-domains
description: A collection of all Backstage example domains
# spec:
# targets:
spec:
targets: []
# - ./domains/artists-domain.yaml
# - ./domains/playback-domain.yaml
......@@ -3,6 +3,6 @@ kind: Location
metadata:
name: example-resources
description: A collection of all Backstage example resources
# spec:
# targets:
# - ./resources/artists-db-resource.yaml
spec:
targets: []
# - ./resources/artists-db-resource.yaml
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment