Skip to content

Commit 5b223fa

Browse files
---
yaml --- r: 8673 b: refs/heads/master c: 3927844 h: refs/heads/master i: 8671: 13162eb
1 parent 2b4af5e commit 5b223fa

4 files changed

Lines changed: 53 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 7584d908b43455b0222bd6928cb583ce4d732e8c
2+
refs/heads/master: 39278446af7462f87995add5041de302655167b5
33
refs/heads/travis: 47e4fee4fd5af9b2a8ce46f23c72ec95f9b195b2
44
refs/heads/gh-pages: 6daca92127d91b7c2c99490080ecf8a13fa94cde
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/.circleci/config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 2.0
2+
3+
jobs:
4+
datastore_it:
5+
working_directory: ~/googleapis
6+
docker:
7+
- image: circleci/openjdk:8-jdk
8+
environment:
9+
TERM: dumb
10+
steps:
11+
- checkout
12+
- run:
13+
name: Decrypt credentials.
14+
command: |
15+
openssl aes-256-cbc -md sha256 -d -in .circleci/it-service-account.json.enc \
16+
-out .circleci/it-service-account.json -k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
17+
- run:
18+
name: Run integration tests for google-cloud-datastore
19+
command: ./utilities/verify_single_it.sh google-cloud-datastore
20+
21+
workflows:
22+
version: 2
23+
build:
24+
jobs:
25+
- datastore_it
2.3 KB
Binary file not shown.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/bash
2+
# This script is used by Circle-CI to run integration tests for one client..
3+
# This script is referenced in .circleci/config.yml.
4+
5+
set -e
6+
7+
MODULE=$1
8+
9+
if [ -z $MODULE ]; then
10+
echo "First arg (module) not provided, so we're exiting."
11+
exit 1
12+
fi
13+
14+
export GCLOUD_PROJECT="gcloud-devel"
15+
export GOOGLE_APPLICATION_CREDENTIALS=$(realpath .circleci/it-service-account.json)
16+
17+
echo "----- building and installing google-cloud-bom -----"
18+
mvn -pl google-cloud-bom install -DskipTests
19+
20+
echo "----- building and installing parent pom -----"
21+
mvn -N install -DskipTests
22+
23+
echo "----- building and installing shared modules -----"
24+
mvn -pl google-cloud-core,google-cloud-core-http,google-cloud-core-grpc install -DskipTests
25+
26+
echo "----- running integration tests -----"
27+
mvn -B -pl $MODULE -DtrimStackTrace=false -fae verify

0 commit comments

Comments
 (0)