Skip to content

Cellpack Accepts Firebase Configs #327

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

Open
ascibisz opened this issue Apr 9, 2025 · 0 comments
Open

Cellpack Accepts Firebase Configs #327

ascibisz opened this issue Apr 9, 2025 · 0 comments
Assignees

Comments

@ascibisz
Copy link
Collaborator

ascibisz commented Apr 9, 2025

Use Case

  • For the cellpack client, we would like to pass a reference to a firebase config to our packing job and have cellpack use that to pack it

Solution

  • Set an optional flag -c for pack remote recipes

Current Error Message (when trying pass a firebase config reference as -c)

Traceback (most recent call last):
File "/usr/local/bin/pack", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/cellpack/bin/pack.py", line 73, in main
fire.Fire(pack)
File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 135, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 468, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/usr/local/lib/python3.9/site-packages/fire/core.py", line 684, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/usr/local/lib/python3.9/site-packages/cellpack/bin/pack.py", line 33, in pack
packing_config_data = ConfigLoader(config_path).config
File "/usr/local/lib/python3.9/site-packages/cellpack/autopack/loaders/config_loader.py", line 60, in __init__
self.config = self._read()
File "/usr/local/lib/python3.9/site-packages/cellpack/autopack/loaders/config_loader.py", line 104, in _read
new_values = json.load(open(self.file_path, "r"))
FileNotFoundError: [Errno 2] No such file or directory: 'firebase:configs/ZYlUMEtMef3xnx7EkDrz'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants