diff --git a/srcpkgs/gitlab-runner/files/gitlab-runner/run b/srcpkgs/gitlab-runner/files/gitlab-runner/run new file mode 100644 index 00000000000..5a137b78d9b --- /dev/null +++ b/srcpkgs/gitlab-runner/files/gitlab-runner/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec gitlab-runner run diff --git a/srcpkgs/gitlab-runner/template b/srcpkgs/gitlab-runner/template new file mode 100644 index 00000000000..cf59bea7b88 --- /dev/null +++ b/srcpkgs/gitlab-runner/template @@ -0,0 +1,18 @@ +# Template file for 'gitlab-runner' +pkgname=gitlab-runner +version=11.8.0 +revision=1 +wrksrc="${pkgname}-v${version}" +build_style=go +go_import_path=gitlab.com/gitlab-org/gitlab-runner +short_desc="Official GitLab CI runner written in Go" +maintainer="Christian Poulwey " +license="MIT" +homepage="https://docs.gitlab.com/runner/" +distfiles="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${version}/gitlab-runner-v${version}.tar.gz" +checksum=b334e446c996441937b8f2f5b995da2687f9b52c29fb87ba76a9ae4a9614b68a + +post_install() { + vsv gitlab-runner + vlicense ${wrksrc}/LICENSE +} diff --git a/srcpkgs/gitlab-runner/update b/srcpkgs/gitlab-runner/update new file mode 100644 index 00000000000..c846b50c8c8 --- /dev/null +++ b/srcpkgs/gitlab-runner/update @@ -0,0 +1,3 @@ +site="https://gitlab.com/gitlab-org/gitlab-runner/tags" +pattern="v\K.*(?=)" +ignore="*rc*"