summary refs log tree commit diff
path: root/pkgs/development/tools/continuous-integration
diff options
context:
space:
mode:
authorVincent Haupert <mail@vincent-haupert.de>2022-01-28 09:00:23 +0100
committerVincent Haupert <mail@vincent-haupert.de>2022-01-28 09:44:29 +0100
commit1126f8282a4d1c7159a2cec03190ef4f61c457f1 (patch)
treee105fb0e442f99a34189da84a08c20636ccdc0fa /pkgs/development/tools/continuous-integration
parent10689df734e8ded9c704c99e58026d56aa89e548 (diff)
downloadnixpkgs-1126f8282a4d1c7159a2cec03190ef4f61c457f1.tar
nixpkgs-1126f8282a4d1c7159a2cec03190ef4f61c457f1.tar.gz
nixpkgs-1126f8282a4d1c7159a2cec03190ef4f61c457f1.tar.bz2
nixpkgs-1126f8282a4d1c7159a2cec03190ef4f61c457f1.tar.lz
nixpkgs-1126f8282a4d1c7159a2cec03190ef4f61c457f1.tar.xz
nixpkgs-1126f8282a4d1c7159a2cec03190ef4f61c457f1.tar.zst
nixpkgs-1126f8282a4d1c7159a2cec03190ef4f61c457f1.zip
github-runner: 2.286.0 -> 2.287.1
Also requires to disable some additional online tests.
Diffstat (limited to 'pkgs/development/tools/continuous-integration')
-rw-r--r--pkgs/development/tools/continuous-integration/github-runner/default.nix22
1 files changed, 16 insertions, 6 deletions
diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix
index 01c6acfc0dc..75af3a21237 100644
--- a/pkgs/development/tools/continuous-integration/github-runner/default.nix
+++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix
@@ -43,13 +43,13 @@ let
 in
 stdenv.mkDerivation rec {
   pname = "github-runner";
-  version = "2.286.0";
+  version = "2.287.1";
 
   src = fetchFromGitHub {
     owner = "actions";
     repo = "runner";
     rev = "v${version}";
-    hash = "sha256-a3Kh65NTpVlKUer59rna7NWIQSxh1edU9MwguakzydI=";
+    hash = "sha256-4SPrtX3j8blWTYnSkD2Z7IecZvI4xdAqHRJ1lBM0aAo=";
   };
 
   nativeBuildInputs = [
@@ -137,10 +137,20 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
 
-  disabledTests = [
-    # Self-updating is patched out, hence this test will fail
-    "FullyQualifiedName!=GitHub.Runner.Common.Tests.Listener.SelfUpdaterL0.TestSelfUpdateAsync_ValidateHash"
-    "FullyQualifiedName!=GitHub.Runner.Common.Tests.Listener.SelfUpdaterL0.TestSelfUpdateAsync"
+  disabledTests =
+    [ "FullyQualifiedName!=GitHub.Runner.Common.Tests.Listener.SelfUpdaterL0.TestSelfUpdateAsync" ] ++ map
+    (x: "FullyQualifiedName!=GitHub.Runner.Common.Tests.Listener.SelfUpdaterL0.TestSelfUpdateAsync_${x}")
+    [
+      "Cancel_CloneHashTask_WhenNotNeeded"
+      "CloneHash_RuntimeAndExternals"
+      "DownloadRetry"
+      "FallbackToFullPackage"
+      "NoUpdateOnOldVersion"
+      "NotUseExternalsRuntimeTrimmedPackageOnHashMismatch"
+      "UseExternalsRuntimeTrimmedPackage"
+      "UseExternalsTrimmedPackage"
+      "ValidateHash"
+    ] ++ [
     "FullyQualifiedName!=GitHub.Runner.Common.Tests.Listener.RunnerL0.TestRunOnceHandleUpdateMessage"
   ] ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [
     # "JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected Linux Arm64"