Skip to content

Commit 8af3862

Browse files
Added template script with various steps
1 parent 1008909 commit 8af3862

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: deployment/kubernetes/backstage/setup-backstage.sh

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
## The script is currently not usable. The below commands need to be corrected and finalised.
4+
5+
kubectl create ns backstage
6+
7+
helm package .
8+
helm package deployment/kubernetes/postgres/helm/
9+
10+
helm upgrade --install postgres postgres-0.1.0.tgz
11+
12+
copy latest app-config.yaml to backstage101 folder and dockerfile to packages/backend folder
13+
14+
run yarn install --frozen-lockfile and yarn tsc from backstage101 folder
15+
16+
rum yarn build backend --config ../../app-config.yaml from packages/backend folder
17+
18+
docker image build . -f packages/backend/Dockerfile --tag backstage:0.1.0 from backstage101 folder
19+
docker image build backstage-app/backstage101/ -f deployment/kubernetes/backstage/docker/Dockerfile --tag backstage:0.1.1
20+
21+
https://kind.sigs.k8s.io/docs/user/local-registry/
22+
docker image tag backstage:0.1.0 localhost:5001/backstage:0.1.0
23+
docker push localhost:5001/backstage:0.1.0
24+

0 commit comments

Comments
 (0)