Skip to content

Commit 0488293

Browse files
Add GCloud module (#733)
1 parent b4d56ba commit 0488293

File tree

10 files changed

+1176
-4
lines changed

10 files changed

+1176
-4
lines changed

docs/modules/gcloud.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# GCloud Module
2+
3+
Testcontainers module for the Google Cloud Platform's [Cloud SDK](https://cloud.google.com/sdk/).
4+
5+
## Install
6+
7+
```bash
8+
npm install @testcontainers/gcloud --save-dev
9+
```
10+
11+
12+
Currently, the module supports `Firestore` emulators. In order to use it, you should use the following classes:
13+
14+
Class | Container Image
15+
-|-
16+
FirestoreEmulatorContainer | [gcr.io/google.com/cloudsdktool/google-cloud-cli:emulators](https://gcr.io/google.com/cloudsdktool/google-cloud-cli)
17+
18+
## Examples
19+
20+
### Firestore
21+
22+
<!--codeinclude-->
23+
[Starting a Firestore Emulator container with the default image](../../packages/modules/gcloud/src/firestore-emulator-container.test.ts) inside_block:firestore4
24+
<!--/codeinclude-->
25+
26+
<!--codeinclude-->
27+
[Starting a Firestore Emulator container with a custom emulator image](../../packages/modules/gcloud/src/firestore-emulator-container.test.ts) inside_block:firestore5
28+
<!--/codeinclude-->

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ nav:
4545
- ArangoDB: modules/arangodb.md
4646
- Couchbase: modules/couchbase.md
4747
- Elasticsearch: modules/elasticsearch.md
48+
- GCloud: modules/gcloud.md
4849
- HiveMQ: modules/hivemq.md
4950
- Kafka: modules/kafka.md
5051
- Localstack: modules/localstack.md

0 commit comments

Comments
 (0)