-
Notifications
You must be signed in to change notification settings - Fork 936
Have CI deploy rules/functions to test project as needed #6531
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
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1This report is too large (1,411,597 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.Test Logs |
9cfbbbc
to
33a45be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Make "only" flags a string Formatting pass Add deploy step to Firestore workflows and Firefox job Test functions deploy Fix order npm install functions if needed Fix functions install path Move to a separate workflow. Test firestore rule change Add functions Revert test changes Move comment
3e54104
to
b11d297
Compare
Infrequently, someone may change one of the project config files in the
config/
directory (database rules, firestore rules, or cloud functions) which needs to be pushed to the backend.yarn test:setup
can be used to push any changes to the test project the developer is using during development, but the CI tests run specifically against the jscore-sandbox project, and the same rules/functions need to be pushed to that project for CI tests to pass.This detects if any of those files have changed and tries to deploy them efficiently to the backend using the
only
option (so if only firestore rules have changed, it only deploys firestore rules). Iffirebase.json
changes, that is considered to require deploying everything.This needs to complete before any tests run, but since the
build
step of any test workflow often takes a very long time, it should finish before any tests begin.