Cloud Run
Working with cloud run
Last updated
Was this helpful?
Working with cloud run
Last updated
Was this helpful?
Serverless firebase development -
Logs
1 git clone https://github.com/j143/pet-theory
2 cd pet-theory/lab06/firebase-import-csv/solution/
3 ls
4 npm install
5 node index.js netflix_titles_original.csv
6 cd ../..
7 cd firebase-rest-api/
8 ls
9 cd solution-01
10 ls
11 npm install
12 docker build . -t rest-api:0.1
13 docker tag rest-api:0.1 gcr.io/qwiklabs-gcp-03-83081841cf35/rest-api:0.1
14 docker push gcr.io/qwiklabs-gcp-03-83081841cf35/rest-api:0.1
15 curl -X GET https://netflix-dataset-service-vtq4szwwla-uc.a.run.app/
16 gcloud builds submit rest-api:0.1 --tag=gcr.io/qwiklabs-gcp-03-83081841cf35/rest-api:0.1
17 gcloud builds submit ../solution-01 --tag=gcr.io/qwiklabs-gcp-03-83081841cf35/rest-api:0.1
18 cd ..
19 cd solution-02
20 gcloud builds submit ../solution-02 gcr.io/qwiklabs-gcp-03-83081841cf35/rest-api:0.2
21 gcloud builds submit ../solution-02 --tag=gcr.io/qwiklabs-gcp-03-83081841cf35/rest-api:0.2
22 cd ../..
23 ls
24 cd firebase-frontend
25 ls
26*
27 gcloud builds submit . --tag=gcr.io/qwiklabs-gcp-03-83081841cf35/frontend-staging:0.1
28 gcloud builds submit . --tag=gcr.io/qwiklabs-gcp-03-83081841cf35/frontend-production:0.1
29 history