wip
This commit is contained in:
parent
17ad57ba29
commit
31956e069e
2 changed files with 8 additions and 12 deletions
|
@ -1,9 +1,9 @@
|
|||
app:
|
||||
title: Scaffolded Backstage App
|
||||
title: CNOE
|
||||
baseUrl: http://localhost:3000
|
||||
|
||||
organization:
|
||||
name: My Company
|
||||
name: CNOE
|
||||
|
||||
backend:
|
||||
# Used for enabling authentication, secret is shared by all backend plugins
|
||||
|
@ -34,11 +34,7 @@ backend:
|
|||
store: memory
|
||||
# workingDirectory: /tmp # Use this to configure a working directory for the scaffolder, defaults to the OS temp-dir
|
||||
|
||||
integrations:
|
||||
github:
|
||||
- host: github.com
|
||||
apps:
|
||||
- $include: github-integration.yaml
|
||||
integrations: {}
|
||||
# - host: github.com
|
||||
# # This is a Personal Access Token or PAT from GitHub. You can find out how to generate this token, and more information
|
||||
# # about setting up the GitHub integration here: https://backstage.io/docs/getting-started/configuration#setting-up-a-github-integration
|
||||
|
@ -68,6 +64,7 @@ techdocs:
|
|||
|
||||
auth:
|
||||
# see https://backstage.io/docs/auth/ to learn about auth providers
|
||||
environment: local
|
||||
providers: {}
|
||||
|
||||
scaffolder:
|
||||
|
@ -108,8 +105,5 @@ catalog:
|
|||
# target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme-corp.yaml
|
||||
# rules:
|
||||
# - allow: [User, Group]
|
||||
kubernetes:
|
||||
serviceLocatorMethod:
|
||||
type: 'multiTenant'
|
||||
clusterLocatorMethods:
|
||||
- $include: k8s-config.yaml
|
||||
kubernetes: {}
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
|||
RUN wget -P /usr/local/bin/ https://dl.k8s.io/release/v1.27.0/bin/linux/amd64/kubectl \
|
||||
&& chmod +x /usr/local/bin/kubectl
|
||||
|
||||
RUN npm install -g node-gyp
|
||||
# From here on we use the least-privileged `node` user to run the backend.
|
||||
USER node
|
||||
|
||||
|
@ -40,6 +41,7 @@ COPY --chown=node:node yarn.lock package.json packages/backend/dist/skeleton.tar
|
|||
RUN tar xzf skeleton.tar.gz && rm skeleton.tar.gz
|
||||
|
||||
RUN --mount=type=cache,target=/home/node/.cache/yarn,sharing=locked,uid=1000,gid=1000 \
|
||||
--mount=type=secret,id=npmrc,target=./.npmrc,uid=1000 \
|
||||
yarn install --frozen-lockfile --production --network-timeout 300000
|
||||
|
||||
# Then copy the rest of the backend bundle, along with any other files we might want.
|
||||
|
|
Loading…
Reference in a new issue