File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
src/test/java/com/google/cloud/spanner/jdbc Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -137,3 +137,5 @@ jobs:
137137 - run : .kokoro/build.sh
138138 env :
139139 JOB_TYPE : lint
140+ HEAD_SHA : ${{ github.event.pull_request.head.sha }}
141+ BASE_SHA : ${{ github.event.pull_request.base.sha }}
Original file line number Diff line number Diff line change 207207 <dependency >
208208 <groupId >com.google.cloud</groupId >
209209 <artifactId >google-cloud-trace</artifactId >
210- <version >2.86 .0-SNAPSHOT</version ><!-- {x-version-update:google-cloud-trace:current} -->
210+ <version >2.89 .0-SNAPSHOT</version ><!-- {x-version-update:google-cloud-trace:current} -->
211211 <scope >test</scope >
212212 </dependency >
213213 <dependency >
214214 <groupId >com.google.api.grpc</groupId >
215215 <artifactId >proto-google-cloud-trace-v1</artifactId >
216- <version >2.86 .0-SNAPSHOT</version ><!-- {x-version-update:proto-google-cloud-trace-v1:current} -->
216+ <version >2.89 .0-SNAPSHOT</version ><!-- {x-version-update:proto-google-cloud-trace-v1:current} -->
217217 <scope >test</scope >
218218 </dependency >
219219
345345 </goals >
346346 <configuration >
347347 <mainClass >com.google.cloud.spanner.jdbc.ConnectionPropertiesFileGenerator</mainClass >
348+ <arguments >
349+ <argument >${project.basedir} /documentation/connection_properties.md</argument >
350+ </arguments >
348351 <classpathScope >test</classpathScope >
349352 <skip >false</skip >
350- </configuration >
351- </execution >
353+ </configuration > </execution >
352354 </executions >
353355 </plugin >
354356 </plugins >
Original file line number Diff line number Diff line change 2828public class ConnectionPropertiesFileGenerator {
2929
3030 public static void main (String [] args ) throws IOException {
31+ String filename =
32+ args .length > 0 ? args [0 ] : "documentation/connection_properties.md" ;
3133 StringBuilder builder =
3234 new StringBuilder ("# Supported Connection Properties\n \n " )
3335 .append (
@@ -57,8 +59,7 @@ public static void main(String[] args) throws IOException {
5759 .append (connectionProperty .getContext ())
5860 .append (" |\n " );
5961 }
60- try (BufferedWriter writer =
61- new BufferedWriter (new FileWriter ("documentation/connection_properties.md" ))) {
62+ try (BufferedWriter writer = new BufferedWriter (new FileWriter (filename ))) {
6263 writer .write (builder .toString ());
6364 }
6465 }
You can’t perform that action at this time.
0 commit comments