Skip to content
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

Adding support for <product>_EMULATOR_BINARY_PATH for local emualtor dev #6981

Merged
merged 10 commits into from
May 30, 2024

Conversation

joehan
Copy link
Contributor

@joehan joehan commented Apr 10, 2024

Description

Added new environment variables <product>_EMULATOR_BINARY_PATH.

<product>_EMULATOR_BINARY_PATH tells the emulator suite to skip downloading/checking a downloadable emulator and instead use the binary at the provided path.

Sample Commands

// Replace FIRESTORE with any other product, or UI
export FIRESTORE_EMULATOR_BINARY_PATH=path/to/firestore/emulator

// And the emulator suite will use your local version at that path
firebase emulators:start --only firestore 

@joehan joehan requested a review from yuchenshi April 10, 2024 16:46
@joehan joehan merged commit 80964d0 into master May 30, 2024
35 checks passed
@joehan joehan deleted the jh-emu_binary branch May 30, 2024 22:48
GarrettBurroughs pushed a commit that referenced this pull request Jun 20, 2024
…dev (#6981)

* Adding support for <product>_EMULATOR_BINARY_PATH for local emualtor development

* Adding support for command overrides

* Pass in args

* add args back in

* Remove _EMULATOR_COMMAND

* Remove shell

---------

Co-authored-by: Harold Shen <hlshen@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants