diff --git a/.github/workflows/downstream-native-image.yaml b/.github/workflows/downstream-native-image.yaml new file mode 100644 index 00000000..1c06db69 --- /dev/null +++ b/.github/workflows/downstream-native-image.yaml @@ -0,0 +1,41 @@ +on: + push: + branches: + - main + pull_request: + +# Keeping this file separate as the dependencies check would use more +# repositories than needed this downstream check for GraalVM native image +# compilation. +name: downstream-native-image +jobs: + # GraalVM job ensures the compatibility of GraaVM version + graalvm: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + graalvm: [22.1.0, 22.0.0.2, 21.3.2] + java: [11, 17] + repo: + # GAPIC library that doesn't use a real GCP project in integration tests + - orgpolicy + steps: + - uses: actions/checkout@v2 + - uses: stCarolas/setup-maven@v4 + with: + maven-version: 3.8.1 + - uses: ayltai/setup-graalvm@v1 + with: + java-version: ${{matrix.java}} + # When a new version of native-maven-plugin fails to run in a downstream + # library, it's likely to be an incompatibility with the GraalVM version. + # In that case, you need to upgrade the Docker container used in the + # tests in the downstream repositories (not just this value below). + # Example: https://github.com/googleapis/testing-infra-docker/pull/195 + graalvm-version: ${{matrix.graalvm}} + native-image: true + - run: java -version + - run: sudo apt-get update -y + - run: sudo apt-get install libxml2-utils + - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} graalvm \ No newline at end of file diff --git a/.github/workflows/downstream.yaml b/.github/workflows/downstream.yaml index 4b3d0022..000fa0d5 100644 --- a/.github/workflows/downstream.yaml +++ b/.github/workflows/downstream.yaml @@ -156,4 +156,4 @@ jobs: - run: java -version - run: sudo apt-get update -y - run: sudo apt-get install libxml2-utils - - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} + - run: .kokoro/downstream-client-library-check.sh ${{matrix.repo}} test diff --git a/.kokoro/downstream-client-library-check.sh b/.kokoro/downstream-client-library-check.sh index b17b020b..5dd5a94c 100755 --- a/.kokoro/downstream-client-library-check.sh +++ b/.kokoro/downstream-client-library-check.sh @@ -18,6 +18,9 @@ set -eo pipefail set -x CLIENT_LIBRARY=$1 + +# Example JOB_TYPE: "test" or "graalvm" +export JOB_TYPE=$2 ## Get the directory of the build script scriptDir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")" ## cd to the parent directory, i.e. the root of the git repo @@ -59,7 +62,9 @@ if [[ $CLIENT_LIBRARY == "bigtable" ]]; then popd fi -mvn verify install -B -V -ntp -fae \ --Dmaven.javadoc.skip=true \ --Dgcloud.download.skip=true \ --Denforcer.skip=true +# We don't want to fail the test due to enforcer rule, before running GraalVM +# tests. Checking GraalVM buidl result is more important. +export INTEGRATION_TEST_ARGS="-Denforcer.skip=true" + +# This reads the JOB_TYPE environmental variable ("test" or "graalvm") +.kokoro/build.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 56b778bc..b05baf82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,28 @@ # Changelog +## [3.0.2](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.1...v3.0.2) (2022-09-08) + + +### Dependencies + +* Update dependency com.fasterxml.jackson:jackson-bom to v2.13.4 ([#789](https://github.com/googleapis/java-shared-dependencies/issues/789)) ([6cf91a9](https://github.com/googleapis/java-shared-dependencies/commit/6cf91a96b9ea6af0fb845b50582dac7aa2892cab)) +* Update dependency com.google.auth:google-auth-library-bom to v1.10.0 ([#781](https://github.com/googleapis/java-shared-dependencies/issues/781)) ([8859e61](https://github.com/googleapis/java-shared-dependencies/commit/8859e61808bfc5cd9546e27e945fc855b36d2554)) +* Update dependency com.google.auth:google-auth-library-bom to v1.11.0 ([#790](https://github.com/googleapis/java-shared-dependencies/issues/790)) ([3431a47](https://github.com/googleapis/java-shared-dependencies/commit/3431a471cbf874a67a4f1a42e31f0ed891dedc92)) +* Update dependency com.google.auth:google-auth-library-bom to v1.9.0 ([#773](https://github.com/googleapis/java-shared-dependencies/issues/773)) ([27fc79f](https://github.com/googleapis/java-shared-dependencies/commit/27fc79f00ee70011df6a368bb8fcfad7f0ce41f0)) +* Update dependency com.google.errorprone:error_prone_annotations to v2.15.0 ([#776](https://github.com/googleapis/java-shared-dependencies/issues/776)) ([bf333b8](https://github.com/googleapis/java-shared-dependencies/commit/bf333b8c88072d21cb959db4d3328bbb55d9ef5c)) +* Update dependency com.google.protobuf:protobuf-bom to v3.21.5 ([#780](https://github.com/googleapis/java-shared-dependencies/issues/780)) ([da7f44d](https://github.com/googleapis/java-shared-dependencies/commit/da7f44d71d6d7f372b5313dab68ce220308614d4)) +* Update dependency io.grpc:grpc-bom to v1.48.1 ([#768](https://github.com/googleapis/java-shared-dependencies/issues/768)) ([5c7768d](https://github.com/googleapis/java-shared-dependencies/commit/5c7768d3c9665dd356de6c39c0a6a5fa6e992f2e)) +* Update dependency io.grpc:grpc-bom to v1.49.0 ([#786](https://github.com/googleapis/java-shared-dependencies/issues/786)) ([8734812](https://github.com/googleapis/java-shared-dependencies/commit/8734812f1b4e2faaa48caf41eff59a85892ae344)) +* Update dependency org.checkerframework:checker-qual to v3.24.0 ([#775](https://github.com/googleapis/java-shared-dependencies/issues/775)) ([df74b7b](https://github.com/googleapis/java-shared-dependencies/commit/df74b7b0dd5dd592523f302d9fb36adb5991cb0b)) +* Update dependency org.checkerframework:checker-qual to v3.25.0 ([#788](https://github.com/googleapis/java-shared-dependencies/issues/788)) ([207035b](https://github.com/googleapis/java-shared-dependencies/commit/207035bd04c9305899eea540acbefaf06a7b1ec9)) +* Update dependency org.threeten:threetenbp to v1.6.1 ([#782](https://github.com/googleapis/java-shared-dependencies/issues/782)) ([0f218ae](https://github.com/googleapis/java-shared-dependencies/commit/0f218aeb6aa33cf1da4a8b1d6c82bbf87946dab9)) +* Update gax.version to v2.19.0 ([#785](https://github.com/googleapis/java-shared-dependencies/issues/785)) ([4448331](https://github.com/googleapis/java-shared-dependencies/commit/4448331c4c6d88ea8076260776d1d47d24aa19fa)) +* Update google.core.version to v2.8.10 ([#787](https://github.com/googleapis/java-shared-dependencies/issues/787)) ([3c344d5](https://github.com/googleapis/java-shared-dependencies/commit/3c344d515e3b9215db5a1f8ef550d800d974e558)) +* Update google.core.version to v2.8.7 ([#774](https://github.com/googleapis/java-shared-dependencies/issues/774)) ([d0cd5e8](https://github.com/googleapis/java-shared-dependencies/commit/d0cd5e8f6ca88787fe0dbf7f30c849cb4c4fae5e)) +* Update google.core.version to v2.8.8 ([#777](https://github.com/googleapis/java-shared-dependencies/issues/777)) ([f00571c](https://github.com/googleapis/java-shared-dependencies/commit/f00571cd1e9f1c4e011fba4a1e1674c1d8d60200)) +* Update google.core.version to v2.8.9 ([#784](https://github.com/googleapis/java-shared-dependencies/issues/784)) ([aa8e505](https://github.com/googleapis/java-shared-dependencies/commit/aa8e505dbb1214b2239e55d5ac83b00c167d77e4)) + ## [3.0.1](https://github.com/googleapis/java-shared-dependencies/compare/v3.0.0...v3.0.1) (2022-08-02) diff --git a/dependency-convergence-check/pom.xml b/dependency-convergence-check/pom.xml index fd03c6eb..95b7a9e1 100644 --- a/dependency-convergence-check/pom.xml +++ b/dependency-convergence-check/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud shared-dependencies-dependency-convergence-test - 3.0.1 + 3.0.2 Dependency convergence test for certain artifacts in Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -46,7 +46,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1 + 3.0.2 pom import diff --git a/first-party-dependencies/pom.xml b/first-party-dependencies/pom.xml index 6edf62d0..baa6c438 100644 --- a/first-party-dependencies/pom.xml +++ b/first-party-dependencies/pom.xml @@ -6,7 +6,7 @@ com.google.cloud first-party-dependencies pom - 3.0.1 + 3.0.2 Google Cloud First-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -55,15 +55,15 @@ UTF-8 ${project.artifactId} - 1.48.0 - 2.18.7 + 1.49.0 + 2.19.0 1.2.1 31.1-jre - 3.21.4 + 3.21.5 2.2.1 2.9.2 - 2.8.6 - 1.8.1 + 2.8.10 + 1.11.0 1.42.2 1.34.1 2.0.0 diff --git a/pom.xml b/pom.xml index 39a6d64d..39599040 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-shared-dependencies pom - 3.0.1 + 3.0.2 first-party-dependencies third-party-dependencies @@ -65,14 +65,14 @@ com.google.cloud first-party-dependencies - 3.0.1 + 3.0.2 pom import com.google.cloud third-party-dependencies - 3.0.1 + 3.0.2 pom import diff --git a/third-party-dependencies/pom.xml b/third-party-dependencies/pom.xml index d5549366..8ce1ad85 100644 --- a/third-party-dependencies/pom.xml +++ b/third-party-dependencies/pom.xml @@ -6,7 +6,7 @@ com.google.cloud third-party-dependencies pom - 3.0.1 + 3.0.2 Google Cloud Third-party Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -58,18 +58,18 @@ ${project.artifactId} 2.9.1 - 1.6.0 + 1.6.1 1.3.2 - 1.21 + 1.22 0.31.1 3.0.2 - 2.14.0 - 2.13.3 + 2.15.0 + 2.13.4 1.15 4.4.15 4.5.13 - 3.23.0 + 3.25.0 0.25.0 diff --git a/upper-bound-check/pom.xml b/upper-bound-check/pom.xml index 47342665..38e2ed26 100644 --- a/upper-bound-check/pom.xml +++ b/upper-bound-check/pom.xml @@ -4,7 +4,7 @@ com.google.cloud shared-dependencies-upper-bound-test pom - 3.0.1 + 3.0.2 Upper bound test for Google Cloud Shared Dependencies https://github.com/googleapis/java-shared-dependencies @@ -53,7 +53,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.0.1 + 3.0.2 pom import diff --git a/versions.txt b/versions.txt index 596e2c8d..c19a05eb 100644 --- a/versions.txt +++ b/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-shared-dependencies:3.0.1:3.0.1 +google-cloud-shared-dependencies:3.0.2:3.0.2