|
|
|
@ -1,16 +1,16 @@ |
|
|
|
|
{ lib, buildGoPackage, fetchFromGitLab, fetchurl, go-bindata }: |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
version = "9.1.0"; |
|
|
|
|
version = "9.2.0"; |
|
|
|
|
# Gitlab runner embeds some docker images these are prebuilt for arm and x86_64 |
|
|
|
|
docker_x86_64 = fetchurl { |
|
|
|
|
url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-x86_64.tar.xz"; |
|
|
|
|
sha256 = "1mdcw755fygnf30v0gr13mx20zjqmxg5w2kj3k2jgcsh3gyrvymr"; |
|
|
|
|
sha256 = "0x6pwh3wjq2czvzb8rl8npa8a58snwf1f9dwr6rbbxijaf886jfc"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
docker_arm = fetchurl { |
|
|
|
|
url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-arm.tar.xz"; |
|
|
|
|
sha256 = "1m5p6mlhy3xf0chrjlfpdyp24pv32b61s8iryh6a617i91vpzjg6"; |
|
|
|
|
sha256 = "1y6i5dn1l1qlwyg95qw4sff2y9zypxwmvsw4mb0555vf157h88kg"; |
|
|
|
|
}; |
|
|
|
|
in |
|
|
|
|
buildGoPackage rec { |
|
|
|
@ -29,7 +29,7 @@ buildGoPackage rec { |
|
|
|
|
owner = "gitlab-org"; |
|
|
|
|
repo = "gitlab-ci-multi-runner"; |
|
|
|
|
rev = "v${version}"; |
|
|
|
|
sha256 = "0n8hcj2b1pb95x4bd7fb9ri43vgc4h2dj2v3iiziw2imqjyphfx4"; |
|
|
|
|
sha256 = "0gz6byjnnfn9acy40hcbyzdql4199xn0yvjx2cfjjjzd9kryjrxp"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ go-bindata ]; |
|
|
|
@ -60,7 +60,7 @@ buildGoPackage rec { |
|
|
|
|
description = "GitLab Runner the continuous integration executor of GitLab"; |
|
|
|
|
license = licenses.mit; |
|
|
|
|
homepage = "https://about.gitlab.com/gitlab-ci/"; |
|
|
|
|
platforms = platforms.unix; |
|
|
|
|
maintainers = [ lib.maintainers.bachp ]; |
|
|
|
|
platforms = platforms.unix ++ platforms.darwin; |
|
|
|
|
maintainers = with maintainers; [ bachp zimbatm ]; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|