-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
53 lines (40 loc) · 2.7 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
install:
bash ./scripts/install.sh
install-core:
bash ./scripts/installCore.sh
build-core:
bash ./scripts/buildCore.sh
build:
bash ./scripts/build.sh
test:
bash ./scripts/test.sh
clean:
bash ./scripts/clean.sh
zip-templates:
bash ./scripts/zipTemplates.sh
npmpublish:
bash ./scripts/publish.sh
npm-artifact-registry-authenticate:
npx google-artifactregistry-auth
docker-authenticate:
gcloud auth configure-docker us-central1-docker.pkg.dev
deploy-rectangle-server:
docker build -f Dockerfile.rectangle-server --tag rectangle-server .
docker tag rectangle-server us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/rectangle-server:latest
docker push us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/rectangle-server
gcloud run deploy rectangle-server --project=blueprint-8675309 --memory=2Gi --image=us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/rectangle-server:latest --port=8080 --min-instances=1 --max-instances=1 --region=us-central1 --allow-unauthenticated
deploy-rectangle-ui:
docker build -f Dockerfile.rectangle-ui --tag rectangle-ui .
docker tag rectangle-ui us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/rectangle-ui:latest
docker push us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/rectangle-ui
gcloud run deploy rectangle-ui --project=blueprint-8675309 --memory=2Gi --image=us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/rectangle-ui:latest --port=3000 --min-instances=1 --max-instances=1 --region=us-central1 --allow-unauthenticated
deploy-usermanagement-server:
docker build -f Dockerfile.usermanagement-server --tag usermanagement-server .
docker tag usermanagement-server us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/usermanagement-server:latest
docker push us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/usermanagement-server
gcloud run deploy usermanagement-server --project=blueprint-8675309 --memory=2Gi --image=us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/usermanagement-server:latest --port=8080 --min-instances=1 --max-instances=1 --region=us-central1 --allow-unauthenticated
deploy-usermanagement-ui:
docker build -f Dockerfile.usermanagement-ui --tag usermanagement-ui .
docker tag usermanagement-ui us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/usermanagement-ui:latest
docker push us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/usermanagement-ui
gcloud run deploy usermanagement-ui --project=blueprint-8675309 --memory=2Gi --image=us-central1-docker.pkg.dev/blueprint-8675309/blueprint-websites/usermanagement-ui:latest --port=3000 --min-instances=1 --max-instances=1 --region=us-central1 --allow-unauthenticated