Skip to content

Commit 8c28c8d

Browse files
committed
manual changes
1 parent b0a8476 commit 8c28c8d

66 files changed

Lines changed: 232 additions & 376 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

.github/workflows/hermetic_library_generation.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/scripts@v2.67.0
40+
- uses: ./sdk-platform-java/.github/scripts
4141
if: env.SHOULD_RUN == 'true'
4242
with:
4343
base_ref: ${{ github.base_ref }}
4444
head_ref: ${{ github.head_ref }}
4545
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
46+
image_tag: 2.67.1-SNAPSHOT # {x-version-update:gapic-generator-java:current}

.github/workflows/sdk-platform-java-ci.yaml

Lines changed: 63 additions & 69 deletions
Large diffs are not rendered by default.

.github/workflows/sdk-platform-java-dependency_compatibility_test.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,23 @@ jobs:
5555
shell: bash
5656
run: |
5757
if [[ -n "${{ env.DEPENDENCIES_LIST }}" ]]; then
58-
./.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
58+
.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
5959
else
60-
./.github/scripts/test_dependency_compatibility.sh
60+
.github/scripts/test_dependency_compatibility.sh
6161
fi
62+
working-directory: sdk-platform-java
6263

6364
# Install the modules for showcase (Shared-Deps is required to run showcase)
6465
- name: Install sdk-platform-java's modules
6566
# gapic-generator-java requires Java 8 and is irrelevant for this CI
6667
run: mvn -q -B -ntp install --projects '!gapic-generator-java' -Dcheckstyle.skip -Dfmt.skip -DskipTests -Dclirr.skip -T 1C
68+
working-directory: sdk-platform-java
6769

6870
# Set up local showcase server to run the showcase ITs
6971
- name: Parse showcase version
70-
working-directory: java-showcase/gapic-showcase
72+
working-directory: sdk-plaform-java/java-showcase/gapic-showcase
7173
run: echo "SHOWCASE_VERSION=$(mvn help:evaluate -Dexpression=gapic-showcase.version -q -DforceStdout)" >> "$GITHUB_ENV"
74+
working-directory: sdk-platform-java
7275
- name: Install showcase server
7376
run: |
7477
sudo mkdir -p /usr/src/showcase
@@ -78,15 +81,16 @@ jobs:
7881
tar -xf showcase-*
7982
./gapic-showcase run &
8083
cd -
84+
working-directory: sdk-platform-java
8185

8286
# Run Showcase's Integration Tests
8387
- name: Perform Dependency Compatibility Integration Testing (Showcase Tests)
8488
shell: bash
8589
# Need to cd out of the directory to get the scripts as this step is run inside the java-showcase directory
8690
run: |
8791
if [[ -n "${{ env.DEPENDENCIES_LIST }}" ]]; then
88-
../.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
92+
../sdk-platform-java/.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
8993
else
90-
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
94+
../sdk-platform-java/.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
9195
fi
92-
working-directory: java-showcase
96+
working-directory: sdk-platform-java/java-showcase

.github/workflows/sdk-platform-java-downstream.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
repo:
34-
- google-cloud-java
3534
- java-bigtable
3635
- java-bigquery
3736
- java-firestore
@@ -53,9 +52,9 @@ jobs:
5352
sudo apt-get update
5453
sudo apt-get -y install libxml2-utils
5554
- name: Test helper scripts
56-
run: ./.kokoro/presubmit/common_test.sh
55+
run: ./sdk-platform-java/.kokoro/presubmit/common_test.sh
5756
- name: Perform downstream compatibility testing
58-
run: REPOS_UNDER_TEST="${{ matrix.repo }}" ./.kokoro/presubmit/downstream-compatibility.sh
57+
run: REPOS_UNDER_TEST="${{ matrix.repo }}" ./sdk-platform-java/.kokoro/presubmit/downstream-compatibility.sh
5958
downstream-compatibility-spring-generator:
6059
needs: filter
6160
if: ${{ needs.filter.outputs.library == 'true' }}
@@ -74,4 +73,4 @@ jobs:
7473
sudo apt-get update
7574
sudo apt-get -y install libxml2-utils
7675
- name: Perform downstream compatibility testing
77-
run: ./.kokoro/presubmit/downstream-compatibility-spring.sh
76+
run: ./sdk-platform-java/.kokoro/presubmit/downstream-compatibility-spring.sh

.github/workflows/sdk-platform-java-downstream_protobuf_compatibility_check_nightly.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@ jobs:
4444
- google-cloud-java
4545
- java-bigtable
4646
- java-bigquery
47-
- java-bigquerystorage
48-
- java-datastore
4947
- java-firestore
50-
- java-logging
51-
- java-logging-logback
5248
- java-pubsub
5349
- java-pubsublite
5450
- java-spanner-jdbc

.github/workflows/sdk-platform-java-downstream_unmanaged_dependency_check.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
- main
55
pull_request:
66
paths:
7-
- .github/workflows/downstream_unmanaged_dependency_check.yaml
8-
- java-shared-dependencies/**
7+
- .github/workflows/sdk-platform-java-downstream_unmanaged_dependency_check.yaml
8+
- sdk-platform-java/java-shared-dependencies/**
99

1010
name: sdk-platform-java Downstream Unmanaged Dependency Check
1111
env:
@@ -38,7 +38,7 @@ jobs:
3838
- name: Checkout sdk-platform-java
3939
uses: actions/checkout@v3
4040
with:
41-
path: sdk-platform-java
41+
path: google-cloud-java
4242
- name: Checkout the downstream repo
4343
uses: actions/checkout@v4
4444
with:
@@ -57,17 +57,19 @@ jobs:
5757
cache: maven
5858
- name: Install the modules of sdk-platform-java
5959
shell: bash
60-
working-directory: sdk-platform-java
60+
working-directory: google-cloud-java/sdk-platform-java
6161
run: |
6262
set -euo pipefail
6363
# gapic-generator-java is irrelevant
64-
mvn -q -B -ntp install --projects '!gapic-generator-java' \
64+
mvn -q -B -ntp install \
6565
-Dcheckstyle.skip -Dfmt.skip -DskipTests -T 1C
6666
- name: Build unmanaged dependency check
6767
shell: bash
68-
working-directory: sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
68+
working-directory: google-cloud-java/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
6969
run: |
7070
set -euo pipefail
71+
pwd
72+
pwd
7173
echo "Install Unmanaged Dependency Check in $(pwd)"
7274
mvn clean install -V --batch-mode --no-transfer-progress -DskipTests
7375
- name: Install the modules of the downstream repository
@@ -85,7 +87,7 @@ jobs:
8587
# BOM to list the artifacts generated by that repository.
8688
bom_dir=$(find ${{ matrix.repo }} -type d -name 'google-*-bom' ! -name '*-deps-bom')
8789
bom_absolute_path=$(realpath "${bom_dir}/pom.xml")
88-
cd sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
90+
cd google-cloud-java/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check
8991
echo "Running Unmanaged Dependency Check against ${bom_absolute_path}"
9092
unmanaged_dependencies=$(mvn exec:java -Dexec.args="../pom.xml ${bom_absolute_path}" -q)
9193
if [[ "${unmanaged_dependencies}" != "[]" ]]; then

.github/workflows/sdk-platform-java-java_compatibility_check.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242
java-version: 17
4343
distribution: temurin
4444
cache: maven
45-
- name: Install Maven modules to local Maven repository
45+
- name: Install sdk-platform-modules to local Maven repository
4646
run: |
4747
mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip -Denforcer.skip
48+
working-directory: sdk-platform-java
4849
- name: Check Java 8 compatibility for class files
4950
shell: bash
5051
run: |
@@ -60,3 +61,4 @@ jobs:
6061
fi
6162
done
6263
echo "All class files are compatible with Java 8."
64+
working-directory: sdk-platform-java

.github/workflows/sdk-platform-java-shared_dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
4242
- name: Check the BOM content satisfies the upper-bound-check test case
4343
run: mvn -B -V -ntp verify -Dcheckstyle.skip
44-
working-directory: java-shared-dependencies/upper-bound-check
44+
working-directory: sdk-plaform-java/java-shared-dependencies/upper-bound-check

0 commit comments

Comments
 (0)