Skip to content

Commit 9473f2d

Browse files
EtiennePerotgvisor-bot
authored andcommitted
PGO update script: Connect to GitHub over HTTPS rather than SSH.
The `gh auth setup-git` command appears to configure Git as a credential helper for `https`, not for SSH-based access. SSH access fails with the host authenticity check. Try to connect over HTTPS instead, to see if that works properly. Otherwise we will have to provision `~/.ssh/known_hosts` and give the agent a private SSH key for authentication. PiperOrigin-RevId: 772156228
1 parent 03a93e9 commit 9473f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildkite/scripts/pgo/commit-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export GIT_AUTHOR_EMAIL=gvisor-bot@google.com
3636
export GIT_COMMITTER_NAME=gvisor-bot
3737
export GIT_COMMITTER_EMAIL=gvisor-bot@google.com
3838
git commit -m "Update runsc profiles for PGO (profile-guided optimizations), $today."
39-
git push --set-upstream git@github.com:google/gvisor.git "$pgo_branch_name"
39+
git push --set-upstream https://github.com/google/gvisor.git "$pgo_branch_name"
4040
gh pr create \
4141
--title="Update runsc profiles for PGO (profile-guided optimizations), $today." \
4242
--body='This PR updates the runsc profiles for PGO (profile-guided optimizations).' \

0 commit comments

Comments
 (0)