Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c73c84f
refactor: move iam-policy code to java-iam-policy folder
chingor13 Apr 17, 2026
abc30b4
chore: generate libraries at Fri Apr 17 18:32:33 UTC 2026
cloud-java-bot Apr 17, 2026
bf65641
refactor: move java-common-protos to top level
chingor13 Apr 17, 2026
17c415a
Merge branch 'main' into flatten-generated-modules
chingor13 Apr 17, 2026
66f7f67
chore: generate libraries at Fri Apr 17 21:27:26 UTC 2026
cloud-java-bot Apr 17, 2026
2039ee5
Merge branch 'main' into flatten-generated-modules
chingor13 Apr 20, 2026
40e7c73
fix owlbot.py format
chingor13 Apr 20, 2026
ef39431
exempt java-common-protos from version management check
chingor13 Apr 20, 2026
cef13bd
fix owlbot.py format
chingor13 Apr 20, 2026
56550bb
exempt core generated libraries' owlbot.py files
chingor13 Apr 20, 2026
cfa10fe
fix format issue in dataplex
chingor13 Apr 20, 2026
a55ea38
Merge branch 'main' into flatten-generated-modules
chingor13 Apr 20, 2026
5ee7a84
generation config should declare monorepo
chingor13 Apr 20, 2026
16fc5df
chore: generate libraries at Mon Apr 20 19:05:30 UTC 2026
cloud-java-bot Apr 20, 2026
b6d096b
try fix poms script
chingor13 Apr 20, 2026
86237d1
refactor: move java-showcase to root
chingor13 Apr 20, 2026
823ba1c
split showcase units into own file
chingor13 Apr 20, 2026
0095758
fix showcase paths
chingor13 Apr 20, 2026
a05f1c0
refactor: move java-iam to root
chingor13 Apr 20, 2026
6b9730d
fix helper script test
chingor13 Apr 20, 2026
15b09e5
fix test paths
chingor13 Apr 20, 2026
697c3d9
Merge branch 'main' into flatten-generated-modules
chingor13 Apr 20, 2026
df975c0
java-iam in main reactor
chingor13 Apr 20, 2026
ab76dae
remove java-iam module from sdk-platform-java parent
chingor13 Apr 20, 2026
efda011
fix common module paths
chingor13 Apr 20, 2026
5afedc9
restore iam generation config
chingor13 Apr 20, 2026
9da1b03
fix dependency compatibility test
chingor13 Apr 20, 2026
4fce9a9
Merge branch 'main' into flatten-generated-modules
chingor13 Apr 21, 2026
b605586
add showcase to root pom
chingor13 Apr 21, 2026
85205d4
fix showcase test paths
chingor13 Apr 21, 2026
f5a55f9
Merge branch 'main' into flatten-generated-modules
meltsufin Apr 21, 2026
bea5b1b
regenerate showcase
chingor13 Apr 21, 2026
c1d13cc
fix repo-metadata for showcase and iam
chingor13 Apr 21, 2026
15f6c18
Merge branch 'main' into flatten-generated-modules
chingor13 Apr 21, 2026
9949477
Merge branch 'main' into flatten-generated-modules
chingor13 Apr 21, 2026
8e330df
build: remove java-showcase from sdk-platform parent pom
chingor13 Apr 22, 2026
9764d0c
fix tracing test
chingor13 Apr 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
196 changes: 0 additions & 196 deletions .github/workflows/sdk-platform-java-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,202 +284,6 @@ jobs:
echo "All class files are compatible with Java 8."
working-directory: sdk-platform-java

build-java8-showcase:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
name: "build(8) for showcase"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
cache: maven
- name: Install all modules using Java 11
shell: bash
run: .kokoro/build.sh
env:
BUILD_SUBDIR: sdk-platform-java
JOB_TYPE: install
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
- run: java -version
- name: Parse showcase version
working-directory: sdk-platform-java/java-showcase/gapic-showcase
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
- name: Install showcase server
run: |
sudo mkdir -p /usr/src/showcase
sudo chown -R ${USER} /usr/src/
curl --location https://github.com/googleapis/gapic-showcase/releases/download/v${{env.SHOWCASE_VERSION}}/gapic-showcase-${{env.SHOWCASE_VERSION}}-linux-amd64.tar.gz --output /usr/src/showcase/showcase-${{env.SHOWCASE_VERSION}}-linux-amd64.tar.gz
cd /usr/src/showcase/
tar -xf showcase-*
./gapic-showcase run &
cd -
- name: Showcase integration tests
working-directory: sdk-platform-java/java-showcase
run: |
mvn verify \
-P enable-integration-tests \
--batch-mode \
--no-transfer-progress
# The `slf4j1_logback` profile brings logging dependency and compiles logging tests, require env var to be set
- name: Showcase integration tests - Logging SLF4J 1.x
working-directory: sdk-platform-java/java-showcase
run: |
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,slf4j1_logback' \
--batch-mode \
--no-transfer-progress
# Set the Env Var for this step only
env:
GOOGLE_SDK_JAVA_LOGGING: true
# The `disabledLogging` profile tests logging disabled when logging dependency present,
# do not set env var for this step
- name: Showcase integration tests - Logging disabed
working-directory: sdk-platform-java/java-showcase
run: |
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,disabledLogging' \
--batch-mode \
--no-transfer-progress
- name: Showcase integration tests - Protobuf gen code 3.25.8
working-directory: sdk-platform-java/java-showcase-3.25.8
run: |
mvn verify \
-P enable-integration-tests \
--batch-mode \
--no-transfer-progress
- name: Showcase integration tests - Protobuf gen code 3.21.0
working-directory: sdk-platform-java/java-showcase-3.21.0
run: |
mvn verify \
-P enable-integration-tests \
--batch-mode \
--no-transfer-progress
showcase:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
runs-on: ubuntu-22.04
strategy:
matrix:
java: [ 11, 17, 21, 25 ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
- run: mvn -version
- name: Install Maven modules
shell: bash
run: .kokoro/build.sh
env:
BUILD_SUBDIR: sdk-platform-java
JOB_TYPE: test
- name: Showcase golden tests
working-directory: sdk-platform-java/java-showcase
run: |
mvn test \
-P enable-golden-tests \
--batch-mode \
--no-transfer-progress
- name: Parse showcase version
working-directory: sdk-platform-java/java-showcase/gapic-showcase
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
- name: Install showcase server
run: |
sudo mkdir -p /usr/src/showcase
sudo chown -R ${USER} /usr/src/
curl --location https://github.com/googleapis/gapic-showcase/releases/download/v${{env.SHOWCASE_VERSION}}/gapic-showcase-${{env.SHOWCASE_VERSION}}-linux-amd64.tar.gz --output /usr/src/showcase/showcase-${{env.SHOWCASE_VERSION}}-linux-amd64.tar.gz
cd /usr/src/showcase/
tar -xf showcase-*
./gapic-showcase run &
cd -
- name: Showcase integration tests
working-directory: sdk-platform-java/java-showcase
run: |
mvn verify \
-P enable-integration-tests \
--batch-mode \
--no-transfer-progress
# The `slf4j2_logback` profile brings logging dependency and compiles logging tests, require env var to be set
- name: Showcase integration tests - Logging SLF4J 2.x
working-directory: sdk-platform-java/java-showcase
run: |
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,slf4j2_logback' \
--batch-mode \
--no-transfer-progress
# Set the Env Var for this step only
env:
GOOGLE_SDK_JAVA_LOGGING: true
# The `slf4j1_logback` profile brings logging dependency and compiles logging tests, require env var to be set
- name: Showcase integration tests - Logging SLF4J 1.x
working-directory: sdk-platform-java/java-showcase
run: |
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,slf4j1_logback' \
--batch-mode \
--no-transfer-progress
# Set the Env Var for this step only
env:
GOOGLE_SDK_JAVA_LOGGING: true
# The `disabledLogging` profile tests logging disabled when logging dependency present,
# do not set env var for this step
- name: Showcase integration tests - Logging disabed
working-directory: sdk-platform-java/java-showcase
run: |
mvn clean verify -P '!showcase,enable-integration-tests,loggingTestBase,disabledLogging' \
--batch-mode \
--no-transfer-progress
- name: Showcase integration tests - Protobuf 3 compatibility with third party library Tensorflow
working-directory: sdk-platform-java/java-showcase
run: |
mvn clean verify -P 'enable-integration-tests,protobuf3,showcase' \
--batch-mode \
--no-transfer-progress

showcase-clirr:
needs: filter
if: ${{ (needs.filter.outputs.library == 'true') && github.base_ref != '' }} # Only execute on pull_request trigger event
runs-on: ubuntu-22.04
steps:
- name: Checkout @ target branch
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: maven
- name: Install Maven modules
shell: bash
run: .kokoro/build.sh
env:
BUILD_SUBDIR: sdk-platform-java
JOB_TYPE: install
- name: Install showcase to local maven repository
run: |
mvn install -B -ntp -T 1C -DskipTests
SHOWCASE_CLIENT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "SHOWCASE_CLIENT_VERSION=$SHOWCASE_CLIENT_VERSION" >> "$GITHUB_ENV"
working-directory: sdk-platform-java/java-showcase
- name: Checkout sdk-platform-java @ PR merge commit
uses: actions/checkout@v3
- name: Install sdk-platform-java @ PR merge commit
shell: bash
run: .kokoro/build.sh
env:
JOB_TYPE: install
BUILD_SUBDIR: sdk-platform-java
# Showcase golden test ensures that src changes are already reflected in the PR.
- name: Clirr check
working-directory: sdk-platform-java/java-showcase
run: |
mvn versions:set -B -ntp -DnewVersion=local
mvn clirr:check -B -ntp -DcomparisonVersion=$SHOWCASE_CLIENT_VERSION

gapic-generator-java-bom:
needs: filter
if: ${{ needs.filter.outputs.library == 'true' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

# Set up local showcase server to run the showcase ITs
- name: Parse showcase version
working-directory: sdk-platform-java/java-showcase/gapic-showcase
working-directory: java-showcase/gapic-showcase
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
- name: Install showcase server
run: |
Expand All @@ -89,8 +89,8 @@ jobs:
# Need to cd out of the directory to get the scripts as this step is run inside the java-showcase directory
run: |
if [[ -n "${{ env.DEPENDENCIES_LIST }}" ]]; then
../.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
../sdk-platform-java/.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
else
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
../sdk-platform-java/.github/scripts/test_dependency_compatibility.sh -f ../sdk-platform-java/dependencies.txt
fi
working-directory: sdk-platform-java/java-showcase
working-directory: java-showcase
4 changes: 2 additions & 2 deletions .github/workflows/sdk-platform-java-sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
- name: Install java-showcase
shell: bash
run: mvn install -T 1C -DskipTests -ntp -B
working-directory: sdk-platform-java/java-showcase
working-directory: java-showcase
- name: Parse showcase version
working-directory: sdk-platform-java/java-showcase/gapic-showcase
working-directory: java-showcase/gapic-showcase
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
- name: Install showcase server
run: |
Expand Down
Loading
Loading