Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
735660d
chore: Test with Protobuf-Java v4.29.4
lqiu96 Aug 26, 2025
842a4fa
chore: generate libraries at Wed Sep 24 14:48:29 UTC 2025
cloud-java-bot Sep 24, 2025
cdad6cd
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 6, 2025
ea0c896
chore: generate libraries at Mon Oct 6 14:57:46 UTC 2025
cloud-java-bot Oct 6, 2025
fb72bbb
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 6, 2025
c2de695
chore: generate libraries at Mon Oct 6 20:43:54 UTC 2025
cloud-java-bot Oct 6, 2025
e98eae7
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 7, 2025
07f445a
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 8, 2025
890fa0d
chore: generate libraries at Wed Oct 8 03:24:39 UTC 2025
cloud-java-bot Oct 8, 2025
592785b
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 9, 2025
230be0c
chore: generate libraries at Thu Oct 9 03:27:44 UTC 2025
cloud-java-bot Oct 9, 2025
b6897ca
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 10, 2025
c9383a6
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 15, 2025
beb6d3d
chore: generate libraries at Wed Oct 15 03:32:28 UTC 2025
cloud-java-bot Oct 15, 2025
df2c518
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 18, 2025
b2edd64
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 21, 2025
8cd5e7f
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 22, 2025
a59970e
chore: Ignore hermetic build
lqiu96 Oct 22, 2025
c0f9a4f
chore: Restore deleted files
lqiu96 Oct 22, 2025
8f4bf72
Merge branch 'main' into PR #2470 to update
lqiu96 Oct 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions .github/workflows/hermetic_library_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,33 @@
# limitations under the License.
# GitHub action job to test core java library features on
# downstream client libraries before they are released.
name: Hermetic library generation upon generation config change through pull requests
on:
pull_request:

env:
REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
GITHUB_REPOSITORY: ${{ github.repository }}
jobs:
library_generation:
runs-on: ubuntu-latest
steps:
- name: Determine whether the pull request comes from a fork
run: |
if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then
echo "This PR comes from a fork. Skip library generation."
echo "SHOULD_RUN=false" >> $GITHUB_ENV
else
echo "SHOULD_RUN=true" >> $GITHUB_ENV
fi
- uses: actions/checkout@v5
if: env.SHOULD_RUN == 'true'
with:
fetch-depth: 0
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
- uses: googleapis/sdk-platform-java/.github/[email protected]
if: env.SHOULD_RUN == 'true'
with:
base_ref: ${{ github.base_ref }}
head_ref: ${{ github.head_ref }}
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
#name: Hermetic library generation upon generation config change through pull requests
#on:
# pull_request:
#
#env:
# REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
# GITHUB_REPOSITORY: ${{ github.repository }}
#jobs:
# library_generation:
# runs-on: ubuntu-latest
# steps:
# - name: Determine whether the pull request comes from a fork
# run: |
# if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then
# echo "This PR comes from a fork. Skip library generation."
# echo "SHOULD_RUN=false" >> $GITHUB_ENV
# else
# echo "SHOULD_RUN=true" >> $GITHUB_ENV
# fi
# - uses: actions/checkout@v5
# if: env.SHOULD_RUN == 'true'
# with:
# fetch-depth: 0
# token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
# - uses: googleapis/sdk-platform-java/.github/[email protected]
# if: env.SHOULD_RUN == 'true'
# with:
# base_ref: ${{ github.base_ref }}
# head_ref: ${{ github.head_ref }}
# token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
1 change: 1 addition & 0 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ javadoc)
integration)
mvn -B ${INTEGRATION_TEST_ARGS} \
-ntp \
-Dprotobuf.version=4.29.4 \
-Penable-integration-tests \
-DtrimStackTrace=false \
-Dclirr.skip=true \
Expand Down