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 10 11 11 buildGoModule (finalAttrs: { 12 12 pname = "gitlab-runner"; 13 - version = "17.2.0"; 13 + version = "17.10.1"; 14 14 15 15 src = fetchFromGitLab { 16 16 owner = "gitlab-org"; 17 17 repo = "gitlab-runner"; 18 18 tag = "v${finalAttrs.version}"; 19 - hash = "sha256-a2Igy4DS3fYTvPW1vvDrH/DjMQ4lG9cm/P3mFr+y9s4="; 19 + hash = "sha256-pLmDWZHxd9dNhmbcHJRBxPuY0IpcJoXz/fOJeP1lVlA="; 20 20 }; 21 21 22 - vendorHash = "sha256-1MwHss76apA9KoFhEU6lYiUACrPMGYzjhds6nTyNuJI="; 22 + vendorHash = "sha256-1NteDxcGjsC0kT/9u7BT065EN/rBhaNznegdPHZUKxo="; 23 23 24 24 # For patchShebangs 25 25 nativeBuildInputs = [ bash ]; ··· 33 33 '' 34 34 # Remove some tests that can't work during a nix build 35 35 36 - # Requires to run in a git repo 36 + # Needs the build directory to be a git repo 37 37 sed -i "s/func TestCacheArchiverAddingUntrackedFiles/func OFF_TestCacheArchiverAddingUntrackedFiles/" commands/helpers/file_archiver_test.go 38 38 sed -i "s/func TestCacheArchiverAddingUntrackedUnicodeFiles/func OFF_TestCacheArchiverAddingUntrackedUnicodeFiles/" commands/helpers/file_archiver_test.go 39 + rm shells/abstract_test.go 39 40 40 41 # No writable developer environment 42 + rm common/build_settings_test.go 41 43 rm common/build_test.go 42 - rm common/build_settings_test.go 43 44 rm executors/custom/custom_test.go 44 45 45 - # No docker during build 46 + # No Docker during build 47 + rm executors/docker/docker_test.go 48 + rm executors/docker/services_test.go 46 49 rm executors/docker/terminal_test.go 47 - rm executors/docker/docker_test.go 48 50 rm helpers/docker/auth/auth_test.go 49 - rm executors/docker/services_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 50 56 '' 51 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 + 52 61 # No keychain access during build breaks X.509 certificate tests 53 - rm helpers/certificate/x509_test.go 54 - rm network/client_test.go 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 55 64 ''; 56 65 57 66 excludedPackages = [ 58 - # CI helper script for pushing images to Docker and ECR registries 67 + # Nested dependency Go module, used with go.mod replace directive 59 68 # 60 - # https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/4139 61 - "./scripts/sync-docker-images" 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" 62 73 ]; 63 74 64 75 ldflags =