Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ fi
case $JOB_TYPE in
test)
mvn test -B
bash $KOKORO_GFILE_DIR/codecov.sh
;;
javadoc)
mvn javadoc:javadoc javadoc:test-javadoc
Expand Down
14 changes: 10 additions & 4 deletions .kokoro/continuous/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ before_action {
keystore_resource {
keystore_config_id: 73713
keyname: "java_it_service_account"
# TODO(chingor): remove this after secrets have globally propagated
backend_type: FASTCONFIGPUSH
}
}
}
Expand All @@ -39,8 +37,16 @@ before_action {
keystore_resource {
keystore_config_id: 73713
keyname: "java_firestore_it_service_account"
# TODO(chingor): remove this after secrets have globally propagated
backend_type: FASTCONFIGPUSH
}
}
}

# Request the codecov master token
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "dpebot_codecov_token"
}
}
}
15 changes: 11 additions & 4 deletions .kokoro/presubmit/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ before_action {
keystore_resource {
keystore_config_id: 73713
keyname: "java_it_service_account"
# TODO(chingor): remove this after secrets have globally propagated
backend_type: FASTCONFIGPUSH
}
}
}
Expand All @@ -39,8 +37,17 @@ before_action {
keystore_resource {
keystore_config_id: 73713
keyname: "java_firestore_it_service_account"
# TODO(chingor): remove this after secrets have globally propagated
backend_type: FASTCONFIGPUSH
}
}
}

# Request the codecov master token
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "dpebot_codecov_token"
}
}
}

4 changes: 4 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
codecov:
ci:
- source.cloud.google.com
19 changes: 19 additions & 0 deletions google-api-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,25 @@
</reportPlugins>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
Expand Down
19 changes: 19 additions & 0 deletions google-cloud-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1127,6 +1127,25 @@
</reportPlugins>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
19 changes: 19 additions & 0 deletions google-cloud-clients/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,25 @@
</reportPlugins>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down