aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gitlab-runner
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-07-18 17:23:17 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-07-18 17:24:41 +0000
commit2aea9578c675bb06fa467365614cb18828008501 (patch)
treeb285cd51cbb5c468f6a405f38a04344085b403e9 /testing/gitlab-runner
parent2776a136bc85d85ff248eff3cb7104476f9c0815 (diff)
downloadaports-2aea9578c675bb06fa467365614cb18828008501.tar.bz2
aports-2aea9578c675bb06fa467365614cb18828008501.tar.xz
testing/gitlab-runner: split helper
Diffstat (limited to 'testing/gitlab-runner')
-rw-r--r--testing/gitlab-runner/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/testing/gitlab-runner/APKBUILD b/testing/gitlab-runner/APKBUILD
index 5bdb571f5b..9486b6a283 100644
--- a/testing/gitlab-runner/APKBUILD
+++ b/testing/gitlab-runner/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname="gitlab-runner"
pkgver="12.0.2"
-pkgrel=1
+pkgrel=2
pkgdesc="GitLab runner for CI/CD jobs"
url="https://docs.gitlab.com/runner/"
arch="all"
@@ -11,6 +11,7 @@ makedepends="go"
source="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v$pkgver/gitlab-runner-v$pkgver.tar.gz"
builddir="$srcdir/src/gitlab.com/gitlab-org/$pkgname"
options="net"
+subpackages="$pkgname-helper"
export GOPATH="$srcdir"
export CGO_ENABLED=0
@@ -36,11 +37,14 @@ build() {
}
package() {
- local cmd=
- for cmd in gitlab-runner gitlab-runner-helper; do
- install -Dm755 "$builddir"/bin/$cmd \
- "$pkgdir"/usr/bin/$cmd
- done
+ install -Dm755 "$builddir"/bin/gitlab-runner \
+ "$pkgdir"/usr/bin/gitlab-runner
+}
+
+helper() {
+ pkgdesc="$pkgdesc (helper)"
+ install -Dm755 "$builddir"/bin/gitlab-runner-helper \
+ "$subpkgdir"/usr/bin/gitlab-runner-helper
}
sha512sums="ccc1f7c8b2123f91e1ad440acaf69b2fdb435dd016c7e0c1d75c6f706d4ff79ea2eb7d34e91986d82afa3606b5453b4fbb18530f553c826809173cf88ecb810f gitlab-runner-v12.0.2.tar.gz"