Skip to content

Commit

Permalink
chore: Remove cvss.proto in containeranalysis from being excluded. (#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
blakeli0 and diegomarquezp committed Sep 19, 2024
1 parent 8bdaa2e commit 089c291
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions library_generation/generate_library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,6 @@ case "${proto_path}" in
proto_files="${proto_files//${removed_proto}/}"
done
;;
"google/devtools/containeranalysis/v1beta1"*)
# this proto is excluded from //google/devtools/containeranalysis/v1beta1:google-cloud-devtools-containeranalysis-v1beta1-java
removed_proto="google/devtools/containeranalysis/v1beta1/cvss/cvss.proto"
proto_files="${proto_files//${removed_proto}/}"
;;
esac
"$protoc_path"/protoc "--java_out=${temp_destination_path}/java_proto.jar" ${proto_files}
if [[ "${proto_only}" == "false" ]]; then
Expand All @@ -261,9 +256,6 @@ case "${proto_path}" in
proto_files="${proto_files} ${added_proto}"
done
;;
"google/devtools/containeranalysis/v1beta1"*)
proto_files="${proto_files} google/devtools/containeranalysis/v1beta1/cvss/cvss.proto"
;;
esac
# copy proto files to proto-*/src/main/proto
for proto_src in ${proto_files}; do
Expand Down

0 comments on commit 089c291

Please sign in to comment.