From 27a6cd58c11ca2f5f08b7519ab6ec442893520ee Mon Sep 17 00:00:00 2001 From: Christian Poulwey Date: Mon, 18 Mar 2019 20:52:26 +0100 Subject: [PATCH] New package: gitlab-runner-11.8.0 --- srcpkgs/gitlab-runner/files/gitlab-runner/run | 2 ++ srcpkgs/gitlab-runner/template | 18 ++++++++++++++++++ srcpkgs/gitlab-runner/update | 3 +++ 3 files changed, 23 insertions(+) create mode 100644 srcpkgs/gitlab-runner/files/gitlab-runner/run create mode 100644 srcpkgs/gitlab-runner/template create mode 100644 srcpkgs/gitlab-runner/update 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*"