diff options
author | Pascal Bach <pascal.bach@nextrem.ch> | 2021-12-13 08:52:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 08:52:19 +0100 |
commit | 1a551cf64a7e0be8667f9d6987d2b563a6ea4081 (patch) | |
tree | 5a9a8cafdfd4c44a6e89972649235875f0122c0e | |
parent | 32e3ee5193cf45b988009a0fd34142c9e3e15367 (diff) | |
parent | bc5fcddcd78d23d753b4261a5322e26d2b784472 (diff) | |
download | nixpkgs-1a551cf64a7e0be8667f9d6987d2b563a6ea4081.tar nixpkgs-1a551cf64a7e0be8667f9d6987d2b563a6ea4081.tar.gz nixpkgs-1a551cf64a7e0be8667f9d6987d2b563a6ea4081.tar.bz2 nixpkgs-1a551cf64a7e0be8667f9d6987d2b563a6ea4081.tar.lz nixpkgs-1a551cf64a7e0be8667f9d6987d2b563a6ea4081.tar.xz nixpkgs-1a551cf64a7e0be8667f9d6987d2b563a6ea4081.tar.zst nixpkgs-1a551cf64a7e0be8667f9d6987d2b563a6ea4081.zip |
Merge pull request #150201 from yayayayaka/gitlab-runner-14.5.2
gitlab-runner: 14.5.0 -> 14.5.2
2 files changed, 36 insertions, 3 deletions
diff --git a/pkgs/development/tools/continuous-integration/gitlab-runner/0001-gitlab-runner-don-t-checked-for-fixed-runtime.patch b/pkgs/development/tools/continuous-integration/gitlab-runner/0001-gitlab-runner-don-t-checked-for-fixed-runtime.patch new file mode 100644 index 00000000000..a1736d83a65 --- /dev/null +++ b/pkgs/development/tools/continuous-integration/gitlab-runner/0001-gitlab-runner-don-t-checked-for-fixed-runtime.patch @@ -0,0 +1,30 @@ +From 13c633bf0075daa6ff973f368a25cf205caa017e Mon Sep 17 00:00:00 2001 +From: Pascal Bach <pascal.bach@nextrem.ch> +Date: Sat, 11 Dec 2021 10:07:01 +0100 +Subject: [PATCH] gitlab-runner: don't checked for fixed runtime + +We already use 1.16.12 which has the proper fix +--- + helpers/patches/issue_28732/syscall.go | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/helpers/patches/issue_28732/syscall.go b/helpers/patches/issue_28732/syscall.go +index 580513b57..fa9e4cc85 100644 +--- a/helpers/patches/issue_28732/syscall.go ++++ b/helpers/patches/issue_28732/syscall.go +@@ -2,11 +2,6 @@ + + package issue_28732 + +-import ( +- "syscall" +-) +- + func AssertFixPresent() { +- // Ensure that Issue28732Fix fixed runtime is used +- syscall.Issue28732Fix() ++ // Issue already fixed by using go 1.16.12 + } +-- +2.34.0 + diff --git a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix index c9c13bda832..d902b5f4c6a 100644 --- a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix @@ -1,7 +1,7 @@ { lib, buildGoPackage, fetchFromGitLab, fetchurl }: let - version = "14.5.0"; + version = "14.5.2"; in buildGoPackage rec { inherit version; @@ -19,10 +19,13 @@ buildGoPackage rec { owner = "gitlab-org"; repo = "gitlab-runner"; rev = "v${version}"; - sha256 = "sha256-BxnIrjiEW61J6hl7mWNXc2Vb4ae1cWqOypTy9Xo7Hkc="; + sha256 = "07mr9w1rp3rnrlixmqziin1gw78s3gncg47b4z9h9zzpy3acy3xd"; }; - patches = [ ./fix-shell-path.patch ]; + patches = [ + ./fix-shell-path.patch + ./0001-gitlab-runner-don-t-checked-for-fixed-runtime.patch + ]; meta = with lib; { description = "GitLab Runner the continuous integration executor of GitLab"; |