Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit 264040e

Browse files
chore: regenerate common templates
* Integrate Python GAPIC Microgenerator in googleapis. This PR uses using documentai as an example. Depends on googleapis/gapic-generator-python#402 PiperOrigin-RevId: 309824146 Source-Author: Google APIs <noreply@google.com> Source-Date: Mon May 4 15:06:44 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: e0f9d9e1f9de890db765be46f45ca8490723e3eb Source-Link: googleapis/googleapis@e0f9d9e * ci(java): switch to GitHub Actions (#533) * ci: switch to GitHub Actions * update based on comment Source-Author: Stephanie Wang <stephaniewang526@users.noreply.github.com> Source-Date: Mon May 11 12:54:00 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 55cdc844877d97139f25004229842624a6a86a02 Source-Link: googleapis/synthtool@55cdc84 * chore: move ci.yaml to workflows dir (#535) Source-Author: Stephanie Wang <stephaniewang526@users.noreply.github.com> Source-Date: Mon May 11 16:24:04 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: 98c50772ec23295c64cf0d2ddf199ea52961fd4c Source-Link: googleapis/synthtool@98c5077
1 parent 68df506 commit 264040e

5 files changed

Lines changed: 87 additions & 11 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
name: ci
7+
jobs:
8+
units:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
java: [7, 8, 11]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-java@v1
16+
with:
17+
java-version: ${{matrix.java}}
18+
- run: java -version
19+
- run: .kokoro/build.sh
20+
env:
21+
JOB_TYPE: test
22+
- name: coverage
23+
uses: codecov/codecov-action@v1
24+
with:
25+
name: actions ${{matrix.java}}
26+
windows:
27+
runs-on: windows-latest
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: actions/setup-java@v1
31+
with:
32+
java-version: 8
33+
- run: java -version
34+
- run: .kokoro/build.bat
35+
env:
36+
JOB_TYPE: test
37+
dependencies:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v2
41+
- uses: actions/setup-java@v1
42+
with:
43+
java-version: 8
44+
- run: java -version
45+
- run: .kokoro/dependencies.sh
46+
linkage-monitor:
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v2
50+
- uses: actions/setup-java@v1
51+
with:
52+
java-version: 8
53+
- run: java -version
54+
- run: .kokoro/linkage-monitor.sh
55+
lint:
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v2
59+
- uses: actions/setup-java@v1
60+
with:
61+
java-version: 8
62+
- run: java -version
63+
- run: .kokoro/build.sh
64+
env:
65+
JOB_TYPE: lint
66+
clirr:
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/checkout@v2
70+
- uses: actions/setup-java@v1
71+
with:
72+
java-version: 8
73+
- run: java -version
74+
- run: .kokoro/build.sh
75+
env:
76+
JOB_TYPE: clirr

.kokoro/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
:: See documentation in type-shell-output.bat
22

3-
"C:\Program Files\Git\bin\bash.exe" github/java-document-ai/.kokoro/build.sh
3+
"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh

.kokoro/nightly/samples.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ env_vars: {
1414
# TODO: remove this after we've migrated all tests and scripts
1515
env_vars: {
1616
key: "GCLOUD_PROJECT"
17-
value: "gcloud-devel"
17+
value: "java-docs-samples-testing"
1818
}
1919

2020
env_vars: {
2121
key: "GOOGLE_CLOUD_PROJECT"
22-
value: "gcloud-devel"
22+
value: "java-docs-samples-testing"
2323
}
2424

2525
env_vars: {

.kokoro/presubmit/samples.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ env_vars: {
1414
# TODO: remove this after we've migrated all tests and scripts
1515
env_vars: {
1616
key: "GCLOUD_PROJECT"
17-
value: "gcloud-devel"
17+
value: "java-docs-samples-testing"
1818
}
1919

2020
env_vars: {
2121
key: "GOOGLE_CLOUD_PROJECT"
22-
value: "gcloud-devel"
22+
value: "java-docs-samples-testing"
2323
}
2424

2525
env_vars: {

synth.metadata

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-document-ai.git",
7-
"sha": "8a6630372f63933ee28c76a052da2eeda28c19ae"
7+
"sha": "68df506124b574b93e6019c0c63b7440431c6b71"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "f9d76ac088f5d444b16d5e17fe58a9eea57b7a99",
15-
"internalRef": "305961792"
14+
"sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
15+
"internalRef": "310660461"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "googleapis",
2121
"remote": "https://github.com/googleapis/googleapis.git",
22-
"sha": "f9d76ac088f5d444b16d5e17fe58a9eea57b7a99",
23-
"internalRef": "305961792"
22+
"sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
23+
"internalRef": "310660461"
2424
}
2525
},
2626
{
2727
"git": {
2828
"name": "synthtool",
2929
"remote": "https://github.com/googleapis/synthtool.git",
30-
"sha": "f8a9933e5e98202b04ef427f28d1d79221190fa4"
30+
"sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c"
3131
}
3232
}
3333
],

0 commit comments

Comments
 (0)