Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #83 from bradmccoydev/add-sbom--1
Browse files Browse the repository at this point in the history
update SBOM
  • Loading branch information
bradmccoydev authored Dec 28, 2022
2 parents 09c432e + 2568693 commit bd531db
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ jobs:

- uses: anchore/sbom-action@v0
with:
image: "${IMAGE_NAME_FRONTEND}"
image: "ghcr.io/ortelius/backstage/app:0.0.2"

- name: Docker Push Frontend
run: |-
docker push "${IMAGE_NAME_FRONTEND}" --all-tags
docker push --all-tags ghcr.io/ortelius/backstage/app
- name: Docker Push Backend
run: |-
docker push "${IMAGE_NAME_BACKEND}" --all-tags
docker push --all-tags ghcr.io/ortelius/backstage/backend
- name: Get container info Frontend
id: container_info_frontend
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.backend
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/home/node/.cache/yarn,sharing=locked,uid=1000,gid

# Then copy the rest of the backend bundle, along with any other files we might want.
COPY --chown=node:node packages/backend/dist/bundle.tar.gz app-config*.yaml ./
#COPY github-app-backstage-ortelius-credentials.yaml .
COPY github-app-backstage-ortelius-credentials.yaml .
RUN tar xzf bundle.tar.gz && rm bundle.tar.gz

CMD ["node", "packages/backend", "--config", "app-config.yaml", "--config", "app-config.production.yaml"]
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

This repo is for the Ortelius Backstage Portal.

## Disclaimer 🚧

This portal is work in work in progress the first release will be on 15-Dec-22

Notes on contributing
(Change bradmccoydev to you git username)
```
Expand Down
4 changes: 2 additions & 2 deletions chart/backstage/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: A Helm chart for the Ortelius Backstage Instance

type: application

version: 0.0.19
appVersion: "0.0.19"
version: 0.0.20
appVersion: "0.0.20"

home: "https://ortelius.io"
icon: https://backstage.io/img/twitter-summary.png
Expand Down
9 changes: 9 additions & 0 deletions chart/backstage/templates/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ spec:
- mountPath: /app/app-config.yaml
name: config
subPath: app-config.yaml
- name: github-app-credentials
mountPath: /app
{{- with .Values.backend.resources }}
resources:
{{- toYaml . | nindent 12 }}
Expand All @@ -135,6 +137,13 @@ spec:
- name: config
configMap:
name: {{ include "backstage.backendConfigName" . }}
- name: github-app-credentials
secret:
secretName: github-app-credentials
items:
- key: github-app-credentials.yaml
path: github-app-credentials.yaml
optional: true
{{- with .Values.backend.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"lint:all": "backstage-cli repo lint",
"prettier:check": "prettier --check .",
"create-plugin": "backstage-cli create-plugin --scope internal",
"new": "backstage-cli new --scope internal"
"new": "backstage-cli new --scope internal",
"upgrade": "yarn backstage-cli versions:bump"
},
"workspaces": {
"packages": [
Expand Down

0 comments on commit bd531db

Please sign in to comment.