Skip to content

Conversation

digital88
Copy link
Contributor

@digital88 digital88 commented Mar 12, 2025

Closes #915

Added EmulatorFlagsManager class which encapsulates logic of adding arbitrary flags to command used to start gcloud containers:

gcloud beta emulators firestore start ...<flags>

Instead of hard-coding flags inside container cmd string, users can now add any flags they wish. Existing flags were preserved, existing 3rd party code should be working without changes.

Added tests for EmulatorFlagsManager.

Copy link

netlify bot commented Mar 12, 2025

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit 7b70104
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-node/deploys/67d9402442c3df0008cd5642
😎 Deploy Preview https://deploy-preview-926--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Mar 17, 2025
@cristianrgreco cristianrgreco changed the title feat(gloud) add ability to set cmd flags Add ability to set command flags to Gcloud emulators Mar 17, 2025
@cristianrgreco cristianrgreco merged commit 4b7b9d0 into testcontainers:main Mar 18, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Backward compatible functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --database-mode=datastore-mode option to firestore emulator
2 participants