Skip to content

Instantly share code, notes, and snippets.

View gashcrumb's full-sized avatar

Stan Lewis gashcrumb

View GitHub Profile
@gashcrumb
gashcrumb / catalog-info.yaml
Last active April 18, 2025 11:51
some random test catalog
---
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
name: gashcrumb
annotations:
graph.microsoft.com/user-id: d2311337-59c5-4cc7-b5d0-9099ec69c7e7
spec:
profile:
displayName: gashcrumb
@gashcrumb
gashcrumb / sample-simple.cfg
Created January 13, 2025 12:35
slightly modified glauth config to make an example easier to run
#################
# glauth.conf
#################
# General configuration.
debug = true
# syslog = true
# structuredlog = true
#
# Enable hot-reload of configuration on changes
#!/bin/bash
IMAGE=quay.io/janus-idp/backstage-showcase:next
podman pull $IMAGE
podman run \
-e GITHUB_APP_APP_ID="${GITHUB_APP_APP_ID}" \
-e GITHUB_APP_CLIENT_ID="${GITHUB_APP_CLIENT_ID}" \
-e GITHUB_APP_CLIENT_SECRET="${GITHUB_APP_CLIENT_SECRET}" \
-e GITHUB_APP_WEBHOOK_URL="${GITHUB_APP_WEBHOOK_URL}" \
-e GITHUB_APP_WEBHOOK_SECRET="${GITHUB_APP_WEBHOOK_SECRET}}" \
@gashcrumb
gashcrumb / TestTemplate.yaml
Last active June 14, 2024 13:14
simple test scaffolder template
# Notice the v1beta3 version
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
# some metadata about the template itself
metadata:
name: v1beta3-demo
title: SPAM Selection and Delivery
description: scaffolder UI custom field test thingie
spec:
owner: backstage/techdocs-core
auth:
environment: development
providers:
github:
development:
clientId: ${AUTH_GITHUB_CLIENT_ID}
clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}
app:
baseUrl: http://lanky:3000
@gashcrumb
gashcrumb / catalog-info.yaml
Last active March 11, 2024 18:31
A simple catalog-info.yaml for the nodejs-rest-http openshift quickstart
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: nodejs-rest-http
description: NodeJS Basic quickstart
tags:
- nodejs
annotations:
'backstage.io/kubernetes-id': nodejs-rest-http
spec:
@gashcrumb
gashcrumb / catalog-info.yaml
Last active March 11, 2024 17:49
some test things
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: nodejs-rest-http
description: NodeJS Basic quickstart
tags:
- nodejs
annotations:
'backstage.io/kubernetes-id': nodejs-rest-http
@gashcrumb
gashcrumb / index.yaml
Created November 14, 2023 18:38
RHDH CI build helm chart
apiVersion: v1
entries:
developer-hub:
- annotations:
artifacthub.io/category: integration-delivery
artifacthub.io/license: Apache-2.0
artifacthub.io/links: |
- name: support
url: https://github.com/janus-idp/helm-backstage/issues
- name: Chart Source
@gashcrumb
gashcrumb / connector-types.json
Created November 4, 2022 13:30
a list of connector types
[
{
"name": "Database Sink",
"id": "database-sink-81",
"version": "database_0.81 alpha",
"description": "Sends data to Database Sink and is connector type 81",
"labels": [
"Database",
"sink"
],
yarn why v1.22.4
[1/4] Why do we have the module "typescript"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
info
=> Found "[email protected]"
info Has been hoisted to "typescript"
info Reasons this module exists
- "workspace-aggregator-94908e10-d42b-4977-9171-cebe09042a1a" depends on it