File tree Expand file tree Collapse file tree 5 files changed +94
-12
lines changed Expand file tree Collapse file tree 5 files changed +94
-12
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ integration)
86
86
verify
87
87
RETURN_CODE=$?
88
88
;;
89
- integration-staging )
89
+ integration-cloud-devel )
90
90
mvn -B ${INTEGRATION_TEST_ARGS} \
91
91
-ntp \
92
92
-Penable-integration-tests \
@@ -102,6 +102,22 @@ integration-staging)
102
102
verify
103
103
RETURN_CODE=$?
104
104
;;
105
+ integration-cloud-staging)
106
+ mvn -B ${INTEGRATION_TEST_ARGS} \
107
+ -ntp \
108
+ -Penable-integration-tests \
109
+ -Djava.net.preferIPv4Stack=true \
110
+ -DtrimStackTrace=false \
111
+ -Dclirr.skip=true \
112
+ -Denforcer.skip=true \
113
+ -Dmaven.main.skip=true \
114
+ -Dspanner.gce.config.server_url=https://preprod-spanner.sandbox.googleapis.com \
115
+ -Dspanner.testenv.instance=projects/span-cloud-testing/instances/spanner-testing \
116
+ -Dspanner.gce.config.project_id=span-cloud-testing \
117
+ -fae \
118
+ verify
119
+ RETURN_CODE=$?
120
+ ;;
105
121
graalvm)
106
122
# Run Unit and Integration Tests with Native Image
107
123
mvn test -Pnative -Penable-integration-tests
Original file line number Diff line number Diff line change @@ -8,17 +8,7 @@ env_vars: {
8
8
9
9
env_vars: {
10
10
key: " JOB_TYPE"
11
- value: " integration-staging"
12
- }
13
- # TODO: remove this after we've migrated all tests and scripts
14
- env_vars: {
15
- key: " GCLOUD_PROJECT"
16
- value: " java-docs-samples-testing"
17
- }
18
-
19
- env_vars: {
20
- key: " GOOGLE_CLOUD_PROJECT"
21
- value: " java-docs-samples-testing"
11
+ value: " integration-cloud-devel"
22
12
}
23
13
24
14
env_vars: {
@@ -30,3 +20,8 @@ env_vars: {
30
20
key: " SECRET_MANAGER_KEYS"
31
21
value: " java-client-testing"
32
22
}
23
+
24
+ env_vars: {
25
+ key: " REPORT_COVERAGE"
26
+ value: " true"
27
+ }
Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Configure the docker image for kokoro-trampoline.
4
+ env_vars: {
5
+ key: " TRAMPOLINE_IMAGE"
6
+ value: " gcr.io/cloud-devrel-kokoro-resources/java8"
7
+ }
8
+
9
+ env_vars: {
10
+ key: " JOB_TYPE"
11
+ value: " integration-cloud-staging"
12
+ }
13
+
14
+ env_vars: {
15
+ key: " GOOGLE_APPLICATION_CREDENTIALS"
16
+ value: " secret_manager/java-client-testing"
17
+ }
18
+
19
+ env_vars: {
20
+ key: " SECRET_MANAGER_KEYS"
21
+ value: " java-client-testing"
22
+ }
23
+
24
+ env_vars: {
25
+ key: " REPORT_COVERAGE"
26
+ value: " true"
27
+ }
Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Configure the docker image for kokoro-trampoline.
4
+ env_vars: {
5
+ key: " TRAMPOLINE_IMAGE"
6
+ value: " gcr.io/cloud-devrel-kokoro-resources/java8"
7
+ }
8
+
9
+ env_vars: {
10
+ key: " JOB_TYPE"
11
+ value: " integration-cloud-devel"
12
+ }
13
+
14
+ env_vars: {
15
+ key: " GOOGLE_APPLICATION_CREDENTIALS"
16
+ value: " secret_manager/java-client-testing"
17
+ }
18
+
19
+ env_vars: {
20
+ key: " SECRET_MANAGER_KEYS"
21
+ value: " java-client-testing"
22
+ }
Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Configure the docker image for kokoro-trampoline.
4
+ env_vars: {
5
+ key: " TRAMPOLINE_IMAGE"
6
+ value: " gcr.io/cloud-devrel-kokoro-resources/java8"
7
+ }
8
+
9
+ env_vars: {
10
+ key: " JOB_TYPE"
11
+ value: " integration-cloud-staging"
12
+ }
13
+
14
+ env_vars: {
15
+ key: " GOOGLE_APPLICATION_CREDENTIALS"
16
+ value: " secret_manager/java-client-testing"
17
+ }
18
+
19
+ env_vars: {
20
+ key: " SECRET_MANAGER_KEYS"
21
+ value: " java-client-testing"
22
+ }
You can’t perform that action at this time.
0 commit comments