-
-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Describe the bug
Deployment to Firebase step fails in CircleCI build
To Reproduce
Steps to reproduce the behavior:
Build in Circle CI
Expected behavior
Deployment successful
Additional context
Failure output:
#!/bin/bash -eo pipefail
./node_modules/.bin/firebase deploy -P dev --only functions --token=$FIREBASE_DEPLOY_TOKEN
=== Deploying to 'greenupvermont-dev'...
i deploying functions
Running command: npm --prefix "$RESOURCE_DIR" run lint
functions@ lint /home/circleci/repo/functions
eslint ./
/home/circleci/repo/functions/api.js
128:24 warning Avoid nesting promises promise/no-nesting
128:55 warning Avoid nesting promises promise/no-nesting
138:30 warning Expected to return a value at the end of arrow function consistent-return
203:27 warning Avoid nesting promises promise/no-nesting
220:24 warning Avoid nesting promises promise/no-nesting
220:55 warning Avoid nesting promises promise/no-nesting
240:47 warning Expected to return a value at the end of arrow function consistent-return
298:27 warning Avoid nesting promises promise/no-nesting
315:24 warning Avoid nesting promises promise/no-nesting
315:55 warning Avoid nesting promises promise/no-nesting
335:50 warning Expected to return a value at the end of arrow function consistent-return
390:27 warning Avoid nesting promises promise/no-nesting
407:24 warning Avoid nesting promises promise/no-nesting
407:55 warning Avoid nesting promises promise/no-nesting
427:37 warning Expected to return a value at the end of arrow function consistent-return
✖ 15 problems (0 errors, 15 warnings)
✔ functions: Finished running predeploy script.
i functions: ensuring necessary APIs are enabled...
✔ functions: all necessary APIs are enabled
i functions: preparing functions directory for uploading...
i functions: packaged functions (123.46 KB) for uploading
✔ functions: functions folder uploaded successfully
i functions: updating Node.js 10 (Beta) function onInvitationCreate(us-central1)...
i functions: updating Node.js 10 (Beta) function onTeamDelete(us-central1)...
i functions: updating Node.js 10 (Beta) function onTeamMemberRemove(us-central1)...
i functions: updating Node.js 10 (Beta) function onTeamRequestRemove(us-central1)...
i functions: updating Node.js 10 (Beta) function onTeamInvitationRemove(us-central1)...
i functions: updating Node.js 10 (Beta) function onTeamsWrite(us-central1)...
i functions: updating Node.js 10 (Beta) function onCelebrationsWrite(us-central1)...
i functions: updating Node.js 10 (Beta) function onTrashDropsWrite(us-central1)...
i functions: updating Node.js 10 (Beta) function onSupplyDistributionSitesWrite(us-central1)...
i functions: updating Node.js 10 (Beta) function onTrashCollectionSitesWrite(us-central1)...
i functions: updating Node.js 10 (Beta) function onEventInfoWrite(us-central1)...
i functions: updating Node.js 10 (Beta) function onTownsWrite(us-central1)...
i functions: updating Node.js 10 (Beta) function api(us-central1)...
⚠ functions: failed to get status of all the deployments
You can check on their status at https://console.firebase.google.com/project/greenupvermont-dev/functions/log