gitlab-container-registry: fix s3 test (#389808)

This commit is contained in:
xanderio
2025-03-14 23:28:15 +01:00
committed by GitHub
@@ -19,12 +19,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";