Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

gitlab-runner: 9.5.0 -> 10.0.0 (#29821)

The renaming of gitlab-ci-mutli-runner to gitlab-runner
is finally complete. Symlinking is thus no longer needed.

authored by Pascal Bach and committed by Joachim F 824f2e2a 4a2dd990

+8 -10
+8 -10
pkgs/development/tools/continuous-integration/gitlab-runner/default.nix
··· 1 1 { lib, buildGoPackage, fetchFromGitLab, fetchurl, go-bindata }: 2 2 3 3 let 4 - version = "9.5.0"; 4 + version = "10.0.0"; 5 5 # Gitlab runner embeds some docker images these are prebuilt for arm and x86_64 6 6 docker_x86_64 = fetchurl { 7 - url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-x86_64.tar.xz"; 8 - sha256 = "05vph5pqw3wlrh76bfgrmhgzsjsf7llzscr9vr7nk3b2pcigawdp"; 7 + url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-x86_64.tar.xz"; 8 + sha256 = "13rfpyzrld20pjhkjzx78qfdmi4w86v6nhq3460bcjpi4kwyd24w"; 9 9 }; 10 10 11 11 docker_arm = fetchurl { 12 - url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-arm.tar.xz"; 13 - sha256 = "0ilp793kbw0n6nhbcdqc1cb05h2ir27c1rkijyxaqvpczrm11lqj"; 12 + url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-arm.tar.xz"; 13 + sha256 = "19z3rmkmv6z6g27bsjkqkfj8xwpyf9v1fhk2vb81xj5fisjzhmlw"; 14 14 }; 15 15 in 16 16 buildGoPackage rec { 17 17 inherit version; 18 18 name = "gitlab-runner-${version}"; 19 - goPackagePath = "gitlab.com/gitlab-org/gitlab-ci-multi-runner"; 19 + goPackagePath = "gitlab.com/gitlab-org/gitlab-runner"; 20 20 commonPackagePath = "${goPackagePath}/common"; 21 21 buildFlagsArray = '' 22 22 -ldflags= ··· 27 27 28 28 src = fetchFromGitLab { 29 29 owner = "gitlab-org"; 30 - repo = "gitlab-ci-multi-runner"; 30 + repo = "gitlab-runner"; 31 31 rev = "v${version}"; 32 - sha256 = "0zpyvaflq62qazjw60xnzfw52fqbcmjaqig9y8i6wjzdzlm803f0"; 32 + sha256 = "11gp6l5kqcz4spxq552hsnw480vdhp70zmqlgjr906px3r31j7h3"; 33 33 }; 34 34 35 35 patches = [ ./fix-shell-path.patch ]; ··· 54 54 55 55 postInstall = '' 56 56 install -d $out/bin 57 - # The recommended name is gitlab-runner so we create a symlink with that name 58 - ln -sf gitlab-ci-multi-runner $bin/bin/gitlab-runner 59 57 ''; 60 58 61 59 meta = with lib; {