Skip to content

Commit 2cab251

Browse files
CircleCI: Adding firestore, bumping compute timeout (#2836)
1 parent 90a7e89 commit 2cab251

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- run:
4141
name: Run integration tests for google-cloud-compute
4242
command: ./utilities/verify_single_it.sh google-cloud-compute
43+
no_output_timeout: 20m
4344
datastore_it:
4445
working_directory: ~/googleapis
4546
<<: *anchor_docker
@@ -62,6 +63,24 @@ jobs:
6263
- run:
6364
name: Run integration tests for google-cloud-dns
6465
command: ./utilities/verify_single_it.sh google-cloud-dns
66+
firestore_it:
67+
working_directory: ~/googleapis
68+
<<: *anchor_docker
69+
environment:
70+
# Firestore can't be turned on in a project with Datastore turned on,
71+
# so we use a distinct project (and distinct service account) for it
72+
GCLOUD_PROJECT: java-review
73+
GOOGLE_APPLICATION_CREDENTIALS: .circleci/firestore-it-service-account.json
74+
steps:
75+
- checkout
76+
- run:
77+
name: Decrypt credentials
78+
command: |
79+
openssl aes-256-cbc -md sha256 -d -in .circleci/firestore-it-service-account.json.enc \
80+
-out .circleci/firestore-it-service-account.json -k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
81+
- run:
82+
name: Run integration tests for google-cloud-firestore
83+
command: ./utilities/verify_single_it.sh google-cloud-firestore
6584
logging_it:
6685
working_directory: ~/googleapis
6786
<<: *anchor_docker
@@ -136,6 +155,7 @@ workflows:
136155
- bigquery_it
137156
- compute_it
138157
- datastore_it
158+
- firestore_it
139159
- dns_it
140160
- logging_it
141161
- notification_it
2.33 KB
Binary file not shown.

utilities/verify_single_it.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ echo "----- building and installing parent pom -----"
2121
mvn -B -N install -DskipTests
2222

2323
echo "----- building and installing shared modules -----"
24+
# storage is present because google-cloud-bigquery and google-cloud-notification depend on it
25+
# pubsub is present because google-cloud-notification depends on it
2426
mvn -B -pl google-cloud-core,google-cloud-core-http,google-cloud-core-grpc,google-cloud-storage,google-cloud-pubsub install -DskipTests
2527

2628
echo "----- running integration tests -----"

0 commit comments

Comments
 (0)