File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 run : |
7171 echo -e "$CONTENTS" > src/app-config.d/github-app-credentials.yaml
7272
73+ - name : Write Google Admin API creds
74+ id : google-admin-creds
75+ shell : bash
76+ env :
77+ CONTENTS : ${{ secrets.CATALOG_GOOGLE_JWT_KEYS }}
78+ run : |
79+ echo -e "$CONTENTS" > src/app-config.d/google-jwt.keys.json
80+
7381 - name : Compile Typescript
7482 id : compile
7583 shell : bash
Original file line number Diff line number Diff line change @@ -76,3 +76,6 @@ codepipeline-config-*.yaml
7676
7777# AWS SAM
7878.aws-sam /
79+
80+ # Backstage credentials
81+ src /app-config.d /credentials
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -52,19 +52,19 @@ integrations:
5252 github :
5353 - host : github.com
5454 apps :
55- - $include : /app/app-config.d/github-app-credentials.yaml
55+ - $include : /app/app-config.d/credentials/ github-app-credentials.yaml
5656
5757catalog :
5858 providers :
5959 google :
60- baseUrl : https://google.com
6160 auth :
62- clientId : ${CATALOG_GOOGLE_CLIENT_ID}
63- clientSecret : ${CATALOG_GOOGLE_CLIENT_SECRET}
61+ adminAccountEmail : tom@serverlessops.io
62+ clientCredentials :
63+ $include : /app/app-config.d/credentials/google-jwt.keys.json
6464 schedule :
6565 initialDelay : { seconds: 5 }
66- frequency : { minutes: 15 }
67- timeout : { seconds: 60 }
66+ frequency : { minutes: 1 }
67+ timeout : { seconds: 30 }
6868 serverlessops-catalog :
6969 baseUrl : ${SERVERLESSOPS_CATALOG_API_URL}
7070 namespace : default
@@ -87,14 +87,6 @@ catalog:
8787 # See https://backstage.io/docs/features/software-catalog/#adding-components-to-the-catalog for more details
8888 # on how to get entities into the catalog.
8989 locations :
90- - type : file
91- target : /app/app-config.d/catalogs/users.yaml
92- rules :
93- - allow : [User]
94- - type : file
95- target : /app/app-config.d/catalogs/groups.yaml
96- rules :
97- - allow : [Groups]
9890 - type : file
9991 target : /app/app-config.d/scaffolders/domain-add.yaml
10092 rules :
You can’t perform that action at this time.
0 commit comments