Last active
April 10, 2024 17:48
-
-
Save cardil/45351005bfdc32b3a9ee330e00e200da to your computer and use it in GitHub Desktop.
Serverless Eventmesh plugin to RH Developer Hub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading config from MergedConfigSource{FileConfigSource{path="/opt/app-root/src/app-config.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.example.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.example.production.yaml"}, FileConfigSource{path="/opt/app-root/src/dynamic-plugins-root/app-config.dynamic-plugins.yaml"}, FileConfigSource{path="/opt/app-root/src/knative.yaml"}, EnvConfigSource{count=1}} | |
skipping '/opt/app-root/src/dynamic-plugins-root/app-config.dynamic-plugins.yaml' since it is not a directory | |
failed to load dynamic plugin manifest from '/opt/app-root/src/dynamic-plugins-root/lost+found' [Error: ENOENT: no such file or directory, open '/opt/app-root/src/dynamic-plugins-root/lost+found/package.json'] { | |
errno: -2, | |
code: 'ENOENT', | |
syscall: 'open', | |
path: '/opt/app-root/src/dynamic-plugins-root/lost+found/package.json' | |
} | |
2024-04-10T17:42:15.030Z backstage info Found 1 new secrets in config that will be redacted | |
2024-04-10T17:42:15.033Z backstage info skipping '/opt/app-root/src/dynamic-plugins-root/app-config.dynamic-plugins.yaml' since it is not a directory | |
2024-04-10T17:42:15.038Z backstage error failed to load dynamic plugin manifest from '/opt/app-root/src/dynamic-plugins-root/lost+found' ENOENT: no such file or directory, open '/opt/app-root/src/dynamic-plugins-root/lost+found/package.json' errno=-2 code=ENOENT syscall=open path=/opt/app-root/src/dynamic-plugins-root/lost+found/package.json stack=Error: ENOENT: no such file or directory, open '/opt/app-root/src/dynamic-plugins-root/lost+found/package.json' | |
2024-04-10T17:42:15.216Z backstage info loaded dynamic backend plugin 'backstage-plugin-scaffolder-backend-module-azure-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-azure-dynamic-0.1.5' | |
2024-04-10T17:42:15.274Z backstage info loaded dynamic backend plugin 'backstage-plugin-scaffolder-backend-module-bitbucket-cloud-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-bitbucket-cloud-dynamic-0.1.3' | |
2024-04-10T17:42:15.313Z backstage info loaded dynamic backend plugin 'backstage-plugin-scaffolder-backend-module-bitbucket-server-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-bitbucket-server-dynamic-0.1.3' | |
2024-04-10T17:42:15.383Z backstage info loaded dynamic backend plugin 'backstage-plugin-scaffolder-backend-module-gerrit-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-gerrit-dynamic-0.1.5' | |
2024-04-10T17:42:16.018Z backstage info loaded dynamic backend plugin 'backstage-plugin-scaffolder-backend-module-github-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.2.3' | |
2024-04-10T17:42:16.249Z backstage info loaded dynamic backend plugin 'backstage-plugin-scaffolder-backend-module-gitlab-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-gitlab-dynamic-0.2.16' | |
2024-04-10T17:42:17.188Z backstage info loaded dynamic backend plugin 'backstage-plugin-techdocs-backend-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/backstage-plugin-techdocs-backend-dynamic-1.9.6' | |
2024-04-10T17:42:17.190Z backstage info loaded dynamic backend plugin '@janus-idp/backstage-scaffolder-backend-module-quay-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/janus-idp-backstage-scaffolder-backend-module-quay-dynamic-1.3.5/alpha' | |
2024-04-10T17:42:17.242Z backstage info loaded dynamic backend plugin '@janus-idp/backstage-scaffolder-backend-module-regex-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/janus-idp-backstage-scaffolder-backend-module-regex-dynamic-1.3.5/alpha' | |
2024-04-10T17:42:17.352Z backstage info loaded dynamic backend plugin 'roadiehq-scaffolder-backend-module-utils-dynamic' from 'file:///opt/app-root/src/dynamic-plugins-root/roadiehq-scaffolder-backend-module-utils-dynamic-1.13.6' | |
2024-04-10T17:42:17.384Z rootHttpRouter info Listening on :7007 | |
2024-04-10T17:42:17.415Z auth info Enabled Provider Factories : {} | |
2024-04-10T17:42:17.442Z scalprum info Loaded dynamic frontend plugin 'backstage-plugin-techdocs' from 'file:///opt/app-root/src/dynamic-plugins-root/backstage-plugin-techdocs-1.10.0' | |
2024-04-10T17:42:17.442Z scalprum info Loaded dynamic frontend plugin '@janus-idp/backstage-plugin-dynamic-plugins-info' from 'file:///opt/app-root/src/dynamic-plugins-root/janus-idp-backstage-plugin-dynamic-plugins-info-1.0.2' | |
2024-04-10T17:42:17.447Z proxy info [HPM] Proxy created: /quay/api -> https://quay.io/ | |
2024-04-10T17:42:17.447Z proxy info [HPM] Proxy rewrite rule created: "^/api/proxy/quay/api/?" ~> "/" | |
2024-04-10T17:42:17.448Z proxy warn skipped configuring /sonarqube due to Proxy target for route "/sonarqube" must be a string, but is of type undefined | |
2024-04-10T17:42:17.449Z proxy warn skipped configuring /jenkins/api due to Proxy target for route "/jenkins/api" must be a string, but is of type undefined | |
2024-04-10T17:42:17.449Z proxy warn skipped configuring /jira/api due to Proxy target for route "/jira/api" must be a string, but is of type undefined | |
2024-04-10T17:42:17.449Z proxy warn skipped configuring /acr/api due to Proxy target for route "/acr/api" must be a string, but is of type undefined | |
2024-04-10T17:42:17.449Z proxy warn skipped configuring /jfrog-artifactory/api due to Proxy target for route "/jfrog-artifactory/api" must be a string, but is of type undefined | |
2024-04-10T17:42:17.449Z proxy info [HPM] Proxy created: /pagerduty -> https://api.pagerduty.com | |
2024-04-10T17:42:17.449Z proxy info [HPM] Proxy rewrite rule created: "^/api/proxy/pagerduty/?" ~> "/" | |
2024-04-10T17:42:17.450Z proxy warn skipped configuring /dynatrace due to Proxy target for route "/dynatrace" must be a string, but is of type undefined | |
2024-04-10T17:42:17.450Z proxy warn skipped configuring /nexus-repository-manager due to Proxy target for route "/nexus-repository-manager" must be a string, but is of type undefined | |
2024-04-10T17:42:17.455Z techdocs info Creating Local publisher for TechDocs | |
2024-04-10T17:42:17.457Z backstage info Resolving '@backstage/plugin-techdocs-backend/package.json' in the dynamic backend plugins | |
/opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1481 | |
throw new Error( | |
^ | |
Error: Failed to instantiate service 'core.tokenManager' for 'search' because the factory function threw an error, Error: Failed to instantiate service 'core.tokenManager' because createRootContext threw an error, Error: You must configure at least one key in backend.auth.keys for production. | |
at /opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1481:17 | |
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) | |
at async BackendInitializer.getInitDeps_fn (/opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1644:20) | |
at async /opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1779:32 | |
at async processNode (/opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1302:22) | |
at async Promise.all (index 0) | |
at async processMoreNodes (/opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1297:7) | |
at async _DependencyGraph.parallelTopologicalTraversal (/opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1308:5) | |
at async /opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1777:9 | |
at async Promise.all (index 4) | |
at async BackendInitializer.doStart_fn (/opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1757:3) | |
at async BackendInitializer.start (/opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1611:5) | |
at async BackstageBackend.start (/opt/app-root/src/node_modules/@backstage/backend-app-api/dist/index.cjs.js:1881:5) | |
Node.js v18.19.1 | |
Stream closed EOF for rhdh-operator/backstage-developer-hub-65d7fc46f5-k2d9t (backstage-backend) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: rhdh.redhat.com/v1alpha1 | |
kind: Backstage | |
metadata: | |
name: developer-hub | |
namespace: rhdh-operator | |
spec: | |
application: | |
appConfig: | |
configMaps: | |
- key: knative.yaml | |
name: knative-eventmesh | |
mountPath: /opt/app-root/src | |
extraFiles: | |
mountPath: /opt/app-root/src | |
replicas: 1 | |
route: | |
enabled: true | |
database: | |
enableLocalDb: true | |
--- | |
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: knative-eventmesh | |
namespace: rhdh-operator | |
data: | |
knative.yaml: |- | |
catalog: | |
providers: | |
knativeEventMesh: | |
dev: | |
baseUrl: http://eventmesh-backend.knative-eventing.svc | |
schedule: | |
# supports cron, ISO duration, "human duration" as used in code | |
frequency: { minutes: 1 } | |
# supports ISO duration, "human duration" as used in code | |
timeout: { minutes: 1 } | |
--- | |
apiVersion: operator.knative.dev/v1beta1 | |
kind: KnativeEventing | |
metadata: | |
name: knative-eventing | |
namespace: knative-eventing | |
spec: | |
config: | |
features: | |
backstage-backend: enabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment