From ae510faca5ecc309c941ef9306a2b5124de601e1 Mon Sep 17 00:00:00 2001 From: Yaya Date: Sun, 25 Jun 2023 18:24:17 +0200 Subject: [PATCH] gitlab-runner: 16.0.2 -> 16.1.0 (#239145) https://gitlab.com/gitlab-org/gitlab-runner/-/blob/v16.1.0/CHANGELOG.md --- .../continuous-integration/gitlab-runner/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix b/pkgs/development/tools/continuous-integration/gitlab-runner/default.nix index 7f6dd71c14c7..65cf727997dc 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, buildGoModule, fetchFromGitLab, fetchurl, bash }: let - version = "16.0.2"; + version = "16.1.0"; in buildGoModule rec { inherit version; @@ -17,13 +17,13 @@ buildGoModule rec { # For patchShebangs buildInputs = [ bash ]; - vendorHash = "sha256-BgT+anRMkF00LLi+7Em0pXElwBnPz3QTs0G5+yoEj/k="; + vendorHash = "sha256-tlTmKq1a5hX8G0+7RC1QbWA7YVnoBS5R9QqXljJ4bVg="; src = fetchFromGitLab { owner = "gitlab-org"; repo = "gitlab-runner"; rev = "v${version}"; - sha256 = "sha256-t1DI7AhxnnBoP5h54dUCKtJcIffxmv0c7OczVhEy3rI="; + sha256 = "sha256-1obA2f/YtOBkgYLJqcHQWbaCezEw7lUXs4OxFiONCm8="; }; patches = [ @@ -49,6 +49,12 @@ buildGoModule rec { rm executors/docker/services_test.go ''; + excludedPackages = [ + # CI helper script for pushing images to Docker and ECR registries + # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/4139 + "./scripts/sync-docker-images" + ]; + postInstall = '' install packaging/root/usr/share/gitlab-runner/clear-docker-cache $out/bin '';