Skip to content

Commit 838aa6c

Browse files
authored
Merge pull request #53 from mozilla-services/MZCLD-182
MZCLD-182
2 parents e6ad124 + 9e0f6f6 commit 838aa6c

File tree

4 files changed

+227
-42
lines changed

4 files changed

+227
-42
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ COPY --chown=app:app catalog-info.yaml ./
104104
COPY --chown=app:app scaffolder-templates/ ./scaffolder-templates/
105105

106106
# This switches many Node.js dependencies to production mode.
107-
ENV NODE_ENV production
107+
ENV NODE_ENV=production
108108

109109
CMD ["node", "packages/backend", "--config", "app-config.yaml", "--config", "app-config.production.yaml"]

packages/backend/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
"@backstage/plugin-app-backend": "^0.5.2",
2222
"@backstage/plugin-auth-backend": "^0.25.0",
2323
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.3.1",
24-
"@backstage/plugin-auth-backend-module-github-provider": "^0.3.3",
24+
"@backstage/plugin-auth-backend-module-github-provider": "^0.3.4",
2525
"@backstage/plugin-auth-backend-module-google-provider": "^0.2.1",
2626
"@backstage/plugin-auth-backend-module-guest-provider": "^0.2.8",
2727
"@backstage/plugin-auth-node": "^0.6.3",
2828
"@backstage/plugin-catalog-backend": "^2.0.0",
29-
"@backstage/plugin-catalog-backend-module-github": "^0.9.0",
30-
"@backstage/plugin-catalog-backend-module-github-org": "^0.3.10",
29+
"@backstage/plugin-catalog-backend-module-github": "^0.10.0",
30+
"@backstage/plugin-catalog-backend-module-github-org": "^0.3.11",
3131
"@backstage/plugin-catalog-backend-module-logs": "^0.1.10",
3232
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.2.8",
3333
"@backstage/plugin-events-backend": "^0.5.2",
34-
"@backstage/plugin-events-backend-module-github": "^0.4.0",
34+
"@backstage/plugin-events-backend-module-github": "^0.4.1",
3535
"@backstage/plugin-kubernetes-backend": "^0.19.6",
3636
"@backstage/plugin-permission-backend": "^0.7.0",
3737
"@backstage/plugin-permission-backend-module-allow-all-policy": "^0.2.8",

packages/backend/src/index.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,24 @@ backend.add(import('@backstage/plugin-search-backend-module-techdocs'));
5454
// kubernetes
5555
backend.add(import('@backstage/plugin-kubernetes-backend'));
5656

57-
// github
57+
//
58+
// add github auth provider plugin
59+
//
60+
backend.add(import('@backstage/plugin-auth-backend-module-github-provider'));
61+
62+
//
63+
// add github discovery plugin
64+
//
5865
backend.add(import('@backstage/plugin-catalog-backend-module-github'));
66+
67+
//
68+
// add github org plugin
69+
//
5970
backend.add(import('@backstage/plugin-catalog-backend-module-github-org'));
60-
backend.add(import('@backstage/plugin-events-backend-module-github'));
6171

62-
// events
63-
backend.add(import('@backstage/plugin-events-backend'));
72+
//
73+
// add github events plugin
74+
//
75+
backend.add(import('@backstage/plugin-events-backend-module-github'));
6476

6577
backend.start();

0 commit comments

Comments
 (0)