Unverified Commit 29028bc4 authored by xanderio's avatar xanderio Committed by GitHub
Browse files

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

parents f0f6a346 e6f23729
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -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";