Skip to content

Commit 089c291

Browse files
chore: Remove cvss.proto in containeranalysis from being excluded. (#3213)
The protoc generated files for cvss.proto are outdated for containeranalysis, we are going to update them in googleapis/google-cloud-java#11155. This cvss.proto was exclude before because the whole [v1beta1 version](https://github.com/googleapis/google-cloud-java/blob/main/java-containeranalysis/.OwlBot-hermetic.yaml#L30-L36) was not configured to be updated. Co-authored-by: Diego Marquez <[email protected]>
1 parent 8bdaa2e commit 089c291

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

library_generation/generate_library.sh

-8
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,6 @@ case "${proto_path}" in
237237
proto_files="${proto_files//${removed_proto}/}"
238238
done
239239
;;
240-
"google/devtools/containeranalysis/v1beta1"*)
241-
# this proto is excluded from //google/devtools/containeranalysis/v1beta1:google-cloud-devtools-containeranalysis-v1beta1-java
242-
removed_proto="google/devtools/containeranalysis/v1beta1/cvss/cvss.proto"
243-
proto_files="${proto_files//${removed_proto}/}"
244-
;;
245240
esac
246241
"$protoc_path"/protoc "--java_out=${temp_destination_path}/java_proto.jar" ${proto_files}
247242
if [[ "${proto_only}" == "false" ]]; then
@@ -261,9 +256,6 @@ case "${proto_path}" in
261256
proto_files="${proto_files} ${added_proto}"
262257
done
263258
;;
264-
"google/devtools/containeranalysis/v1beta1"*)
265-
proto_files="${proto_files} google/devtools/containeranalysis/v1beta1/cvss/cvss.proto"
266-
;;
267259
esac
268260
# copy proto files to proto-*/src/main/proto
269261
for proto_src in ${proto_files}; do

0 commit comments

Comments
 (0)