-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Change all the references of OwlBot.yaml to OwlBot-hermetic.yaml. #2642
Conversation
Quality Gate passed for 'gapic-generator-java-root'Issues Measures |
Quality Gate passed for 'java_showcase_integration_tests'Issues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you
@@ -74,12 +75,12 @@ if [[ "${is_monorepo}" == "true" ]]; then | |||
# - "/google-.*/src" | |||
|
|||
library_name=$(basename "${postprocessing_target}") | |||
cat "${postprocessing_target}/.OwlBot.yaml" \ | |||
cat "${postprocessing_target}/${owlbot_yaml_file_name}" \ | |||
| sed "s/- \"\/${library_name}/ - \"/" \ | |||
> "${postprocessing_target}/.OwlBot.hermetic.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a follow up, we may want to modify the regexes in every yaml of google-cloud-java:
/java-asset/google-.*/src
to
/google-.*/src
That way, we can get rid of this logic that creates a temporary owlbot yaml (which has a very similar name too)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed!
This is follow up of googleapis/google-cloud-java#10696. The hermetic build generation process would fail without this PR due to unable to find OwlBot.yaml files.
This PR changes all the references of
OwlBot.yaml
toOwlBot-hermetic.yaml
, removesOwlBot.yaml
from a few places that don't need to reference it in the first places.