Add note about ghcr.io for HOMEBREW_DOCKER_REGISTRY_TOKEN #26775
Annotations
3 errors
|
Run brew tests:
home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test/download_strategies/curl_github_packages_spec.rb#L47
CurlGitHubPackagesDownloadStrategy#fetch calls curl with anonymous authentication headers
Failure/Error: strategy.fetch
(#<CurlGitHubPackagesDownloadStrategy:0x00007f7951b9e318 @try_partial=true, @mirrors=[], @url="https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3", @name="foo", @Version="1.2.3", @cache=#<Pathname:/tmp/homebrew-tests-20240410-3414-uingvx/cache>, @meta={:headers=>["Accept: application/vnd.oci.image.index.v1+json", "Authorization: ***"]}, @quiet=false, @resolved_info_cache={"https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"=>["https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3", "1.2.3", nil, nil, false]}, @curl_executable=#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, @cached_location=#<Pathname:/tmp/homebrew-tests-20240410-3414-uingvx/cache/downloads/736bd7eae0201f7a06dbcf08955a55fb071ca645f4b7a67fa7c17579fd17eb8b--1.2.3>, @temporary_path=#<Pathname:/tmp/homebrew-tests-20240410-3414-uingvx/cache/downloads/736bd7eae0201f7a06dbcf08955a55fb071ca645f4b7a67fa7c17579fd17eb8b--1.2.3.incomplete>>).system_command(#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.2.17-44-gef82080 (Linux; x86_64 Ubuntu 22.04.4 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", 3, "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "--fail", "--location", "--silent", "--head", "--location", "https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"], :env=>{}, :print_stderr=>false, :timeout=>nil})
expected: 2 times with arguments: (/curl/, hash_including(:args=>"array_including(--head)"))
received: 3 times with arguments: (#<Pathname:/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/shared/curl>, {:args=>["--disable", "--cookie", "/dev/null", "--globoff", "--show-error", "--user-agent", "Linuxbrew/4.2.17-44-gef82080 (Linux; x86_64 Ubuntu 22.04.4 LTS) curl/7.81.0", "--header", "Accept-Language: en", "--retry", 3, "--header", "Accept: application/vnd.oci.image.index.v1+json", "--header", "Authorization: ***", "--fail", "--location", "--silent", "--head", "--location", "https://ghcr.io/v2/homebrew/core/spec_test/manifests/1.2.3"], :env=>{}, :print_stderr=>false, :timeout=>nil})
|
Run brew tests
The operation was canceled.
|
Loading