Skip to content

Commit 56e287c

Browse files
authored
---
yaml --- r: 9357 b: refs/heads/java-release-src-1 c: 4b4eb52 h: refs/heads/master i: 9355: 333638e
1 parent 4418a73 commit 56e287c

1,781 files changed

Lines changed: 436126 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

[refs]

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,4 @@ refs/tags/v0.42.0: a823f846e0b0975340e6538e30134a4e450c37fb
9292
refs/tags/v0.42.1: 3d9c15dd66bbe736cfd83b695f805833d7a32299
9393
refs/tags/v0.43.0: af4bfcbcc7c86354b26642d65400ee4accb632a9
9494
refs/heads/add-pubsub-publish-error-handler: 54ac3bf7a1396a71a4ffc350cd409de4dad2d63a
95+
refs/heads/java-release-src-1: 4b4eb52d0823f5335cb8acf54a88bae199e013ae
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="false">
4+
<fileset name="Java source files" enabled="true" check-config-name="Google Checks" local="false">
5+
<file-match-pattern match-pattern=".*\.java" include-pattern="true"/>
6+
</fileset>
7+
</fileset-config>
Lines changed: 294 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,294 @@
1+
version: 2.0
2+
3+
anchor_build: &anchor_build
4+
name: Build
5+
command: mvn -B -DtrimStackTrace=false -fae --quiet -DskipTests install
6+
7+
anchor_unittest: &anchor_unittest
8+
name: Run unit tests
9+
command: mvn -B -DtrimStackTrace=false -fae --quiet -DskipITs install -P release
10+
11+
anchor_docker: &anchor_docker
12+
docker:
13+
- image: circleci/openjdk:8-jdk
14+
environment:
15+
TERM: dumb
16+
17+
anchor_auth_vars: &anchor_auth_vars
18+
environment:
19+
GCLOUD_PROJECT: gcloud-devel
20+
GOOGLE_APPLICATION_CREDENTIALS: .circleci/it-service-account.json
21+
22+
anchor_run_decrypt: &anchor_run_decrypt
23+
name: Decrypt credentials
24+
command: |
25+
openssl aes-256-cbc -md sha256 -d -in .circleci/it-service-account.json.enc \
26+
-out .circleci/it-service-account.json -k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
27+
28+
jobs:
29+
openjdk_7:
30+
working_directory: ~/googleapis
31+
docker:
32+
- image: maven:3.5.2-jdk-7
33+
environment:
34+
TERM: dumb
35+
MAVEN_OPTS: -Xmx256m
36+
steps:
37+
- checkout
38+
- run:
39+
<<: *anchor_build
40+
- run:
41+
<<: *anchor_unittest
42+
openjdk_8:
43+
working_directory: ~/googleapis
44+
docker:
45+
- image: circleci/openjdk:8-jdk
46+
environment:
47+
TERM: dumb
48+
MAVEN_OPTS: -Xmx256m
49+
steps:
50+
- checkout
51+
- run:
52+
<<: *anchor_build
53+
- run:
54+
<<: *anchor_unittest
55+
mac_openjdk_8:
56+
working_directory: ~/googleapis
57+
docker:
58+
- image: circleci/openjdk:8-jdk
59+
environment:
60+
TERM: dumb
61+
MAVEN_OPTS: -Xmx256m
62+
macos:
63+
xcode: "9.2.0"
64+
steps:
65+
- checkout
66+
- run:
67+
<<: *anchor_build
68+
- run:
69+
<<: *anchor_unittest
70+
71+
bigquery_it:
72+
working_directory: ~/googleapis
73+
<<: *anchor_docker
74+
<<: *anchor_auth_vars
75+
steps:
76+
- checkout
77+
- run:
78+
<<: *anchor_run_decrypt
79+
- run:
80+
name: Run integration tests for google-cloud-bigquery
81+
command: ./utilities/verify_single_it.sh google-cloud-bigquery
82+
83+
bigtable_it:
84+
working_directory: ~/googleapis
85+
<<: *anchor_docker
86+
<<: *anchor_auth_vars
87+
steps:
88+
- checkout
89+
- run:
90+
<<: *anchor_run_decrypt
91+
- run:
92+
name: Run integration tests for google-cloud-bigtable
93+
command: ./utilities/verify_single_it.sh google-cloud-bigtable -Dbigtable.env=prod -Dbigtable.table=projects/gcloud-devel/instances/google-cloud-bigtable/tables/integration-tests
94+
95+
compute_it:
96+
working_directory: ~/googleapis
97+
<<: *anchor_docker
98+
<<: *anchor_auth_vars
99+
steps:
100+
- checkout
101+
- run:
102+
<<: *anchor_run_decrypt
103+
- run:
104+
name: Run integration tests for google-cloud-compute
105+
command: ./utilities/verify_single_it.sh google-cloud-compute
106+
no_output_timeout: 20m
107+
datastore_it:
108+
working_directory: ~/googleapis
109+
<<: *anchor_docker
110+
<<: *anchor_auth_vars
111+
steps:
112+
- checkout
113+
- run:
114+
<<: *anchor_run_decrypt
115+
- run:
116+
name: Run integration tests for google-cloud-datastore
117+
command: ./utilities/verify_single_it.sh google-cloud-datastore
118+
dns_it:
119+
working_directory: ~/googleapis
120+
<<: *anchor_docker
121+
<<: *anchor_auth_vars
122+
steps:
123+
- checkout
124+
- run:
125+
<<: *anchor_run_decrypt
126+
- run:
127+
name: Run integration tests for google-cloud-dns
128+
command: ./utilities/verify_single_it.sh google-cloud-dns
129+
firestore_it:
130+
working_directory: ~/googleapis
131+
<<: *anchor_docker
132+
environment:
133+
# Firestore can't be turned on in a project with Datastore turned on,
134+
# so we use a distinct project (and distinct service account) for it
135+
GCLOUD_PROJECT: java-review
136+
GOOGLE_APPLICATION_CREDENTIALS: .circleci/firestore-it-service-account.json
137+
steps:
138+
- checkout
139+
- run:
140+
name: Decrypt credentials
141+
command: |
142+
openssl aes-256-cbc -md sha256 -d -in .circleci/firestore-it-service-account.json.enc \
143+
-out .circleci/firestore-it-service-account.json -k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
144+
- run:
145+
name: Run integration tests for google-cloud-firestore
146+
command: ./utilities/verify_single_it.sh google-cloud-firestore
147+
logging_it:
148+
working_directory: ~/googleapis
149+
<<: *anchor_docker
150+
<<: *anchor_auth_vars
151+
steps:
152+
- checkout
153+
- run:
154+
<<: *anchor_run_decrypt
155+
- run:
156+
name: Run integration tests for google-cloud-logging
157+
command: ./utilities/verify_single_it.sh google-cloud-logging
158+
notification_it:
159+
working_directory: ~/googleapis
160+
<<: *anchor_docker
161+
<<: *anchor_auth_vars
162+
steps:
163+
- checkout
164+
- run:
165+
<<: *anchor_run_decrypt
166+
- run:
167+
name: Run integration tests for google-cloud-notification
168+
command: ./utilities/verify_single_it.sh google-cloud-notification
169+
pubsub_it:
170+
working_directory: ~/googleapis
171+
<<: *anchor_docker
172+
<<: *anchor_auth_vars
173+
steps:
174+
- checkout
175+
- run:
176+
<<: *anchor_run_decrypt
177+
- run:
178+
name: Run integration tests for google-cloud-pubsub
179+
command: ./utilities/verify_single_it.sh google-cloud-pubsub
180+
spanner_it:
181+
working_directory: ~/googleapis
182+
<<: *anchor_docker
183+
<<: *anchor_auth_vars
184+
steps:
185+
- checkout
186+
- run:
187+
<<: *anchor_run_decrypt
188+
- run:
189+
name: Run integration tests for google-cloud-spanner
190+
command: ./utilities/verify_single_it.sh google-cloud-spanner
191+
speech_it:
192+
working_directory: ~/googleapis
193+
<<: *anchor_docker
194+
<<: *anchor_auth_vars
195+
steps:
196+
- checkout
197+
- run:
198+
<<: *anchor_run_decrypt
199+
- run:
200+
name: Run integration tests for google-cloud-speech
201+
command: ./utilities/verify_single_it.sh google-cloud-speech
202+
storage_it:
203+
working_directory: ~/googleapis
204+
<<: *anchor_docker
205+
<<: *anchor_auth_vars
206+
steps:
207+
- checkout
208+
- run:
209+
<<: *anchor_run_decrypt
210+
- run:
211+
name: Run integration tests for google-cloud-storage
212+
command: ./utilities/verify_single_it.sh google-cloud-storage
213+
translate_it:
214+
working_directory: ~/googleapis
215+
<<: *anchor_docker
216+
<<: *anchor_auth_vars
217+
steps:
218+
- checkout
219+
- run:
220+
<<: *anchor_run_decrypt
221+
- run:
222+
name: Run integration tests for google-cloud-translate
223+
command: ./utilities/verify_single_it.sh google-cloud-translate
224+
javadoc_test:
225+
working_directory: ~/googleapis
226+
<<: *anchor_docker
227+
steps:
228+
- checkout
229+
- run:
230+
<<: *anchor_build
231+
- run:
232+
name: Run mvn javadoc goal
233+
command: mvn javadoc:jar javadoc:test-jar
234+
235+
workflows:
236+
version: 2
237+
build:
238+
jobs:
239+
- openjdk_7
240+
- openjdk_8
241+
- mac_openjdk_8
242+
- javadoc_test
243+
- bigquery_it:
244+
filters:
245+
branches:
246+
only: master
247+
- bigtable_it:
248+
filters:
249+
branches:
250+
only: master
251+
- compute_it:
252+
filters:
253+
branches:
254+
only: master
255+
- datastore_it:
256+
filters:
257+
branches:
258+
only: master
259+
- firestore_it:
260+
filters:
261+
branches:
262+
only: master
263+
- dns_it:
264+
filters:
265+
branches:
266+
only: master
267+
- logging_it:
268+
filters:
269+
branches:
270+
only: master
271+
- notification_it:
272+
filters:
273+
branches:
274+
only: master
275+
- pubsub_it:
276+
filters:
277+
branches:
278+
only: master
279+
- spanner_it:
280+
filters:
281+
branches:
282+
only: master
283+
- speech_it:
284+
filters:
285+
branches:
286+
only: master
287+
- storage_it:
288+
filters:
289+
branches:
290+
only: master
291+
- translate_it:
292+
filters:
293+
branches:
294+
only: master
Binary file not shown.
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<eclipse-pmd xmlns="http://acanda.ch/eclipse-pmd/0.8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://acanda.ch/eclipse-pmd/0.8 http://acanda.ch/eclipse-pmd/eclipse-pmd-0.8.xsd">
3+
<analysis enabled="true" />
4+
<rulesets>
5+
<ruleset name="Project PMD settings" ref="pmd.xml" refcontext="project" />
6+
</rulesets>
7+
</eclipse-pmd>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Code owners file.
2+
# This file controls who is tagged for review for any given pull request.
3+
4+
# For anything not explicitly taken by someone else.
5+
* @pongad
6+
# Owners per module.
7+
google-cloud-bigquery/src/* @vam-google @tswast
8+
google-cloud-bigtable/src/* @igorbernstein2
9+
google-cloud-compute/src/* @andreamlin
10+
google-cloud-contrib/src/* @pongad @jean-philippe-martin
11+
google-cloud-core-grpc/src/* @pongad
12+
google-cloud-core-http/src/* @pongad
13+
google-cloud-core/src/* @pongad
14+
google-cloud-datastore/src/* @neozwu @vam-google
15+
google-cloud-dep-verification/src/* @pongad
16+
google-cloud-dlp/src/* @neozwu
17+
google-cloud-dns/src/* @pongad
18+
google-cloud-errorreporting/src/* @pongad
19+
google-cloud-examples/src/* @pongad
20+
google-cloud-firestore/src/* @schmidt-sebastian
21+
google-cloud-language/src/* @pongad
22+
google-cloud-logging/src/* @saicheems @andreamlin @jabubake
23+
google-cloud-monitoring/src/* @pongad
24+
google-cloud-pubsub/src/* @pongad
25+
google-cloud-resourcemanager/src/* @pongad
26+
google-cloud-spanner/src/* @vam-google @vkedia
27+
google-cloud-speech/src/* @vam-google
28+
google-cloud-storage/src/* @andreamlin @neozwu
29+
google-cloud-testing/src/* @vam-google
30+
google-cloud-trace/src/* @pongad
31+
google-cloud-translate/src/* @andreamlin @saicheems
32+
google-cloud-util/src/* @pongad
33+
google-cloud-video-intelligence/src/* @vam-google
34+
google-cloud-vision/src/* @vam-google
35+
google-cloud/src/* @pongad
36+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.gitignore
2+
3+
# Packages
4+
dist
5+
build
6+
bin
7+
var
8+
sdist
9+
target
10+
11+
# Unit test / coverage reports
12+
.coverage
13+
.tox
14+
nosetests.xml
15+
16+
# Translations
17+
*.mo
18+
19+
# Mr Developer
20+
.mr.developer.cfg
21+
.project
22+
.pydevproject
23+
*.iml
24+
.idea
25+
.settings
26+
.DS_Store
27+
.classpath
28+
29+
# Built documentation
30+
docs/
31+
32+
33+
# Wheel directory used in Travis builds.
34+
gcloud-java-wheels/
35+
src/test/resources/gcd-head.zip
36+
src/test/resources/gcd-v1beta2-rev1-2.1.1.zip
37+
38+
# API key file containing value of GOOGLE_API_KEY for integration tests
39+
api_key
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
filesCopiedToWebInfLib=

0 commit comments

Comments
 (0)