diff options
author | Alex Martens <alex@thinglab.org> | 2022-12-14 14:31:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 23:31:28 +0100 |
commit | 410ae09cc3e50be539ac6cf1cdf5fe1fcf028266 (patch) | |
tree | f7635d2447df20c1fcacb7cdddc5deecb59a36fc | |
parent | f9c5d92b43cc0c496f35f073386300e564e9939a (diff) | |
download | nixlib-410ae09cc3e50be539ac6cf1cdf5fe1fcf028266.tar nixlib-410ae09cc3e50be539ac6cf1cdf5fe1fcf028266.tar.gz nixlib-410ae09cc3e50be539ac6cf1cdf5fe1fcf028266.tar.bz2 nixlib-410ae09cc3e50be539ac6cf1cdf5fe1fcf028266.tar.lz nixlib-410ae09cc3e50be539ac6cf1cdf5fe1fcf028266.tar.xz nixlib-410ae09cc3e50be539ac6cf1cdf5fe1fcf028266.tar.zst nixlib-410ae09cc3e50be539ac6cf1cdf5fe1fcf028266.zip |
github-runner: 2.299.1 -> 2.300.0 (#206107)
-rw-r--r-- | pkgs/development/tools/continuous-integration/github-runner/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch | 8 |
2 files changed, 6 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 8c129d5ff18a..3a4f0de8170f 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix @@ -49,7 +49,7 @@ let in stdenv.mkDerivation rec { pname = "github-runner"; - version = "2.299.1"; + version = "2.300.0"; inherit sdkSource; @@ -57,7 +57,7 @@ stdenv.mkDerivation rec { owner = "actions"; repo = "runner"; rev = "v${version}"; - hash = "sha256-o6N7GDfSEWX6QaEga5hQpbpDcBh7Alcy9mK3QlODTbs="; + hash = "sha256-pEBudX285qMz0W8Sog0ph2CA5UclBItQ+ixaBi6dl8I="; }; nativeBuildInputs = [ diff --git a/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch b/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch index ff91bcff158c..2581cb7bb921 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch +++ b/pkgs/development/tools/continuous-integration/github-runner/patches/use-get-directory-for-diag.patch @@ -1,17 +1,17 @@ diff --git a/src/Runner.Common/HostContext.cs b/src/Runner.Common/HostContext.cs -index d4ea48c..15c1800 100644 +index 9e43464..a953694 100644 --- a/src/Runner.Common/HostContext.cs +++ b/src/Runner.Common/HostContext.cs -@@ -109,7 +109,7 @@ namespace GitHub.Runner.Common +@@ -119,7 +119,7 @@ namespace GitHub.Runner.Common } // this should give us _diag folder under runner root directory - string diagLogDirectory = Path.Combine(new DirectoryInfo(Path.GetDirectoryName(Assembly.GetEntryAssembly().Location)).Parent.FullName, Constants.Path.DiagDirectory); + string diagLogDirectory = GetDirectory(WellKnownDirectory.Diag); - _traceManager = new TraceManager(new HostTraceListener(diagLogDirectory, hostType, logPageSize, logRetentionDays), this.SecretMasker); + _traceManager = new TraceManager(new HostTraceListener(diagLogDirectory, hostType, logPageSize, logRetentionDays), stdoutTraceListener, this.SecretMasker); } else -@@ -272,7 +272,10 @@ namespace GitHub.Runner.Common +@@ -297,7 +297,10 @@ namespace GitHub.Runner.Common throw new NotSupportedException($"Unexpected well known directory: '{directory}'"); } |