Skip to content

Commit

Permalink
Update configure-git-for-release-management.sh to use modern setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Sep 4, 2024
1 parent ad15411 commit 16d6b4c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .buildkite/commands/configure-git-for-release-management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
# The Git command line client is not configured in Buildkite.
# At the moment, steps that need Git access can configure it on deman using this script.
# Later on, we should be able to configure it on the agent instead.

curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >> ~/.ssh/known_hosts
add_host_to_ssh_known_hosts github.com
git config --global user.email "[email protected]"
git config --global user.name "Automattic Release Bot"

# Buildkite is currently using the HTTPS URL to checkout.
# We need to override it to be able to use the deploy key.
git remote set-url origin [email protected]:Automattic/simplenote-ios.git

0 comments on commit 16d6b4c

Please sign in to comment.