-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment of functions using a secret fails with 10.6.0 #4408
Comments
Thanks for linking this to the likely culprit. We will fix this in our next release, which should come out early next week. As a workaround you can just add a random secret to your project. |
I'm not sure the workaround suggested works, there's already a secret in my project. Actually, deploying objects that don't require a secret works fine on 10.6.0. Also I don't quite see the point of cleaning up secret automatically (personnaly I would rather keep this as a side cloud admin activity). |
This issue should be fixed. If the secret is created with |
This issue should not have been closed. This error still happens using firebase-tools 10.6.0 or above. We have to use firebase-tools 10.5.0 in order to deploy functions with secrets correctly. |
This release (and later) broke my deployments.
Starting at this release, the deployment fails with
|
@nmhernandez10 Apologies, we should have pushed a fix in the latest release 10.9.2. I'm going to mark this issue closed. @NicWickman that does not look related to secrets, please open a new issue with steps to reproduce. Thanks |
[REQUIRED] Environment info
firebase-tools: 10.6.0
Platform: Ubuntu (Bitbucket pipeline)
[REQUIRED] Test case
Deploy a Cloud Function which requires a secret.
[REQUIRED] Steps to reproduce
Here's an example of functions:
Then deploy it:
[REQUIRED] Expected behavior
Successful deployment
[REQUIRED] Actual behavior
The deployment fails with an unknown error. Here are the debug log (firebase-debug-log):
It is working with firebase-tools@10.5.0, so I would assume this is a regression from a change released with 10.6.0 (#4130). The function was already deployed once, the secret hasn't changed and is still there.
The text was updated successfully, but these errors were encountered: