Files
rowy/cloud_functions/functions/firebase-debug.log
2020-02-15 13:05:42 +11:00

91 lines
5.6 KiB
Plaintext

[debug] [2020-02-15T02:05:23.459Z] ----------------------------------------------------------------------
[debug] [2020-02-15T02:05:23.460Z] Command: /Users/shams/.nvm/versions/node/v8.17.0/bin/node /Users/shams/.nvm/versions/node/v8.17.0/bin/firebase deploy --only functions --project=antler-develop
[debug] [2020-02-15T02:05:23.461Z] CLI Version: 7.11.0
[debug] [2020-02-15T02:05:23.461Z] Platform: darwin
[debug] [2020-02-15T02:05:23.461Z] Node Version: v8.17.0
[debug] [2020-02-15T02:05:23.461Z] Time: Sat Feb 15 2020 13:05:23 GMT+1100 (AEDT)
[debug] [2020-02-15T02:05:23.461Z] ----------------------------------------------------------------------
[debug] [2020-02-15T02:05:23.461Z]
[debug] [2020-02-15T02:05:23.469Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2020-02-15T02:05:23.469Z] > authorizing via signed-in user
[debug] [2020-02-15T02:05:23.469Z] [iam] checking project antler-develop for permissions ["cloudfunctions.functions.create","cloudfunctions.functions.delete","cloudfunctions.functions.get","cloudfunctions.functions.list","cloudfunctions.functions.update","cloudfunctions.operations.get","firebase.projects.get"]
[debug] [2020-02-15T02:05:23.470Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects/antler-develop:testIamPermissions
[debug] [2020-02-15T02:05:24.881Z] <<< HTTP RESPONSE 200
[info]
[info] === Deploying to 'antler-develop'...
[info]
[info] i deploying functions
[info] Running command: npm --prefix "$RESOURCE_DIR" run fetchConfig
[info] Running command: npm --prefix "$RESOURCE_DIR" run lint
[info] Running command: npm --prefix "$RESOURCE_DIR" run build
[info] ✔ functions: Finished running predeploy script.
[debug] [2020-02-15T02:05:35.287Z] > [functions] package.json contents: {
"name": "functions",
"scripts": {
"fetchConfig": "ts-node fetchConfig.ts",
"lint": "tslint --project tsconfig.json",
"build": "tsc",
"serve": "npm run build && firebase serve --only functions",
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
},
"engines": {
"node": "8"
},
"main": "lib/src/index.js",
"dependencies": {
"@types/algoliasearch": "^3.34.5",
"@types/json2csv": "^4.5.0",
"@types/lodash": "^4.14.149",
"algoliasearch": "^3.35.1",
"firebase-admin": "~7.0.0",
"firebase-functions": "^3.3.0",
"json2csv": "^4.5.4",
"lodash": "^4.17.15"
},
"devDependencies": {
"husky": "^3.0.9",
"tslint": "^5.12.0",
"typescript": "^3.2.2",
"ts-node": "^8.6.2"
},
"private": true
}
[info] i functions: ensuring necessary APIs are enabled...
[debug] [2020-02-15T02:05:35.288Z] >>> HTTP REQUEST GET https://serviceusage.googleapis.com/v1/projects/antler-develop/services/cloudfunctions.googleapis.com
[debug] [2020-02-15T02:05:35.288Z] >>> HTTP REQUEST GET https://serviceusage.googleapis.com/v1/projects/antler-develop/services/runtimeconfig.googleapis.com
[debug] [2020-02-15T02:05:37.030Z] <<< HTTP RESPONSE 200
[debug] [2020-02-15T02:05:37.060Z] <<< HTTP RESPONSE 200
[info] ✔ functions: all necessary APIs are enabled
[debug] [2020-02-15T02:05:37.061Z] >>> HTTP REQUEST GET https://firebase.googleapis.com/v1beta1/projects/antler-develop/adminSdkConfig
[debug] [2020-02-15T02:05:37.592Z] <<< HTTP RESPONSE 200
[info] i functions: preparing functions directory for uploading...
[debug] [2020-02-15T02:05:37.595Z] >>> HTTP REQUEST GET https://runtimeconfig.googleapis.com/v1beta1/projects/antler-develop/configs
[debug] [2020-02-15T02:05:38.146Z] <<< HTTP RESPONSE 200
[debug] [2020-02-15T02:05:38.146Z] >>> HTTP REQUEST GET https://runtimeconfig.googleapis.com/v1beta1/projects/antler-develop/configs/algolia/variables
[debug] [2020-02-15T02:05:38.598Z] <<< HTTP RESPONSE 200
[debug] [2020-02-15T02:05:38.599Z] >>> HTTP REQUEST GET https://runtimeconfig.googleapis.com/v1beta1/projects/antler-develop/configs/algolia/variables/key
[debug] [2020-02-15T02:05:38.599Z] >>> HTTP REQUEST GET https://runtimeconfig.googleapis.com/v1beta1/projects/antler-develop/configs/algolia/variables/app
[debug] [2020-02-15T02:05:39.020Z] <<< HTTP RESPONSE 200
[debug] [2020-02-15T02:05:39.930Z] <<< HTTP RESPONSE 200
[info] i functions: packaged functions (80.02 KB) for uploading
[debug] [2020-02-15T02:05:40.187Z] >>> HTTP REQUEST POST https://cloudfunctions.googleapis.com/v1/projects/antler-develop/locations/us-central1/functions:generateUploadUrl
[debug] [2020-02-15T02:05:41.227Z] <<< HTTP RESPONSE 200
[debug] [2020-02-15T02:05:41.227Z] >>> HTTP REQUEST PUT https://storage.googleapis.com/gcf-upload-us-central1-aad649d0-26d4-4e7d-9a7e-6c78645bc6ee/679e6f49-d1db-4760-a8b3-5d1c0f9d22ea.zip?GoogleAccessId=service-792770415480@gcf-admin-robot.iam.gserviceaccount.com&Expires=1581734140&Signature=Ts%2FzezJ0eSPNC3zcZ7HUru9sNgFfcIKgaNr78dZ4vm5LcqnQNCllRWY7wNbWRS8R4b0jAEyZcoxmKShWbu2ceF88aqtg10op2rpfPreexFGyuiyaW3Wvqnt5mAfvMvpYbA%2FYOW06UekfxaACmYb%2FStNnydpc4SEsLjPkJV8vq0idtY8aaOlmiaIA48YPrC6nBnYRgXWui4espL0pBRKXJO5b6Jl0DmMl5ycrv4NI8U3AEk1XGa8ThYV%2FqwYTEVuoAqjyvRmI4usSXBI7g%2B2%2B5mevCl3MenqgO2ggM6cj5Zb6eDTDZ4TshDugnzWiVTFE%2Fq5GuwCvsjVGc1n8vl3rEw%3D%3D
<request body omitted>
[debug] [2020-02-15T02:05:42.724Z] <<< HTTP RESPONSE 200
[info] ✔ functions: functions folder uploaded successfully
[debug] [2020-02-15T02:05:42.727Z] >>> HTTP REQUEST GET https://cloudfunctions.googleapis.com/v1/projects/antler-develop/locations/-/functions