Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- run:
name: Run integration tests for google-cloud-compute
command: ./utilities/verify_single_it.sh google-cloud-compute
no_output_timeout: 20m
datastore_it:
working_directory: ~/googleapis
<<: *anchor_docker
Expand All @@ -62,6 +63,24 @@ jobs:
- run:
name: Run integration tests for google-cloud-dns
command: ./utilities/verify_single_it.sh google-cloud-dns
firestore_it:
working_directory: ~/googleapis
<<: *anchor_docker
environment:
# Firestore can't be turned on in a project with Datastore turned on,
# so we use a distinct project (and distinct service account) for it
GCLOUD_PROJECT: java-review
GOOGLE_APPLICATION_CREDENTIALS: .circleci/firestore-it-service-account.json
steps:
- checkout
- run:
name: Decrypt credentials
command: |
openssl aes-256-cbc -md sha256 -d -in .circleci/firestore-it-service-account.json.enc \
-out .circleci/firestore-it-service-account.json -k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
- run:
name: Run integration tests for google-cloud-firestore
command: ./utilities/verify_single_it.sh google-cloud-firestore
logging_it:
working_directory: ~/googleapis
<<: *anchor_docker
Expand Down Expand Up @@ -136,6 +155,7 @@ workflows:
- bigquery_it
- compute_it
- datastore_it
- firestore_it
- dns_it
- logging_it
- notification_it
Expand Down
Binary file added .circleci/firestore-it-service-account.json.enc
Binary file not shown.
2 changes: 2 additions & 0 deletions utilities/verify_single_it.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ echo "----- building and installing parent pom -----"
mvn -B -N install -DskipTests

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

echo "----- running integration tests -----"
Expand Down