-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: add test for new client generation #8670
Conversation
a8da0ea
to
80d3706
Compare
f74563f
to
d1d9dd2
Compare
How about yoshi-code-bot account? https://github.com/googleapis/google-cloud-java/blob/main/.github/workflows/readme.yaml#L35 (I don't know its entitlement) |
Doesn't seem to be working either. |
123c243
to
40cd445
Compare
.github/workflows/newclient.yaml
Outdated
- name: Push to branch | ||
run: | | ||
[ -z "`git config user.email`" ] && git config --global user.email "${USERNAME:-script}@google.com" | ||
[ -z "`git config user.name`" ] && git config --global user.name "${USERNAME:-script}" | ||
git checkout -b newclient_output_${{ github.event_name }} | ||
git add --all | ||
git commit -m 'feat: re-generated apikeys' | ||
git remote add monorepo https://${{ github.actor }}:${{ github.token }}@github.com/${{ github.repository }}.git | ||
git fetch -q --unshallow monorepo | ||
git push -f monorepo newclient_output_${{ github.event_name }} |
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.
How does "Push to branch" help verify the behavior of new-client.py?
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.
It's just there for debugging, in case the job fails.
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.
That's helpful. Nice.
How might we verify new-client.py’s logic of adding a corresponding new entry to gapic BOM, release please configuration files, and the root pom.xml? |
Fixes: #8659