From 1a1369c24ec5214020bd26105100a6af92f27246 Mon Sep 17 00:00:00 2001 From: Garrett Jones Date: Thu, 1 Feb 2018 15:44:04 -0800 Subject: [PATCH] CircleCI: Adding firestore, bumping compute timeout --- .circleci/config.yml | 20 ++++++++++++++++++ .../firestore-it-service-account.json.enc | Bin 0 -> 2384 bytes utilities/verify_single_it.sh | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 .circleci/firestore-it-service-account.json.enc diff --git a/.circleci/config.yml b/.circleci/config.yml index 3ce55961df38..6ee839e5e26a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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 @@ -136,6 +155,7 @@ workflows: - bigquery_it - compute_it - datastore_it + - firestore_it - dns_it - logging_it - notification_it diff --git a/.circleci/firestore-it-service-account.json.enc b/.circleci/firestore-it-service-account.json.enc new file mode 100644 index 0000000000000000000000000000000000000000..6a251918b792bbd8a6a8d5c6ebfadba23c8048e6 GIT binary patch literal 2384 zcmV-W39t53VQh3|WM5zMDThkwaG3{o9f{lNulHTX*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