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: ...@@ -22,6 +22,11 @@ backend:
methods: [GET, POST, PUT, DELETE] methods: [GET, POST, PUT, DELETE]
credentials: true credentials: true
integrations:
gitlab:
- host: gitlab.wikimedia.org
apiBaseUrl: https://gitlab.wikimedia.org/api/v4
catalog: catalog:
rules: rules:
- allow: [Component, System, API, Group, User, Resource, Location] - allow: [Component, System, API, Group, User, Resource, Location]
......
...@@ -66,4 +66,4 @@ catalog: ...@@ -66,4 +66,4 @@ catalog:
- allow: [Component, System, API, Group, User, Resource, Location] - allow: [Component, System, API, Group, User, Resource, Location]
locations: locations:
- type: url - 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 ...@@ -3,8 +3,8 @@ kind: Location
metadata: metadata:
name: example-apis name: example-apis
description: A collection of all Backstage example APIs description: A collection of all Backstage example APIs
# spec: spec:
# targets: targets: []
# - ./apis/hello-world-api.yaml # - ./apis/hello-world-api.yaml
# - ./apis/petstore-api.yaml # - ./apis/petstore-api.yaml
# - ./apis/spotify-api.yaml # - ./apis/spotify-api.yaml
......
...@@ -3,7 +3,7 @@ kind: Location ...@@ -3,7 +3,7 @@ kind: Location
metadata: metadata:
name: example-domains name: example-domains
description: A collection of all Backstage example domains description: A collection of all Backstage example domains
# spec: spec:
# targets: targets: []
# - ./domains/artists-domain.yaml # - ./domains/artists-domain.yaml
# - ./domains/playback-domain.yaml # - ./domains/playback-domain.yaml
...@@ -3,6 +3,6 @@ kind: Location ...@@ -3,6 +3,6 @@ kind: Location
metadata: metadata:
name: example-resources name: example-resources
description: A collection of all Backstage example resources description: A collection of all Backstage example resources
# spec: spec:
# targets: targets: []
# - ./resources/artists-db-resource.yaml # - ./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