This repository was archived by the owner on Sep 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +52
-6
lines changed Expand file tree Collapse file tree 3 files changed +52
-6
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches :
4
+ - main
5
+ pull_request :
6
+
7
+ # Keeping this file separate as the dependencies check would use more
8
+ # repositories than needed this downstream check for GraalVM native image
9
+ # compilation.
10
+ name : downstream
11
+ jobs :
12
+ # GraalVM job ensures the compatibility of GraaVM version
13
+ graalvm :
14
+ runs-on : ubuntu-latest
15
+ strategy :
16
+ fail-fast : false
17
+ matrix :
18
+ graalvm : [22.1.0, 22.0.0.2, 21.3.2]
19
+ java : [11, 17]
20
+ repo :
21
+ # GAPIC library that doesn't use a real GCP project in integration tests
22
+ - orgpolicy
23
+ steps :
24
+ - uses : actions/checkout@v2
25
+ - uses : stCarolas/setup-maven@v4
26
+ with :
27
+ maven-version : 3.8.1
28
+ - uses : ayltai/setup-graalvm@v1
29
+ with :
30
+ java-version : ${{matrix.java}}
31
+ # When a new version of native-maven-plugin fails to run in a downstream
32
+ # library, it's likely to be an incompatibility with the GraalVM version.
33
+ # In that case, you need to upgrade the Docker container used in the
34
+ # tests in the downstream repositories (not just this value below).
35
+ # Example: https://github.com/googleapis/testing-infra-docker/pull/195
36
+ graalvm-version : ${{matrix.graalvm}}
37
+ native-image : true
38
+ - run : java -version
39
+ - run : sudo apt-get update -y
40
+ - run : sudo apt-get install libxml2-utils
41
+ - run : .kokoro/downstream-client-library-check.sh ${{matrix.repo}} graalvm
Original file line number Diff line number Diff line change 11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
- java : [8 ]
14
+ java : [11 ]
15
15
repo :
16
16
# This list needs to be updated manually until an automated solution is in place.
17
17
- accessapproval
@@ -141,4 +141,4 @@ jobs:
141
141
- run : java -version
142
142
- run : sudo apt-get update -y
143
143
- run : sudo apt-get install libxml2-utils
144
- - run : .kokoro/downstream-client-library-check.sh ${{matrix.repo}}
144
+ - run : .kokoro/downstream-client-library-check.sh ${{matrix.repo}} test
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ set -eo pipefail
18
18
set -x
19
19
20
20
CLIENT_LIBRARY=$1
21
+
22
+ # Example JOB_TYPE: "test" or "graalvm"
23
+ export JOB_TYPE=$2
21
24
# # Get the directory of the build script
22
25
scriptDir=" $( realpath " $( dirname " ${BASH_SOURCE[0]} " ) " ) "
23
26
# # cd to the parent directory, i.e. the root of the git repo
@@ -86,7 +89,9 @@ if [[ $CLIENT_LIBRARY == "bigtable" ]]; then
86
89
popd
87
90
fi
88
91
89
- mvn verify install -B -V -ntp -fae \
90
- -Dmaven.javadoc.skip=true \
91
- -Dgcloud.download.skip=true \
92
- -Denforcer.skip=true
92
+ echo " Modification on the shared dependencies BOM:"
93
+ git diff
94
+ echo
95
+
96
+ # This reads the JOB_TYPE environmental variable ("test" or "graalvm")
97
+ .kokoro/build.sh
You can’t perform that action at this time.
0 commit comments