renovate.sh ignores real failures in generate-libraries.sh
#14099
Labels
cpp: operator
Good things for the operator to fix
type: cleanup
An internal cleanup or hygiene concern.
We use
renovate.sh
to update the googleapis SHA. It automatically updates the generated code too:google-cloud-cpp/external/googleapis/renovate.sh
Lines 72 to 75 in 682e065
The
|| true
is needed becausegenerate-libraries.sh
is intended as a CI script. It is supposed to fail if the code does not match what would happen if we generated the code, and in this case we always generate new code.It seems we need a way to tell
generate-libraries.sh
to expect code diffs. Or maybe we should refactor the code such that bothrenovate.sh
andgenerate-libraries.sh
call some shell functions.The text was updated successfully, but these errors were encountered: