gitlab-container-registry: fix s3 test

This commit is contained in:
Leona Maroni
2025-03-14 21:03:55 +01:00
parent 6607cf789e
commit e6f237292e
@@ -20,12 +20,11 @@ buildGoModule rec {
vendorHash = "sha256-oNQoKn8GPJxmUzkUHGzax2/KWyI3VXLRtAvWe9B64Ds=";
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";