-
Notifications
You must be signed in to change notification settings - Fork 1k
Can no longer only deploy firestore rules or firestore indexes #4698
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
Comments
We appear to be having this issue as well. I believe it worked for us just a couple days ago and now we are getting the |
Are there any developments? I just get error trying to deploy Firestore Security rules |
Looks like the syntax is changed. Deploy firestore rules Deploy storage rules Here is the doc: |
@sivaneshl that's what used to work, but now I get this output: |
"firebase deploy --only firestore:rules" works with firebase-tools version 11.1.0, but not with version 11.2.0. Additional info... |
just want to add a voice that our company is seeing the same problem on 11.2 |
+1, we've experiencing this as well. 11.1.0 seems to still work. |
This one might be me. The filters/checks for (read: I didn't realize we supported |
We are experiencing this as well |
It broke our whole CI pipeline! |
jep, same, our CI is crashing on this |
As found out by others above, versions prior to - name: Install Firebase CLI
run: npm install -g [email protected] // <--- pin to 10.2.2 in our case |
Yayyyy, @bkendall thank you! 🎉 🙏 |
Still having the same issue as all the rest. |
11.2.1, the problem persists. Meanwhile |
Hi there! |
@mckrava firebase deploy --only storage,firestore and it will deploy storage rules and firestore rules and indexes |
I had the same problem with 11.2.1, but 11.2.2 works fine. |
This should be addressed in |
[REQUIRED] Environment info
firebase-tools: 11.2.0
Platform: any
[REQUIRED] Test case
Just try to run the command
[REQUIRED] Steps to reproduce
Run
firestore deploy --only firestore:indexes
[REQUIRED] Expected behavior
Only the firestore indexes would be deployed (and not the rules)
[REQUIRED] Actual behavior
An error:
This change was introduced in #4666 and I'm just wondering if this was intentional, since the commit message doesn't say anything about changing this behavior.
Until this commit, I was able to deploy only the rules or only the index (or both), but now I'm no longer able to do so.
Is there a reason behind this change, or was this an accidental side effect of a cleanup action?
The text was updated successfully, but these errors were encountered: