gitlab-runner: 17.2.0 -> 17.10.1 (#396939)

authored by Leona Maroni and committed by GitHub ea9949a2 bc77c24d

+24 -13
+24 -13
pkgs/by-name/gi/gitlab-runner/package.nix
··· 10 11 buildGoModule (finalAttrs: { 12 pname = "gitlab-runner"; 13 - version = "17.2.0"; 14 15 src = fetchFromGitLab { 16 owner = "gitlab-org"; 17 repo = "gitlab-runner"; 18 tag = "v${finalAttrs.version}"; 19 - hash = "sha256-a2Igy4DS3fYTvPW1vvDrH/DjMQ4lG9cm/P3mFr+y9s4="; 20 }; 21 22 - vendorHash = "sha256-1MwHss76apA9KoFhEU6lYiUACrPMGYzjhds6nTyNuJI="; 23 24 # For patchShebangs 25 nativeBuildInputs = [ bash ]; ··· 33 '' 34 # Remove some tests that can't work during a nix build 35 36 - # Requires to run in a git repo 37 sed -i "s/func TestCacheArchiverAddingUntrackedFiles/func OFF_TestCacheArchiverAddingUntrackedFiles/" commands/helpers/file_archiver_test.go 38 sed -i "s/func TestCacheArchiverAddingUntrackedUnicodeFiles/func OFF_TestCacheArchiverAddingUntrackedUnicodeFiles/" commands/helpers/file_archiver_test.go 39 40 # No writable developer environment 41 rm common/build_test.go 42 - rm common/build_settings_test.go 43 rm executors/custom/custom_test.go 44 45 - # No docker during build 46 rm executors/docker/terminal_test.go 47 - rm executors/docker/docker_test.go 48 rm helpers/docker/auth/auth_test.go 49 - rm executors/docker/services_test.go 50 '' 51 + lib.optionalString stdenv.buildPlatform.isDarwin '' 52 # No keychain access during build breaks X.509 certificate tests 53 - rm helpers/certificate/x509_test.go 54 - rm network/client_test.go 55 ''; 56 57 excludedPackages = [ 58 - # CI helper script for pushing images to Docker and ECR registries 59 # 60 - # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/4139 61 - "./scripts/sync-docker-images" 62 ]; 63 64 ldflags =
··· 10 11 buildGoModule (finalAttrs: { 12 pname = "gitlab-runner"; 13 + version = "17.10.1"; 14 15 src = fetchFromGitLab { 16 owner = "gitlab-org"; 17 repo = "gitlab-runner"; 18 tag = "v${finalAttrs.version}"; 19 + hash = "sha256-pLmDWZHxd9dNhmbcHJRBxPuY0IpcJoXz/fOJeP1lVlA="; 20 }; 21 22 + vendorHash = "sha256-1NteDxcGjsC0kT/9u7BT065EN/rBhaNznegdPHZUKxo="; 23 24 # For patchShebangs 25 nativeBuildInputs = [ bash ]; ··· 33 '' 34 # Remove some tests that can't work during a nix build 35 36 + # Needs the build directory to be a git repo 37 sed -i "s/func TestCacheArchiverAddingUntrackedFiles/func OFF_TestCacheArchiverAddingUntrackedFiles/" commands/helpers/file_archiver_test.go 38 sed -i "s/func TestCacheArchiverAddingUntrackedUnicodeFiles/func OFF_TestCacheArchiverAddingUntrackedUnicodeFiles/" commands/helpers/file_archiver_test.go 39 + rm shells/abstract_test.go 40 41 # No writable developer environment 42 + rm common/build_settings_test.go 43 rm common/build_test.go 44 rm executors/custom/custom_test.go 45 46 + # No Docker during build 47 + rm executors/docker/docker_test.go 48 + rm executors/docker/services_test.go 49 rm executors/docker/terminal_test.go 50 rm helpers/docker/auth/auth_test.go 51 + 52 + # No Kubernetes during build 53 + rm executors/kubernetes/feature_test.go 54 + rm executors/kubernetes/kubernetes_test.go 55 + rm executors/kubernetes/overwrites_test.go 56 '' 57 + lib.optionalString stdenv.buildPlatform.isDarwin '' 58 + # Invalid bind arguments break Unix socket tests 59 + sed -i "s/func TestRunnerWrapperCommand_createListener/func OFF_TestRunnerWrapperCommand_createListener/" commands/wrapper_test.go 60 + 61 # No keychain access during build breaks X.509 certificate tests 62 + sed -i "s/func TestCertificate/func OFF_TestCertificate/" helpers/certificate/x509_test.go 63 + sed -i "s/func TestClientInvalidSSL/func OFF_TestClientInvalidSSL/" network/client_test.go 64 ''; 65 66 excludedPackages = [ 67 + # Nested dependency Go module, used with go.mod replace directive 68 # 69 + # https://gitlab.com/gitlab-org/gitlab-runner/-/commit/57ea9df5d8a8deb78c8d1972930bbeaa80d05e78 70 + "./helpers/runner_wrapper/api" 71 + # Helper scripts for upstream Make targets, not intended for downstream consumers 72 + "./scripts" 73 ]; 74 75 ldflags =