mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
[Backport release-24.11] gitlab-container-registry: fix s3 test (#389961)
This commit is contained in:
@@ -20,12 +20,11 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-I/umXgVm9a+0Ay3ARuaa4Dua4Zhc5p2TONHvhCt3Qtk=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace health/checks/checks_test.go \
|
||||
--replace-fail \
|
||||
'func TestHTTPChecker(t *testing.T) {' \
|
||||
'func TestHTTPChecker(t *testing.T) { t.Skip("Test requires network connection")'
|
||||
'';
|
||||
checkFlags = [
|
||||
# TestHTTPChecker requires internet
|
||||
# TestS3DriverPathStyle requires s3 credentials/urls
|
||||
"-skip TestHTTPChecker|TestS3DriverPathStyle"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "GitLab Docker toolset to pack, ship, store, and deliver content";
|
||||
|
||||
Reference in New Issue
Block a user