-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
[REQUIRED] Environment info
firebase-tools: 14.11.0
Platform: macOS
[REQUIRED] Test case
Run firebase deploy --only apphosting of a web app with a broken build.
[REQUIRED] Steps to reproduce
npm init -ynpm pkg set scripts.build="node file-does-not-exist.js"firebase deploy --only apphosting
[REQUIRED] Expected behavior
Rollout fails, CLI says deploy failed.
[REQUIRED] Actual behavior
Rollout starts, CLI logs "rollout failed", then logs "Deploy Complete!"
=== Deploying to 'frameworks-blog-test'...
i deploying apphosting
i apphosting: Found backend(s) firebase-dot-blog
i apphosting: Uploading source code at /Users/jhuleatt/projects/first-class-blog for backend firebase-dot-blog...
i apphosting: Source code uploaded at gs://<redacted>/firebase-dot-blog--5539-WtMJaqIba6mm-.zip
i apphosting: You may also track the rollout(s) at:
https://console.firebase.google.com/project/frameworks-blog-test/apphosting
⠼ Starting rollout(s) for backend(s) firebase-dot-blog; this may take a few minutes. It's safe to exit now.
⚠ apphosting: Rollout for backend firebase-dot-blog failed.
⬢ apphosting: Failed to build your app. Please inspect the build logs at https://console.cloud.google.com/cloud-buil
✔ Deploy complete!
Project Console: https://console.firebase.google.com/project/frameworks-blog-test/overview
Reactions are currently unavailable