-
-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:testcontainers/testcontainers-node …
…into 727-install-node-dependencies-action-are-not-taking-right-node-js-version
- Loading branch information
Showing
18 changed files
with
1,625 additions
and
385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# GCloud Module | ||
|
||
Testcontainers module for the Google Cloud Platform's [Cloud SDK](https://cloud.google.com/sdk/). | ||
|
||
## Install | ||
|
||
```bash | ||
npm install @testcontainers/gcloud --save-dev | ||
``` | ||
|
||
|
||
Currently, the module supports `Firestore` emulators. In order to use it, you should use the following classes: | ||
|
||
Class | Container Image | ||
-|- | ||
FirestoreEmulatorContainer | [gcr.io/google.com/cloudsdktool/google-cloud-cli:emulators](https://gcr.io/google.com/cloudsdktool/google-cloud-cli) | ||
|
||
## Examples | ||
|
||
### Firestore | ||
|
||
<!--codeinclude--> | ||
[Starting a Firestore Emulator container with the default image](../../packages/modules/gcloud/src/firestore-emulator-container.test.ts) inside_block:firestore4 | ||
<!--/codeinclude--> | ||
|
||
<!--codeinclude--> | ||
[Starting a Firestore Emulator container with a custom emulator image](../../packages/modules/gcloud/src/firestore-emulator-container.test.ts) inside_block:firestore5 | ||
<!--/codeinclude--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.