Skip to content

Commit

Permalink
Revert "Create branch with no catalog-info file"
Browse files Browse the repository at this point in the history
This reverts commit b6161ce.
  • Loading branch information
Ian-Link-Roadie committed Dec 20, 2023
1 parent 874b9c0 commit 7c96623
Show file tree
Hide file tree
Showing 13 changed files with 445 additions and 0 deletions.
27 changes: 27 additions & 0 deletions catalog-info-4.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sample-service-4
title: Sample Service 4
tags:
- test
description: |
A service for testing Backstage functionality. Configured for GitHub Actions, Sentry, AWS Lambda.
annotations:
jenkins.io/github-folder: 'roadie/sample-service'
# The Sentry organization is stored in the app-config.yaml of the Backstage instance.
sentry.io/project-slug: sample-service
aws.com/lambda-function-name: HelloWorld
aws.com/lambda-region: eu-west-1
backstage.io/techdocs-ref: url:s3
buildkite.com/project-slug: 'samroadie/demo-data'
qameta.io/allure-project: asdf
labels:
label2/label1: test-label3
label2/label2: test-label4
spec:
type: service
owner: dtuite
lifecycle: experimental
providesApis:
- sample-service
38 changes: 38 additions & 0 deletions catalog-info-5.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sample-service-5test
title: Sample Service 5test
description: |
A service for testing Backstage functionality! Configured for GitHub Actions, Sentry, AWS Lambda, Datadog and mis-configured techdocs.
annotations:
last-security-review: 2022-11-23
github.com/project-slug: RoadieHQ/sample-service
sentry.io/project-slug: sample-service
aws.com/lambda-function-name: HelloWorld
aws.com/lambda-region: eu-west-1
datadoghq.com/dashboard-url: https://p.datadoghq.eu/sb/x5lc2ayfxeebsas1-6ad7c05c9211d7f93167b5101805f089
backstage.io/techdocs-ref: dir:.
pagerduty.com/service-id: PVTJXPY
jira/project-key: TEST
jira/component: COMP
snyk.io/org-id: a0e0775e-2b17-4e57-8d85-6c8fbe5bc9a0
travis-ci.com/repo-slug: RoadieHQ/sample-service
buildkite.com/project-slug: roadie/test-pipe
cloud.google.com/function-ids: projects/roadie-dev-283705/locations/europe-west1/functions/test-fn-1
argocd/app-name: control-app
prometheus.io/rule: memUsage|component,node_memory_Active_bytes|instance,sum by (instance) (node_cpu_seconds_total)|instance
prometheus.io/alert: 'Excessive Memory Usage'
snyk.io/project-ids: 63ac09c4-fd65-4f53-b9b2-c31d2dee3291
splunk.com/on-call-team: Example
tech-insights/scorecard: SampleScorecard
tech-insights/docker-file-location: contrib/build/
harness.io/project-url: https://app.harness.io/ng/#/account/d5af5z8-RkS5-ehQRNVk9w/home/orgs/default/projects/default_project/details
labels:
label2/label1: test-label
spec:
type: service
owner: user:Xantier
lifecycle: experimental
providesApis:
- sample-service
11 changes: 11 additions & 0 deletions catalog-info-docs-only.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sample-service
description: A service for testing TechDocs.
annotations:
backstage.io/techdocs-ref: url:https://github.com/RoadieHQ/sample-service/tree/main
spec:
type: service
owner: guest
lifecycle: experimental
28 changes: 28 additions & 0 deletions catalog-info-irma.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: irma-test-service
title: Irma Test service
description: |
A service for testing Backstage functionality. Cofigured for Bugsnag.
annotations:
bugsnag.com/project-key: RoadieHQ/93b71ec25fd3e1d803af87d57cea2acd
bugsnag.com/project-name: Test bugsnag app
shortcut.com/project-id: '14'
github.com/public-repository: Public
github.com/project-slug: roadiehq/sample-service
snyk.io/org-name: roadie
backstage.io/techdocs-ref: dir:.
roadie.io/techinsights-shortcut-id: "9229"
datadog.eu/tag-name: sample-service
pagerduty.com/service-id: P2RXCGR
labels:
label1: test-label
label2/label2: test-label2
spec:
type: service
owner: irma-test-group
lifecycle: experimental
system: sample-system
providesApis:
- test-service
17 changes: 17 additions & 0 deletions catalog-info-lighthouse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sample-service-3
description: |
A service for testing Backstage functionality. Configured for Travis CI.
annotations:
travis-ci.com/repo-slug: RoadieHQ/sample-service
lighthouse.com/website-url: |
https://roadie.io/
https://roadie.io/backstage/plugins
spec:
type: service
owner: dtuite
lifecycle: experimental
providesApis:
- sample-service
110 changes: 110 additions & 0 deletions catalog-info-ridesharing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: passenger-backend
description: |
Lookup information on active passengers. Name, location etc.
links:
- url: https://www.notion.so/roadie/Sample-Service-e067465e56a14ae9b0507f8559f6aa26
title: What is the Passenger Backend?
icon: help
- url: https://www.notion.so/roadie/Sample-Service-e067465e56a14ae9b0507f8559f6aa26
title: Grafana
- url: https://www.notion.so/roadie/Sample-Service-e067465e56a14ae9b0507f8559f6aa26
title: Datadog
icon: dashboard
annotations:
github.com/project-slug: RoadieHQ/sample-service
# The Sentry organization is stored in the app-config.yaml of the Backstage instance.
sentry.io/project-slug: sample-service
cloud.google.com/function-ids: projects/roadie-dev-283705/locations/europe-west1/functions/test-fn-1
backstage.io/techdocs-ref: url:https://github.com/RoadieHQ/sample-service/tree/main
pagerduty.com/integration-key: 1cf15c07f6f440e0a8d65b7ce80be834
snyk.io/org-name: roadie
snyk.io/project-ids: 63ac09c4-fd65-4f53-b9b2-c31d2dee3291
backstage.io/kubernetes-id: sample-service
spec:
type: service
owner: roadie
lifecycle: production
system: passengers
providesApis:
- passengers-api
dependsOn:
- Component:core-auth-module
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: core-queueing-library
description: Push jobs onto a globally available shared queue.
spec:
type: library
lifecycle: production
owner: roadie
dependencyOf:
- Component:passenger-backend
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: core-auth-module
description: Authenticate incoming requests.
spec:
type: library
lifecycle: production
owner: roadie
---
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: passengers-api
description: Lookup information on active passengers. Name, location etc.
spec:
type: openapi
lifecycle: production
owner: roadie
system: passengers
definition:
$text: https://github.com/RoadieHQ/sample-service/blob/main/api-spec.yaml
---
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: passengers
description: Passenger management and tracking.
spec:
owner: roadie
domain: ride-sharing
---
apiVersion: backstage.io/v1alpha1
kind: Domain
metadata:
name: ride-sharing
description: Moving people easier and faster.
spec:
owner: roadie
---
apiVersion: backstage.io/v1alpha1
kind: System
metadata:
name: trips
description: Trip management and reporting.
spec:
owner: roadie
domain: ride-sharing
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: trips-counter
description: Count the number of trips by geographic region, passenger etc.
annotations:
github.com/project-slug: RoadieHQ/sample-service
spec:
type: service
owner: roadie
lifecycle: production
system: trips
consumesApis:
- passengers-api
22 changes: 22 additions & 0 deletions catalog-info-roadie-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: ib-test
description: |
A service for testing Backstage functionality. Configured for GitHub Actions and
Sentry.
annotations:
github.com/project-slug: roadiehq/sample-service
# The Sentry organization is stored in the app-config.yaml of the Backstage instance.
sentry.io/project-slug: sample-service
backstage.io/techdocs-ref: dir:./
pagerduty.com/integration-key: 1cf15c07f6f440e0a8d65b7ce80be834
snyk.io/org-name: dtuite
snyk.io/project-ids: b6ab231c-a019-4def-a148-4a10a79d6302
lighthouse.com/website-url: https://api.development.env.tryflux.com/lighthouse-audit
spec:
type: service
owner: engineering
lifecycle: experimental
providesApis:
- sample-service
13 changes: 13 additions & 0 deletions catalog-info-test-api-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sample-service-with-test-data-api-2
description: |
A service linked to the test data API.
annotations:
roadie.io/test-data-api-project: "3"
projectId: "3"
spec:
type: service
owner: [email protected]
lifecycle: experimental
13 changes: 13 additions & 0 deletions catalog-info-test-api-3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sample-service-with-test-data-api-3
description: |
A service linked to the test data API.
annotations:
roadie.io/test-data-api-project: "5"
projectId: "5"
spec:
type: service
owner: [email protected]
lifecycle: experimental
12 changes: 12 additions & 0 deletions catalog-info-test-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sample-service-with-test-data-api
description: |
A service linked to the test data API.
annotations:
roadie.io/test-data-api-project: "1"
spec:
type: service
owner: [email protected]
lifecycle: experimental
14 changes: 14 additions & 0 deletions catalog-info-test-docs-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: sample-service-test-orphan-docs
title: Sample Service Test Orphan Docs
description: |
A service for testing docs places on an orphan branch to avoid polluting a repo when docs duplicate native docs.
annotations:
backstage.io/techdocs-ref: url:https://github.com/RoadieHQ/sample-service/tree/orphan-branch-docs
qameta.io/allure-project: asdf
spec:
type: service
owner: dtuite
lifecycle: experimental
Loading

0 comments on commit 7c96623

Please sign in to comment.