Unverified Commit 14d123bd authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

gh-ost: 1.1.6 -> 1.1.7 (#369882)

parents ba9f7942 8d06f4d0
Loading
Loading
Loading
Loading
+16 −4
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@

buildGoModule rec {
  pname = "gh-ost";
  version = "1.1.6";
  version = "1.1.7";

  src = fetchFromGitHub {
    owner = "github";
    repo = "gh-ost";
    rev = "v${version}";
    hash = "sha256-dTz4w+OJXe2+ygsYsQ9tanDyaMXvdh8W3d8xpjQMapI=";
    hash = "sha256-TTc69dWasqMVwwJNo+M9seMKEWgerZ2ZR7dwDfM1gWI=";
  };

  vendorHash = null;
@@ -25,14 +25,26 @@ buildGoModule rec {
    "-X main.AppVersion=${version}"
  ];

  checkFlags =
    let
      # Skip tests that require docker daemon
      skippedTests = [
        "TestApplier"
        "TestEventsStreamer"
        "TestMigrator"
      ];
    in
    [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];

  passthru.tests.version = testers.testVersion {
    package = gh-ost;
  };

  meta = with lib; {
  meta = {
    description = "Triggerless online schema migration solution for MySQL";
    homepage = "https://github.com/github/gh-ost";
    license = licenses.mit;
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ aaronjheng ];
    mainProgram = "gh-ost";
  };
}