Skip to content

Commit e6ca196

Browse files
chore: migrate to owlbot (googleapis#242)
* chore: migrate to owlbot * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update pom.xml Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 4901a5d commit e6ca196

File tree

34 files changed

+14668
-75
lines changed

34 files changed

+14668
-75
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
docker:
2+
digest: sha256:8c50e7bab0ae5ad41ee29420b558542637104500f6256b8fe74282b0cf6144db
3+
image: gcr.io/repo-automation-bots/owlbot-java:latest
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
docker:
16+
image: "gcr.io/repo-automation-bots/owlbot-java:latest"
17+
18+
deep-remove-regex:
19+
- "/proto-google-.*/src"
20+
21+
deep-preserve-regex:
22+
- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"
23+
24+
deep-copy-regex:
25+
- source: "/google/identity/accesscontextmanager/(v\\d)/.*-java/proto-google-.*/src"
26+
dest: "/owl-bot-staging/$1/proto-google-identity-accesscontextmanager-$1/src"
27+
- source: "/google/identity/accesscontextmanager/(v\\d)/.*-java/grpc-google-.*/src"
28+
dest: "/owl-bot-staging/$1/grpc-google-identity-accesscontextmanager-$1/src"
29+
- source: "/google/identity/accesscontextmanager/(v\\d)/.*-java/gapic-google-.*/src"
30+
dest: "/owl-bot-staging/$1/google-identity-accesscontextmanager/src"
31+
- source: "/google/identity/accesscontextmanager/type/.*-java/proto-google-.*/src"
32+
dest: "/owl-bot-staging/type/proto-google-identity-accesscontextmanager-type/src"
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
trustedContributors:
2-
- renovate-bot
2+
- renovate-bot
3+
- gcf-owl-bot[bot]

java-accesscontextmanager/.github/workflows/ci.yaml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
java: [8, 11]
1313
steps:
1414
- uses: actions/checkout@v2
15+
- uses: stCarolas/setup-maven@v4
16+
with:
17+
maven-version: 3.8.1
1518
- uses: actions/setup-java@v1
1619
with:
1720
java-version: ${{matrix.java}}
@@ -23,6 +26,9 @@ jobs:
2326
runs-on: windows-latest
2427
steps:
2528
- uses: actions/checkout@v2
29+
- uses: stCarolas/setup-maven@v4
30+
with:
31+
maven-version: 3.8.1
2632
- uses: actions/setup-java@v1
2733
with:
2834
java-version: 8
@@ -37,28 +43,21 @@ jobs:
3743
java: [8, 11]
3844
steps:
3945
- uses: actions/checkout@v2
46+
- uses: stCarolas/setup-maven@v4
47+
with:
48+
maven-version: 3.8.1
4049
- uses: actions/setup-java@v1
4150
with:
4251
java-version: ${{matrix.java}}
4352
- run: java -version
4453
- run: .kokoro/dependencies.sh
45-
linkage-monitor:
46-
runs-on: ubuntu-latest
47-
steps:
48-
- uses: actions/checkout@v2
49-
- uses: actions/setup-java@v1
50-
with:
51-
java-version: 8
52-
- run: java -version
53-
- name: Install artifacts to local Maven repository
54-
run: .kokoro/build.sh
55-
shell: bash
56-
- name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release)
57-
uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
5854
lint:
5955
runs-on: ubuntu-latest
6056
steps:
6157
- uses: actions/checkout@v2
58+
- uses: stCarolas/setup-maven@v4
59+
with:
60+
maven-version: 3.8.1
6261
- uses: actions/setup-java@v1
6362
with:
6463
java-version: 8
@@ -70,6 +69,9 @@ jobs:
7069
runs-on: ubuntu-latest
7170
steps:
7271
- uses: actions/checkout@v2
72+
- uses: stCarolas/setup-maven@v4
73+
with:
74+
maven-version: 3.8.1
7375
- uses: actions/setup-java@v1
7476
with:
7577
java-version: 8

java-accesscontextmanager/.kokoro/release/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2018 Google Inc.
2+
# Copyright 2018 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

java-accesscontextmanager/.kokoro/release/drop.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2018 Google Inc.
2+
# Copyright 2018 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

java-accesscontextmanager/.kokoro/release/promote.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2018 Google Inc.
2+
# Copyright 2018 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

java-accesscontextmanager/.kokoro/release/publish_javadoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2019 Google Inc.
2+
# Copyright 2019 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@ python3 -m pip install gcp-docuploader
3333
# compile all packages
3434
mvn clean install -B -q -DskipTests=true
3535

36-
export NAME=proto-google-identity-accesscontextmanager-v1
36+
export NAME=google-identity-accesscontextmanager
3737
export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
3838

3939
# build the docs

java-accesscontextmanager/.kokoro/release/publish_javadoc11.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2021 Google Inc.
2+
# Copyright 2021 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@ python3 -m pip install gcp-docuploader
3333
# compile all packages
3434
mvn clean install -B -q -DskipTests=true
3535

36-
export NAME=proto-google-identity-accesscontextmanager-v1
36+
export NAME=google-identity-accesscontextmanager
3737
export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
3838

3939
# V3 generates docfx yml from javadoc

java-accesscontextmanager/.kokoro/release/stage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright 2018 Google Inc.
2+
# Copyright 2018 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)