Skip to content

Instantly share code, notes, and snippets.

View gashcrumb's full-sized avatar

Stan Lewis gashcrumb

View GitHub Profile
@gashcrumb
gashcrumb / TestTemplate.yaml
Created May 10, 2024 14:57
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 "typescript@3.4.5"
info Has been hoisted to "typescript"
info Reasons this module exists
- "workspace-aggregator-94908e10-d42b-4977-9171-cebe09042a1a" depends on it
@gashcrumb
gashcrumb / storybook-config.patch
Created April 17, 2020 18:30
terser fix for storybook
diff --git a/app/ui-react/packages/.storybook/webpack.config.js b/app/ui-react/packages/.storybook/webpack.config.js
index 17fd6d6c82..e687c11b77 100644
--- a/app/ui-react/packages/.storybook/webpack.config.js
+++ b/app/ui-react/packages/.storybook/webpack.config.js
@@ -1,5 +1,7 @@
const path = require('path');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
+const TerserPlugin = require('terser-webpack-plugin');
+
module.exports = ({ config, mode }) => {
@gashcrumb
gashcrumb / test.patch
Created April 17, 2020 17:00
diff output
diff --git a/app/ui-react/syndesis/src/app/App.test.tsx b/app/ui-react/syndesis/src/app/App.test.tsx
index 301f84f27e..9fca935a80 100644
--- a/app/ui-react/syndesis/src/app/App.test.tsx
+++ b/app/ui-react/syndesis/src/app/App.test.tsx
@@ -1,7 +1,7 @@
import { render, waitForElement } from '@testing-library/react';
import * as React from 'react';
import { MemoryRouter } from 'react-router';
-import { App } from './App';
+// import { App } from './App';
@gashcrumb
gashcrumb / test.patch
Created April 17, 2020 17:00
diff output
diff --git a/app/ui-react/syndesis/src/app/App.test.tsx b/app/ui-react/syndesis/src/app/App.test.tsx
index 301f84f27e..9fca935a80 100644
--- a/app/ui-react/syndesis/src/app/App.test.tsx
+++ b/app/ui-react/syndesis/src/app/App.test.tsx
@@ -1,7 +1,7 @@
import { render, waitForElement } from '@testing-library/react';
import * as React from 'react';
import { MemoryRouter } from 'react-router';
-import { App } from './App';
+// import { App } from './App';