Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/java-pubsub
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.131.0
Choose a base ref
...
head repository: googleapis/java-pubsub
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.132.0
Choose a head ref

Commits on Jun 25, 2024

  1. chore(main): release 1.131.1-SNAPSHOT (#2089)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ### Updating meta-information for bleeding-edge SNAPSHOT release.
    
    ---
    This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
    release-please[bot] authored Jun 25, 2024
    Copy the full SHA
    5456b52 View commit details

Commits on Jul 1, 2024

  1. docs(samples): Optimistic subscribe sample (#2063)

    * docs(samples): Add code sample for optimistic subscribe
    
    * docs(samples): Fix formatting on test
    
    * docs(samples): Use an error listener instead of catching an exception for the OptimisticSubscribeExample
    
    * test: Add exception handler to OptimisticSubscribeExample
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    michaelpri10 and gcf-owl-bot[bot] authored Jul 1, 2024
    Copy the full SHA
    53a4844 View commit details
  2. test(deps): update dependency com.google.truth:truth to v1.4.3 (#2097)

    * test(deps): update dependency com.google.truth:truth to v1.4.3
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] authored Jul 1, 2024
    Copy the full SHA
    315766d View commit details
  3. deps: update dependency org.junit.vintage:junit-vintage-engine to v5.…

    …10.3 (#2096)
    
    * deps: update dependency org.junit.vintage:junit-vintage-engine to v5.10.3
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] authored Jul 1, 2024
    Copy the full SHA
    42f12ed View commit details
  4. deps: update dependency com.google.cloud:google-cloud-storage to v2.4…

    …0.1 (#2095)
    
    * deps: update dependency com.google.cloud:google-cloud-storage to v2.40.1
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] authored Jul 1, 2024
    Copy the full SHA
    0d64d6c View commit details
  5. build(deps): update dependency org.apache.maven.plugins:maven-project…

    …-info-reports-plugin to v3.6.1 (#2094)
    
    * build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.6.1
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] authored Jul 1, 2024
    Copy the full SHA
    dfc9d59 View commit details
  6. deps: update dependency com.google.cloud:google-cloud-bigquery to v2.…

    …41.0 (#2093)
    
    * deps: update dependency com.google.cloud:google-cloud-bigquery to v2.41.0
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] authored Jul 1, 2024
    Copy the full SHA
    217b8a3 View commit details
  7. chore(deps): update dependency com.google.cloud:google-cloud-pubsub t…

    …o v1.131.0 (#2092)
    
    * chore(deps): update dependency com.google.cloud:google-cloud-pubsub to v1.131.0
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] authored Jul 1, 2024
    Copy the full SHA
    81c311b View commit details
  8. deps: update dependency com.google.protobuf:protobuf-java-util to v4.…

    …27.2 (#2091)
    
    * deps: update dependency com.google.protobuf:protobuf-java-util to v4.27.2
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    renovate-bot and gcf-owl-bot[bot] authored Jul 1, 2024
    Copy the full SHA
    9859f11 View commit details

Commits on Jul 3, 2024

  1. feat: enable hermetic library generation (#2048)

    * feat: enable hermetic library generation
    
    * fix config yaml syntax
    
    * do not map runners home folder
    
    * try dummy proto_path
    
    * use copyright update comittish
    
    * correct proto_path
    
    * update protoc
    
    * preserve pr_description
    
    * update gapic_generator_version to 2.41.0
    
    * infer image tag from config yaml
    
    * correct workflow name
    
    * update config scripts and yamls
    
    * remove old update_googleapis_committish workflow
    
    * sync config structure with that of google-cloud-java
    
    * remove quotes from config yamls
    
    * fix typo in update_generation_config.yaml
    
    * correct
    
    * quote codeowners_team in generation config
    
    * update generator version
    
    * fix library info
    
    * retrigger jobs
    
    * fix path to hermetic_library_generation
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * fixes to hermetic_library_generation
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    diegomarquezp and gcf-owl-bot[bot] authored Jul 3, 2024
    Copy the full SHA
    283a5e8 View commit details

Commits on Jul 8, 2024

  1. chore: Update generation configuration at Fri Jul 5 02:16:12 UTC 2024 (

    …#2103)
    
    * chore: Update generation configuration at Wed Jul  3 00:13:55 UTC 2024
    
    * chore: generate libraries at Wed Jul  3 00:14:23 UTC 2024
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * chore: Update generation configuration at Thu Jul  4 02:16:36 UTC 2024
    
    * chore: generate libraries at Thu Jul  4 02:16:59 UTC 2024
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * chore: Update generation configuration at Fri Jul  5 02:16:12 UTC 2024
    
    * chore: generate libraries at Fri Jul  5 02:16:34 UTC 2024
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    cloud-java-bot and gcf-owl-bot[bot] authored Jul 8, 2024
    Copy the full SHA
    c11246b View commit details
  2. chore: make the owlbot postprocessor check non-required (#2104)

    We will soon disable the Owlbot postprocessor. This is part of the effort to enable hermetic generation in this repo ([context](https://docs.google.com/document/d/1wrpyBtphdenM3BNelcnpBKGADYrGJUo686HXvSA0h-0/edit?pli=1&tab=t.0#bookmark=kix.914gcjvdwt3u))
    diegomarquezp authored Jul 8, 2024
    Copy the full SHA
    464e561 View commit details
  3. Copy the full SHA
    68f4b01 View commit details
  4. Copy the full SHA
    0b51cc3 View commit details

Commits on Jul 10, 2024

  1. chore: Update generation configuration at Wed Jul 10 02:17:03 UTC 2024 (

    #2109)
    
    * chore: Update generation configuration at Tue Jul  9 02:17:13 UTC 2024
    
    * chore: Update generation configuration at Wed Jul 10 02:17:03 UTC 2024
    
    * chore: generate libraries at Wed Jul 10 02:17:23 UTC 2024
    cloud-java-bot authored Jul 10, 2024
    Copy the full SHA
    4e17c34 View commit details

Commits on Jul 12, 2024

  1. Copy the full SHA
    c0b7ac1 View commit details

Commits on Jul 15, 2024

  1. Copy the full SHA
    87ee9d0 View commit details
  2. chore: remove native image sample in favor of sample hosted in google…

    …-cloud-java (#2105)
    
    * chore: remove native image sample in favor of sample hosted in google-cloud-java
    mpeddada1 authored Jul 15, 2024
    Copy the full SHA
    8b07974 View commit details
  3. Copy the full SHA
    5a7d4e5 View commit details

Commits on Jul 16, 2024

  1. build(deps): update dependency org.apache.maven.plugins:maven-project…

    …-info-reports-plugin to v3.6.2 (#2115)
    renovate-bot authored Jul 16, 2024
    Copy the full SHA
    a77e26a View commit details

Commits on Jul 23, 2024

  1. chore: Update generation configuration at Tue Jul 23 02:17:28 UTC 2024 (

    #2118)
    
    * chore: Update generation configuration at Tue Jul 23 02:17:28 UTC 2024
    
    * chore: generate libraries at Tue Jul 23 02:17:50 UTC 2024
    cloud-java-bot authored Jul 23, 2024
    Copy the full SHA
    2b15b0a View commit details

Commits on Jul 30, 2024

  1. chore: Update generation configuration at Sat Jul 27 02:16:29 UTC 2024 (

    #2119)
    
    * chore: Update generation configuration at Wed Jul 24 02:17:25 UTC 2024
    
    * chore: Update generation configuration at Thu Jul 25 02:17:32 UTC 2024
    
    * chore: Update generation configuration at Fri Jul 26 02:17:25 UTC 2024
    
    * chore: Update generation configuration at Sat Jul 27 02:16:29 UTC 2024
    
    * chore: generate libraries at Sat Jul 27 02:16:53 UTC 2024
    cloud-java-bot authored Jul 30, 2024
    Copy the full SHA
    0e040cb View commit details
  2. Copy the full SHA
    7fbea6d View commit details
  3. Copy the full SHA
    24ebe24 View commit details
  4. Copy the full SHA
    1f6428a View commit details

Commits on Jul 31, 2024

  1. Copy the full SHA
    dfe7739 View commit details

Commits on Aug 1, 2024

  1. chore: Update generation configuration at Thu Aug 1 02:21:32 UTC 2024 (

    …#2125)
    
    * chore: Update generation configuration at Tue Jul 30 02:17:27 UTC 2024
    
    * chore: Update generation configuration at Wed Jul 31 02:05:30 UTC 2024
    
    * chore: Update generation configuration at Thu Aug  1 02:21:32 UTC 2024
    cloud-java-bot authored Aug 1, 2024
    Copy the full SHA
    99b90ab View commit details
  2. Copy the full SHA
    2348d20 View commit details
  3. Copy the full SHA
    58435f9 View commit details
  4. chore(main): release 1.132.0 (#2098)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Aug 1, 2024
    Copy the full SHA
    34a9bd8 View commit details
Showing with 919 additions and 1,240 deletions.
  1. 0 .github/{.OwlBot.yaml → .OwlBot-hermetic.yaml}
  2. +0 −17 .github/.OwlBot.lock.yaml
  3. +4 −0 .github/release-please.yml
  4. +117 −0 .github/scripts/hermetic_library_generation.sh
  5. +121 −0 .github/scripts/update_generation_config.sh
  6. +16 −10 .github/sync-repo-settings.yaml
  7. +40 −0 .github/workflows/hermetic_library_generation.yaml
  8. +1 −1 .github/workflows/unmanaged_dependency_check.yaml
  9. +42 −0 .github/workflows/update_generation_config.yaml
  10. +1 −1 .kokoro/presubmit/graalvm-native-17.cfg
  11. +1 −1 .kokoro/presubmit/graalvm-native.cfg
  12. +5 −4 .repo-metadata.json
  13. +24 −0 CHANGELOG.md
  14. +11 −8 README.md
  15. +23 −0 generation_config.yaml
  16. +5 −5 google-cloud-pubsub-bom/pom.xml
  17. +2 −2 google-cloud-pubsub/pom.xml
  18. +2 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java
  19. +2 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java
  20. +2 −0 google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java
  21. +2 −2 grpc-google-cloud-pubsub-v1/pom.xml
  22. +7 −7 pom.xml
  23. +2 −2 proto-google-cloud-pubsub-v1/pom.xml
  24. +107 −10 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java
  25. +14 −0 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java
  26. +216 −214 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java
  27. +4 −4 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java
  28. +1 −1 proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java
  29. +4 −0 proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
  30. +2 −2 renovate.json
  31. +6 −6 samples/install-without-bom/pom.xml
  32. +0 −77 samples/native-image-sample/README.md
  33. +0 −169 samples/native-image-sample/pom.xml
  34. +0 −385 samples/native-image-sample/src/main/java/pubsub/NativeImagePubSubSample.java
  35. +0 −159 samples/native-image-sample/src/main/java/utilities/PublishOperations.java
  36. +0 −139 samples/native-image-sample/src/test/java/pubsub/NativeImagePubSubSampleIT.java
  37. +0 −1 samples/pom.xml
  38. +6 −6 samples/snapshot/pom.xml
  39. +4 −4 samples/snippets/pom.xml
  40. +103 −0 samples/snippets/src/main/java/pubsub/OptimisticSubscribeExample.java
  41. +19 −0 samples/snippets/src/test/java/pubsub/SubscriberIT.java
  42. +3 −3 versions.txt
File renamed without changes.
17 changes: 0 additions & 17 deletions .github/.OwlBot.lock.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -38,3 +38,7 @@ branches:
handleGHRelease: true
releaseType: java-backport
branch: 1.125.x
- bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-backport
branch: 1.129.x
117 changes: 117 additions & 0 deletions .github/scripts/hermetic_library_generation.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
#!/bin/bash
set -e
# This script should be run at the root of the repository.
# This script is used to, when a pull request changes the generation
# configuration (generation_config.yaml by default):
# 1. Find whether the last commit in this pull request contains changes to
# the generation configuration and exit early if it doesn't have such a change
# since the generation result would be the same.
# 2. Compare generation configurations in the current branch (with which the
# pull request associated) and target branch (into which the pull request is
# merged);
# 3. Generate changed libraries using library_generation image;
# 4. Commit the changes to the pull request, if any.
# 5. Edit the PR body with generated pull request description, if applicable.

# The following commands need to be installed before running the script:
# 1. git
# 2. gh
# 3. docker

# The parameters of this script is:
# 1. target_branch, the branch into which the pull request is merged.
# 2. current_branch, the branch with which the pull request is associated.
# 3. [optional] generation_config, the path to the generation configuration,
# the default value is generation_config.yaml in the repository root.
while [[ $# -gt 0 ]]; do
key="$1"
case "${key}" in
--target_branch)
target_branch="$2"
shift
;;
--current_branch)
current_branch="$2"
shift
;;
--generation_config)
generation_config="$2"
shift
;;
*)
echo "Invalid option: [$1]"
exit 1
;;
esac
shift
done

if [ -z "${target_branch}" ]; then
echo "missing required argument --target_branch"
exit 1
fi

if [ -z "${current_branch}" ]; then
echo "missing required argument --current_branch"
exit 1
fi

if [ -z "${generation_config}" ]; then
generation_config=generation_config.yaml
echo "Using default generation config: ${generation_config}"
fi

workspace_name="/workspace"
baseline_generation_config="baseline_generation_config.yaml"
message="chore: generate libraries at $(date)"

git checkout "${target_branch}"
git checkout "${current_branch}"
# if the last commit doesn't contain changes to generation configuration,
# do not generate again as the result will be the same.
change_of_last_commit="$(git diff-tree --no-commit-id --name-only HEAD~1..HEAD -r)"
if [[ ! ("${change_of_last_commit}" == *"${generation_config}"*) ]]; then
echo "The last commit doesn't contain any changes to the generation_config.yaml, skipping the whole generation process." || true
exit 0
fi
# copy generation configuration from target branch to current branch.
git show "${target_branch}":"${generation_config}" > "${baseline_generation_config}"
config_diff=$(diff "${generation_config}" "${baseline_generation_config}" || true)

# parse image tag from the generation configuration.
image_tag=$(grep "gapic_generator_version" "${generation_config}" | cut -d ':' -f 2 | xargs)

# run hermetic code generation docker image.
docker run \
--rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):${workspace_name}" \
gcr.io/cloud-devrel-public-resources/java-library-generation:"${image_tag}" \
--baseline-generation-config-path="${workspace_name}/${baseline_generation_config}" \
--current-generation-config-path="${workspace_name}/${generation_config}"


# commit the change to the pull request.
if [[ $(basename $(pwd)) == "google-cloud-java" ]]; then
git add java-* pom.xml gapic-libraries-bom/pom.xml versions.txt
else
# The image leaves intermediate folders and files it works with. Here we remove them
rm -rdf output googleapis "${baseline_generation_config}"
git add --all -- ':!pr_description.txt'
fi
changed_files=$(git diff --cached --name-only)
if [[ "${changed_files}" == "" ]]; then
echo "There is no generated code change with the generation config change ${config_diff}."
echo "Skip committing to the pull request."
exit 0
fi

echo "Configuration diff:"
echo "${config_diff}"
git commit -m "${message}"
git push
# set pr body if pr_description.txt is generated.
if [[ -f "pr_description.txt" ]]; then
pr_num=$(gh pr list -s open -H "${current_branch}" -q . --json number | jq ".[] | .number")
gh pr edit "${pr_num}" --body "$(cat pr_description.txt)"
fi
121 changes: 121 additions & 0 deletions .github/scripts/update_generation_config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
#!/bin/bash
set -e
# This script should be run at the root of the repository.
# This script is used to update googleapis_commitish, gapic_generator_version,
# and libraries_bom_version in generation configuration at the time of running
# and create a pull request.

# The following commands need to be installed before running the script:
# 1. git
# 2. gh
# 3. jq

# Utility functions
# Get the latest released version of a Maven artifact.
function get_latest_released_version() {
local group_id=$1
local artifact_id=$2
latest=$(curl -s "https://search.maven.org/solrsearch/select?q=g:${group_id}+AND+a:${artifact_id}&core=gav&rows=500&wt=json" | jq -r '.response.docs[] | select(.v | test("^[0-9]+(\\.[0-9]+)*$")) | .v' | sort -V | tail -n 1)
echo "${latest}"
}

# Update a key to a new value in the generation config.
function update_config() {
local key_word=$1
local new_value=$2
local file=$3
echo "Update ${key_word} to ${new_value} in ${file}"
sed -i -e "s/^${key_word}.*$/${key_word}: ${new_value}/" "${file}"
}

# The parameters of this script is:
# 1. base_branch, the base branch of the result pull request.
# 2. repo, organization/repo-name, e.g., googleapis/google-cloud-java
# 3. [optional] generation_config, the path to the generation configuration,
# the default value is generation_config.yaml in the repository root.
while [[ $# -gt 0 ]]; do
key="$1"
case "${key}" in
--base_branch)
base_branch="$2"
shift
;;
--repo)
repo="$2"
shift
;;
--generation_config)
generation_config="$2"
shift
;;
*)
echo "Invalid option: [$1]"
exit 1
;;
esac
shift
done

if [ -z "${base_branch}" ]; then
echo "missing required argument --base_branch"
exit 1
fi

if [ -z "${repo}" ]; then
echo "missing required argument --repo"
exit 1
fi

if [ -z "${generation_config}" ]; then
generation_config="generation_config.yaml"
echo "Use default generation config: ${generation_config}"
fi

current_branch="generate-libraries-${base_branch}"
title="chore: Update generation configuration at $(date)"

# try to find a open pull request associated with the branch
pr_num=$(gh pr list -s open -H "${current_branch}" -q . --json number | jq ".[] | .number")
# create a branch if there's no open pull request associated with the
# branch; otherwise checkout the pull request.
if [ -z "${pr_num}" ]; then
git checkout -b "${current_branch}"
else
gh pr checkout "${pr_num}"
fi

mkdir tmp-googleapis
# use partial clone because only commit history is needed.
git clone --filter=blob:none https://github.com/googleapis/googleapis.git tmp-googleapis
pushd tmp-googleapis
git pull
latest_commit=$(git rev-parse HEAD)
popd
rm -rf tmp-googleapis
update_config "googleapis_commitish" "${latest_commit}" "${generation_config}"

# update gapic-generator-java version to the latest
latest_version=$(get_latest_released_version "com.google.api" "gapic-generator-java")
update_config "gapic_generator_version" "${latest_version}" "${generation_config}"

# update libraries-bom version to the latest
latest_version=$(get_latest_released_version "com.google.cloud" "libraries-bom")
update_config "libraries_bom_version" "${latest_version}" "${generation_config}"

git add "${generation_config}"
changed_files=$(git diff --cached --name-only)
if [[ "${changed_files}" == "" ]]; then
echo "The latest generation config is not changed."
echo "Skip committing to the pull request."
exit 0
fi
git commit -m "${title}"
if [ -z "${pr_num}" ]; then
git remote add remote_repo https://cloud-java-bot:"${GH_TOKEN}@github.com/${repo}.git"
git fetch -q --unshallow remote_repo
git push -f remote_repo "${current_branch}"
gh pr create --title "${title}" --head "${current_branch}" --body "${title}" --base "${base_branch}"
else
git push
gh pr edit "${pr_num}" --title "${title}" --body "${title}"
fi
26 changes: 16 additions & 10 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
@@ -34,7 +33,6 @@ branchProtectionRules:
- 'Kokoro - Test: Integration'
- Kokoro - Against Pub/Sub Lite samples
- cla/google
- OwlBot Post Processor
- pattern: java7
isAdminEnforced: true
requiredApprovingReviewCount: 1
@@ -50,7 +48,6 @@ branchProtectionRules:
- 'Kokoro - Test: Integration'
- Kokoro - Against Pub/Sub Lite samples
- cla/google
- OwlBot Post Processor
- pattern: 1.114.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
@@ -66,7 +63,6 @@ branchProtectionRules:
- 'Kokoro - Test: Integration'
- Kokoro - Against Pub/Sub Lite samples
- cla/google
- OwlBot Post Processor
- pattern: 1.116.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
@@ -82,7 +78,6 @@ branchProtectionRules:
- 'Kokoro - Test: Integration'
- Kokoro - Against Pub/Sub Lite samples
- cla/google
- OwlBot Post Processor
- pattern: 1.117.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
@@ -98,7 +93,6 @@ branchProtectionRules:
- 'Kokoro - Test: Integration'
- Kokoro - Against Pub/Sub Lite samples
- cla/google
- OwlBot Post Processor
- pattern: 1.120.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
@@ -114,7 +108,6 @@ branchProtectionRules:
- 'Kokoro - Test: Integration'
- Kokoro - Against Pub/Sub Lite samples
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: 1.121.x
@@ -132,7 +125,6 @@ branchProtectionRules:
- 'Kokoro - Test: Integration'
- Kokoro - Against Pub/Sub Lite samples
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: 1.123.x
@@ -149,7 +141,6 @@ branchProtectionRules:
- 'Kokoro - Test: Integration'
- Kokoro - Against Pub/Sub Lite samples
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: 1.125.x
@@ -165,7 +156,22 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
- pattern: 1.129.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (17)
- lint
- clirr
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
Loading