mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[Ubuntu] Remove hub utility (#8363)
This commit is contained in:
committed by
GitHub
parent
9f764f7429
commit
8cb738bb54
@@ -36,16 +36,8 @@ rm /etc/apt/sources.list.d/github_git-lfs.list
|
||||
echo "git-core $GIT_REPO" >> $HELPER_SCRIPTS/apt-sources.txt
|
||||
echo "git-lfs $GIT_LFS_REPO" >> $HELPER_SCRIPTS/apt-sources.txt
|
||||
|
||||
#Install hub
|
||||
tmp_hub="/tmp/hub"
|
||||
mkdir -p "$tmp_hub"
|
||||
downloadUrl=$(get_github_package_download_url "github/hub" "contains(\"hub-linux-amd64\")")
|
||||
download_with_retries "$downloadUrl" "$tmp_hub"
|
||||
tar xzf "$tmp_hub"/hub-linux-amd64-*.tgz --strip-components 1 -C "$tmp_hub"
|
||||
mv "$tmp_hub"/bin/hub /usr/local/bin
|
||||
|
||||
# Add well-known SSH host keys to known_hosts
|
||||
ssh-keyscan -t rsa,ecdsa,ed25519 github.com >> /etc/ssh/ssh_known_hosts
|
||||
ssh-keyscan -t rsa ssh.dev.azure.com >> /etc/ssh/ssh_known_hosts
|
||||
|
||||
invoke_tests "Tools" "Git"
|
||||
invoke_tests "Tools" "Git"
|
||||
|
||||
Reference in New Issue
Block a user