From c5c0cafaf9d437c5f8c0659273762d6a9f68c086 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Fri, 15 Oct 2021 20:18:27 +0000
Subject: [PATCH 1/5] chore: release 2.1.9-SNAPSHOT (#595)
:robot: I have created a release \*beep\* \*boop\*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
google-cloud-core-bom/pom.xml | 8 ++++----
google-cloud-core-grpc/pom.xml | 4 ++--
google-cloud-core-http/pom.xml | 4 ++--
google-cloud-core/pom.xml | 4 ++--
pom.xml | 2 +-
versions.txt | 2 +-
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/google-cloud-core-bom/pom.xml b/google-cloud-core-bom/pom.xml
index 3de108d800..c780a76d3e 100644
--- a/google-cloud-core-bom/pom.xml
+++ b/google-cloud-core-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-core-bom
- 2.1.8
+ 2.1.9-SNAPSHOT
pom
com.google.cloud
@@ -63,17 +63,17 @@
com.google.cloud
google-cloud-core
- 2.1.8
+ 2.1.9-SNAPSHOT
com.google.cloud
google-cloud-core-grpc
- 2.1.8
+ 2.1.9-SNAPSHOT
com.google.cloud
google-cloud-core-http
- 2.1.8
+ 2.1.9-SNAPSHOT
diff --git a/google-cloud-core-grpc/pom.xml b/google-cloud-core-grpc/pom.xml
index 44d58c323c..f40328a4b9 100644
--- a/google-cloud-core-grpc/pom.xml
+++ b/google-cloud-core-grpc/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-core-grpc
- 2.1.8
+ 2.1.9-SNAPSHOT
jar
Google Cloud Core gRPC
https://github.com/googleapis/java-core
@@ -13,7 +13,7 @@
com.google.cloud
google-cloud-core-parent
- 2.1.8
+ 2.1.9-SNAPSHOT
google-cloud-core-grpc
diff --git a/google-cloud-core-http/pom.xml b/google-cloud-core-http/pom.xml
index 433586c12c..71ca55349b 100644
--- a/google-cloud-core-http/pom.xml
+++ b/google-cloud-core-http/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-core-http
- 2.1.8
+ 2.1.9-SNAPSHOT
jar
Google Cloud Core HTTP
https://github.com/googleapis/java-core
@@ -13,7 +13,7 @@
com.google.cloud
google-cloud-core-parent
- 2.1.8
+ 2.1.9-SNAPSHOT
google-cloud-core-http
diff --git a/google-cloud-core/pom.xml b/google-cloud-core/pom.xml
index 5db43ea669..579e5343c7 100644
--- a/google-cloud-core/pom.xml
+++ b/google-cloud-core/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-core
- 2.1.8
+ 2.1.9-SNAPSHOT
jar
Google Cloud Core
https://github.com/googleapis/java-core
@@ -13,7 +13,7 @@
com.google.cloud
google-cloud-core-parent
- 2.1.8
+ 2.1.9-SNAPSHOT
google-cloud-core
diff --git a/pom.xml b/pom.xml
index a4e9fb67fd..8e53ad32d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-core-parent
pom
- 2.1.8
+ 2.1.9-SNAPSHOT
Google Cloud Core Parent
https://github.com/googleapis/java-core
diff --git a/versions.txt b/versions.txt
index 3aef5a2c3a..639f7c3d48 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,4 +1,4 @@
# Format:
# module:released-version:current-version
-google-cloud-core:2.1.8:2.1.8
\ No newline at end of file
+google-cloud-core:2.1.8:2.1.9-SNAPSHOT
\ No newline at end of file
From cca72b82b45e01207bd45c6a2b988981c213c6fd Mon Sep 17 00:00:00 2001
From: Neenu Shaji
Date: Mon, 18 Oct 2021 10:56:52 -0400
Subject: [PATCH 2/5] feat: next release from main branch is 2.2.0 (#596)
---
.github/release-please.yml | 13 ++--
.github/sync-repo-settings.yaml | 119 ++++++++++++++------------------
2 files changed, 60 insertions(+), 72 deletions(-)
diff --git a/.github/release-please.yml b/.github/release-please.yml
index 3dc9356517..a43dbc35f8 100644
--- a/.github/release-please.yml
+++ b/.github/release-please.yml
@@ -2,8 +2,11 @@ bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-yoshi
branches:
-- bumpMinorPreMajor: true
- handleGHRelease: true
- releaseType: java-yoshi
- branch: java7
-
+ - bumpMinorPreMajor: true
+ handleGHRelease: true
+ releaseType: java-yoshi
+ branch: java7
+ - bumpMinorPreMajor: true
+ handleGHRelease: true
+ releaseType: java-backport
+ branch: 2.1.x
diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml
index 5ec649c877..b97f6f3392 100644
--- a/.github/sync-repo-settings.yaml
+++ b/.github/sync-repo-settings.yaml
@@ -1,72 +1,57 @@
-
-# Whether or not rebase-merging is enabled on this repository.
-# Defaults to `true`
rebaseMergeAllowed: false
-
-# Whether or not squash-merging is enabled on this repository.
-# Defaults to `true`
squashMergeAllowed: true
-
-# Whether or not PRs are merged with a merge commit on this repository.
-# Defaults to `false`
mergeCommitAllowed: false
-
-# Rules for main branch protection
branchProtectionRules:
-# Identifies the protection rule pattern. Name of the branch to be protected.
-# Defaults to `main`
-- pattern: main
- # Can admins overwrite branch protection.
- # Defaults to `true`
- isAdminEnforced: true
- # Number of approving reviews required to update matching branches.
- # Defaults to `1`
- requiredApprovingReviewCount: 1
- # Are reviews from code owners required to update matching branches.
- # Defaults to `false`
- requiresCodeOwnerReviews: true
- # Require up to date branches
- requiresStrictStatusChecks: false
- # List of required status check contexts that must pass for commits to be accepted to matching branches.
- requiredStatusCheckContexts:
- - "dependencies (8)"
- - "dependencies (11)"
- - "lint"
- - "clirr"
- - "units (8)"
- - "units (11)"
- - "Kokoro - Test: Integration"
- - "cla/google"
- - "OwlBot Post Processor"
-- pattern: java7
- # Can admins overwrite branch protection.
- # Defaults to `true`
- isAdminEnforced: true
- # Number of approving reviews required to update matching branches.
- # Defaults to `1`
- requiredApprovingReviewCount: 1
- # Are reviews from code owners required to update matching branches.
- # Defaults to `false`
- requiresCodeOwnerReviews: true
- # Require up to date branches
- requiresStrictStatusChecks: false
- # List of required status check contexts that must pass for commits to be accepted to matching branches.
- requiredStatusCheckContexts:
- - "dependencies (8)"
- - "dependencies (11)"
- - "lint"
- - "clirr"
- - "units (7)"
- - "units (8)"
- - "units (11)"
- - "Kokoro - Test: Integration"
- - "cla/google"
- - "OwlBot Post Processor"
-# List of explicit permissions to add (additive only)
+ - pattern: main
+ isAdminEnforced: true
+ requiredApprovingReviewCount: 1
+ requiresCodeOwnerReviews: true
+ requiresStrictStatusChecks: false
+ requiredStatusCheckContexts:
+ - dependencies (8)
+ - dependencies (11)
+ - lint
+ - clirr
+ - units (8)
+ - units (11)
+ - 'Kokoro - Test: Integration'
+ - cla/google
+ - OwlBot Post Processor
+ - pattern: java7
+ isAdminEnforced: true
+ requiredApprovingReviewCount: 1
+ requiresCodeOwnerReviews: true
+ requiresStrictStatusChecks: false
+ requiredStatusCheckContexts:
+ - dependencies (8)
+ - dependencies (11)
+ - lint
+ - clirr
+ - units (7)
+ - units (8)
+ - units (11)
+ - 'Kokoro - Test: Integration'
+ - cla/google
+ - OwlBot Post Processor
+ - pattern: 2.1.x
+ isAdminEnforced: true
+ requiredApprovingReviewCount: 1
+ requiresCodeOwnerReviews: true
+ requiresStrictStatusChecks: false
+ requiredStatusCheckContexts:
+ - dependencies (8)
+ - dependencies (11)
+ - lint
+ - clirr
+ - units (8)
+ - units (11)
+ - 'Kokoro - Test: Integration'
+ - cla/google
+ - OwlBot Post Processor
permissionRules:
-- team: yoshi-admins
- permission: admin
-- team: yoshi-java-admins
- permission: admin
-- team: yoshi-java
- permission: push
+ - team: yoshi-admins
+ permission: admin
+ - team: yoshi-java-admins
+ permission: admin
+ - team: yoshi-java
+ permission: push
From 7c8b939a55262d7f636b3c5f6716b0250d7774bd Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Mon, 18 Oct 2021 16:52:41 +0000
Subject: [PATCH 3/5] build(java): Introduce Native Image testing build script
changes (#599)
---
.github/.OwlBot.lock.yaml | 2 +-
.kokoro/build.sh | 5 +++++
.kokoro/presubmit/graalvm-native.cfg | 33 ++++++++++++++++++++++++++++
3 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 .kokoro/presubmit/graalvm-native.cfg
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 5ff6c87c1e..dc53bbb57b 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:13b7387edb404234610d30473ac48210ae7fe42a136335ee2b2f8a07c4c7f6a5
+ digest: sha256:d4b2141d65566523dfd523f63c6e6899ab1281463bce182a9f600e74b0511875
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index 08abe50520..c09fee43e6 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -69,6 +69,11 @@ integration)
verify
RETURN_CODE=$?
;;
+graalvm)
+ # Run Unit and Integration Tests with Native Image
+ mvn test -Pnative -Penable-integration-tests
+ RETURN_CODE=$?
+ ;;
samples)
SAMPLES_DIR=samples
# only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise.
diff --git a/.kokoro/presubmit/graalvm-native.cfg b/.kokoro/presubmit/graalvm-native.cfg
new file mode 100644
index 0000000000..4c7225ec92
--- /dev/null
+++ b/.kokoro/presubmit/graalvm-native.cfg
@@ -0,0 +1,33 @@
+# Format: //devtools/kokoro/config/proto/build.proto
+
+# Configure the docker image for kokoro-trampoline.
+env_vars: {
+ key: "TRAMPOLINE_IMAGE"
+ value: "gcr.io/cloud-devrel-kokoro-resources/graalvm"
+}
+
+env_vars: {
+ key: "JOB_TYPE"
+ value: "graalvm"
+}
+
+# TODO: remove this after we've migrated all tests and scripts
+env_vars: {
+ key: "GCLOUD_PROJECT"
+ value: "gcloud-devel"
+}
+
+env_vars: {
+ key: "GOOGLE_CLOUD_PROJECT"
+ value: "gcloud-devel"
+}
+
+env_vars: {
+ key: "GOOGLE_APPLICATION_CREDENTIALS"
+ value: "secret_manager/java-it-service-account"
+}
+
+env_vars: {
+ key: "SECRET_MANAGER_KEYS"
+ value: "java-it-service-account"
+}
From a0cff6a83506d1da3a8aacd6eafc39ff1ab11583 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 18 Oct 2021 19:28:35 +0200
Subject: [PATCH 4/5] deps: update dependency com.google.api:gax-bom to v2.6.1
(#600)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.api:gax-bom](https://togithub.com/googleapis/gax-java) | `2.6.0` -> `2.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/gax-java
### [`v2.6.1`](https://togithub.com/googleapis/gax-java/releases/v2.6.1)
[Compare Source](https://togithub.com/googleapis/gax-java/compare/v2.6.0...v2.6.1)
##### Bug Fixes
- declare depenencies of API surfaces as api ([#1535](https://www.togithub.com/googleapis/gax-java/issues/1535)) ([#1536](https://www.togithub.com/googleapis/gax-java/issues/1536)) ([8794b5c](https://www.github.com/googleapis/gax-java/commit/8794b5c322659af5a339c40552f16d71b7605cdf))
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 8e53ad32d5..f08a8c8059 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,7 +151,7 @@
UTF-8
github
google-cloud-core-parent
- 2.6.0
+ 2.6.1
2.0.5
2.6.0
1.1.6
From 834d2283f10f2d02dcb7da968317369d425caf5a Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Mon, 18 Oct 2021 17:40:14 +0000
Subject: [PATCH 5/5] chore: release 2.2.0 (#598)
:robot: I have created a release \*beep\* \*boop\*
---
## [2.2.0](https://www.github.com/googleapis/java-core/compare/v2.1.8...v2.2.0) (2021-10-18)
### Features
* next release from main branch is 2.2.0 ([#596](https://www.github.com/googleapis/java-core/issues/596)) ([cca72b8](https://www.github.com/googleapis/java-core/commit/cca72b82b45e01207bd45c6a2b988981c213c6fd))
### Dependencies
* update dependency com.google.api:gax-bom to v2.6.1 ([#600](https://www.github.com/googleapis/java-core/issues/600)) ([a0cff6a](https://www.github.com/googleapis/java-core/commit/a0cff6a83506d1da3a8aacd6eafc39ff1ab11583))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 12 ++++++++++++
google-cloud-core-bom/pom.xml | 8 ++++----
google-cloud-core-grpc/pom.xml | 4 ++--
google-cloud-core-http/pom.xml | 4 ++--
google-cloud-core/pom.xml | 4 ++--
pom.xml | 2 +-
versions.txt | 2 +-
7 files changed, 24 insertions(+), 12 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 429a1d14eb..2a30c81a54 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,17 @@
# Changelog
+## [2.2.0](https://www.github.com/googleapis/java-core/compare/v2.1.8...v2.2.0) (2021-10-18)
+
+
+### Features
+
+* next release from main branch is 2.2.0 ([#596](https://www.github.com/googleapis/java-core/issues/596)) ([cca72b8](https://www.github.com/googleapis/java-core/commit/cca72b82b45e01207bd45c6a2b988981c213c6fd))
+
+
+### Dependencies
+
+* update dependency com.google.api:gax-bom to v2.6.1 ([#600](https://www.github.com/googleapis/java-core/issues/600)) ([a0cff6a](https://www.github.com/googleapis/java-core/commit/a0cff6a83506d1da3a8aacd6eafc39ff1ab11583))
+
### [2.1.8](https://www.github.com/googleapis/java-core/compare/v2.1.7...v2.1.8) (2021-10-15)
diff --git a/google-cloud-core-bom/pom.xml b/google-cloud-core-bom/pom.xml
index c780a76d3e..da77e11abc 100644
--- a/google-cloud-core-bom/pom.xml
+++ b/google-cloud-core-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-core-bom
- 2.1.9-SNAPSHOT
+ 2.2.0
pom
com.google.cloud
@@ -63,17 +63,17 @@
com.google.cloud
google-cloud-core
- 2.1.9-SNAPSHOT
+ 2.2.0
com.google.cloud
google-cloud-core-grpc
- 2.1.9-SNAPSHOT
+ 2.2.0
com.google.cloud
google-cloud-core-http
- 2.1.9-SNAPSHOT
+ 2.2.0
diff --git a/google-cloud-core-grpc/pom.xml b/google-cloud-core-grpc/pom.xml
index f40328a4b9..0f79accabb 100644
--- a/google-cloud-core-grpc/pom.xml
+++ b/google-cloud-core-grpc/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-core-grpc
- 2.1.9-SNAPSHOT
+ 2.2.0
jar
Google Cloud Core gRPC
https://github.com/googleapis/java-core
@@ -13,7 +13,7 @@
com.google.cloud
google-cloud-core-parent
- 2.1.9-SNAPSHOT
+ 2.2.0
google-cloud-core-grpc
diff --git a/google-cloud-core-http/pom.xml b/google-cloud-core-http/pom.xml
index 71ca55349b..300c7a92c8 100644
--- a/google-cloud-core-http/pom.xml
+++ b/google-cloud-core-http/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-core-http
- 2.1.9-SNAPSHOT
+ 2.2.0
jar
Google Cloud Core HTTP
https://github.com/googleapis/java-core
@@ -13,7 +13,7 @@
com.google.cloud
google-cloud-core-parent
- 2.1.9-SNAPSHOT
+ 2.2.0
google-cloud-core-http
diff --git a/google-cloud-core/pom.xml b/google-cloud-core/pom.xml
index 579e5343c7..171cd7b58e 100644
--- a/google-cloud-core/pom.xml
+++ b/google-cloud-core/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-core
- 2.1.9-SNAPSHOT
+ 2.2.0
jar
Google Cloud Core
https://github.com/googleapis/java-core
@@ -13,7 +13,7 @@
com.google.cloud
google-cloud-core-parent
- 2.1.9-SNAPSHOT
+ 2.2.0
google-cloud-core
diff --git a/pom.xml b/pom.xml
index f08a8c8059..42418d6300 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-core-parent
pom
- 2.1.9-SNAPSHOT
+ 2.2.0
Google Cloud Core Parent
https://github.com/googleapis/java-core
diff --git a/versions.txt b/versions.txt
index 639f7c3d48..8127a52965 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,4 +1,4 @@
# Format:
# module:released-version:current-version
-google-cloud-core:2.1.8:2.1.9-SNAPSHOT
\ No newline at end of file
+google-cloud-core:2.2.0:2.2.0
\ No newline at end of file