[arch-commits] Commit in gitlab-ci-multi-runner/repos (24 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Oct 26 18:42:47 UTC 2016
Date: Wednesday, October 26, 2016 @ 18:42:47
Author: svenstaro
Revision: 193735
archrelease: copy trunk to community-i686, community-x86_64
Added:
gitlab-ci-multi-runner/repos/community-i686/PKGBUILD
(from rev 193734, gitlab-ci-multi-runner/trunk/PKGBUILD)
gitlab-ci-multi-runner/repos/community-i686/config.toml
(from rev 193734, gitlab-ci-multi-runner/trunk/config.toml)
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.install
(from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.install)
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.service
(from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.service)
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.sysusers
(from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.sysusers)
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.tmpfiles
(from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.tmpfiles)
gitlab-ci-multi-runner/repos/community-x86_64/PKGBUILD
(from rev 193734, gitlab-ci-multi-runner/trunk/PKGBUILD)
gitlab-ci-multi-runner/repos/community-x86_64/config.toml
(from rev 193734, gitlab-ci-multi-runner/trunk/config.toml)
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.install
(from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.install)
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.service
(from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.service)
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.sysusers
(from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.sysusers)
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.tmpfiles
(from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.tmpfiles)
Deleted:
gitlab-ci-multi-runner/repos/community-i686/PKGBUILD
gitlab-ci-multi-runner/repos/community-i686/config.toml
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.install
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.service
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.sysusers
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.tmpfiles
gitlab-ci-multi-runner/repos/community-x86_64/PKGBUILD
gitlab-ci-multi-runner/repos/community-x86_64/config.toml
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.install
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.service
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.sysusers
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.tmpfiles
-----------------------------------------+
/PKGBUILD | 144 ++++++++++++++++++++++++++++++
/config.toml | 2
/gitlab-runner.install | 16 +++
/gitlab-runner.service | 34 +++++++
/gitlab-runner.sysusers | 2
/gitlab-runner.tmpfiles | 2
community-i686/PKGBUILD | 72 ---------------
community-i686/config.toml | 1
community-i686/gitlab-runner.install | 8 -
community-i686/gitlab-runner.service | 17 ---
community-i686/gitlab-runner.sysusers | 1
community-i686/gitlab-runner.tmpfiles | 1
community-x86_64/PKGBUILD | 72 ---------------
community-x86_64/config.toml | 1
community-x86_64/gitlab-runner.install | 8 -
community-x86_64/gitlab-runner.service | 17 ---
community-x86_64/gitlab-runner.sysusers | 1
community-x86_64/gitlab-runner.tmpfiles | 1
18 files changed, 200 insertions(+), 200 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-i686/PKGBUILD 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1,72 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
-
-pkgname=gitlab-ci-multi-runner
-pkgver=1.7.0
-pkgrel=2
-pkgdesc="The official GitLab CI runner written in Go"
-arch=('i686' 'x86_64')
-url='https://gitlab.com/gitlab-org/gitlab-ci-multi-runner'
-license=('GPL3')
-depends=('ca-certificates' 'curl' 'git' 'glibc' 'tar')
-makedepends=('git' 'go' 'git' 'go-bindata' 'mercurial')
-install='gitlab-runner.install'
-backup=('etc/gitlab-runner/config.toml')
-noextract=('prebuilt-x86_64.tar.xz'
- 'prebuilt-arm.tar.xz')
-
-# Note: This should be built using git because the runner gets its version information from there and I
-# haven't found the place to patch that yet.
-source=("git+https://gitlab.com/gitlab-org/gitlab-ci-multi-runner.git#tag=v${pkgver}"
- "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/master/docker/prebuilt-x86_64.tar.xz"
- "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/master/docker/prebuilt-arm.tar.xz"
- "gitlab-runner.install"
- "gitlab-runner.service"
- "gitlab-runner.sysusers"
- "gitlab-runner.tmpfiles"
- "config.toml")
-sha256sums=('SKIP'
- '2c0d97469a124956d7f71601848dadd0df644e2bd8e8555d0deb4e7f47c7be52'
- 'fc5ad1eb24104e453ff4412fbf4bd304e0d04ffeb7ce3f4d0440e6328ddf474f'
- 'd8b75e676727989115ab11d6a74281de61daed64a72dcc21d98814e845cdcf91'
- '843cabc4e1cfbf0a81365abae0c3d6ac388c00074017f9c286a7d5545828d1fa'
- '0d7621aec132ce44d7dadbe6c5f43b330af5c1dddfe06c958336a297e70c5bba'
- '8b17ed458da6926ea0d28aa4cb307b42b047bda9dfa4a96ee48e1c02051efb13'
- 'b1f7d9a6a0148884528584909729cce817253759650da61d641e2225845f9330')
-
-prepare() {
- mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
- ln -sf "${srcdir}/gitlab-ci-multi-runner" "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
- cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- export GOPATH="${srcdir}"
- make deps
-
- ln -sf "${srcdir}/prebuilt-x86_64.tar.xz" prebuilt-x86_64.tar.xz
- ln -sf "${srcdir}/prebuilt-x86_64.tar.xz" prebuilt-arm.tar.xz
-}
-
-build() {
- cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- GOPATH="${srcdir}" go-bindata \
- -pkg docker \
- -nocompress \
- -nomemcopy \
- -prefix out/docker/ \
- -o executors/docker/bindata.go \
- prebuilt-x86_64.tar.xz \
- prebuilt-arm.tar.xz
-
- GOPATH="${srcdir}" go build
-}
-
-package() {
- cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- install -Dm644 "${srcdir}/config.toml" "${pkgdir}/etc/gitlab-runner/config.toml"
- install -Dm644 "${srcdir}/gitlab-runner.service" "${pkgdir}/usr/lib/systemd/system/gitlab-runner.service"
- install -Dm644 "${srcdir}/gitlab-runner.sysusers" "${pkgdir}/usr/lib/sysusers.d/gitlab-runner.conf"
- install -Dm644 "${srcdir}/gitlab-runner.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/gitlab-runner.conf"
- install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-}
Copied: gitlab-ci-multi-runner/repos/community-i686/PKGBUILD (from rev 193734, gitlab-ci-multi-runner/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1,72 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+pkgname=gitlab-ci-multi-runner
+pkgver=1.7.1
+pkgrel=1
+pkgdesc="The official GitLab CI runner written in Go"
+arch=('i686' 'x86_64')
+url='https://gitlab.com/gitlab-org/gitlab-ci-multi-runner'
+license=('GPL3')
+depends=('ca-certificates' 'curl' 'git' 'glibc' 'tar')
+makedepends=('git' 'go' 'git' 'go-bindata' 'mercurial')
+install='gitlab-runner.install'
+backup=('etc/gitlab-runner/config.toml')
+noextract=('prebuilt-x86_64.tar.xz'
+ 'prebuilt-arm.tar.xz')
+
+# Note: This should be built using git because the runner gets its version information from there and I
+# haven't found the place to patch that yet.
+source=("git+https://gitlab.com/gitlab-org/gitlab-ci-multi-runner.git#tag=v${pkgver}"
+ "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/master/docker/prebuilt-x86_64.tar.xz"
+ "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/master/docker/prebuilt-arm.tar.xz"
+ "gitlab-runner.install"
+ "gitlab-runner.service"
+ "gitlab-runner.sysusers"
+ "gitlab-runner.tmpfiles"
+ "config.toml")
+sha256sums=('SKIP'
+ '265a49a8ecb5a4ca3fe51c66baca2a8e82608e37fbe487e261bfe72d83dc5902'
+ '951b4ee84fcab0c63e80d70fe78774a32eb96bff65266417d4f6e4aeb8fe7e64'
+ 'd8b75e676727989115ab11d6a74281de61daed64a72dcc21d98814e845cdcf91'
+ '843cabc4e1cfbf0a81365abae0c3d6ac388c00074017f9c286a7d5545828d1fa'
+ '0d7621aec132ce44d7dadbe6c5f43b330af5c1dddfe06c958336a297e70c5bba'
+ '8b17ed458da6926ea0d28aa4cb307b42b047bda9dfa4a96ee48e1c02051efb13'
+ 'b1f7d9a6a0148884528584909729cce817253759650da61d641e2225845f9330')
+
+prepare() {
+ mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
+ ln -sf "${srcdir}/gitlab-ci-multi-runner" "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+ cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+
+ export GOPATH="${srcdir}"
+ make deps
+
+ ln -sf "${srcdir}/prebuilt-x86_64.tar.xz" prebuilt-x86_64.tar.xz
+ ln -sf "${srcdir}/prebuilt-x86_64.tar.xz" prebuilt-arm.tar.xz
+}
+
+build() {
+ cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+
+ GOPATH="${srcdir}" go-bindata \
+ -pkg docker \
+ -nocompress \
+ -nomemcopy \
+ -prefix out/docker/ \
+ -o executors/docker/bindata.go \
+ prebuilt-x86_64.tar.xz \
+ prebuilt-arm.tar.xz
+
+ GOPATH="${srcdir}" go build
+}
+
+package() {
+ cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+
+ install -Dm644 "${srcdir}/config.toml" "${pkgdir}/etc/gitlab-runner/config.toml"
+ install -Dm644 "${srcdir}/gitlab-runner.service" "${pkgdir}/usr/lib/systemd/system/gitlab-runner.service"
+ install -Dm644 "${srcdir}/gitlab-runner.sysusers" "${pkgdir}/usr/lib/sysusers.d/gitlab-runner.conf"
+ install -Dm644 "${srcdir}/gitlab-runner.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/gitlab-runner.conf"
+ install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+}
Deleted: community-i686/config.toml
===================================================================
--- community-i686/config.toml 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-i686/config.toml 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1 +0,0 @@
-concurrent = 4
Copied: gitlab-ci-multi-runner/repos/community-i686/config.toml (from rev 193734, gitlab-ci-multi-runner/trunk/config.toml)
===================================================================
--- community-i686/config.toml (rev 0)
+++ community-i686/config.toml 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1 @@
+concurrent = 4
Deleted: community-i686/gitlab-runner.install
===================================================================
--- community-i686/gitlab-runner.install 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-i686/gitlab-runner.install 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1,8 +0,0 @@
-post_install() {
- systemd-sysusers gitlab-runner.conf
- systemd-tmpfiles --create gitlab-runner.conf
- echo "Register the runner as root using"
- echo "# gitlab-ci-multi-runner register"
- echo "Configure the runner in /etc/gitlab-runner/config.toml"
- echo "Use gitlab-runner.service to control the runner"
-}
Copied: gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.install (from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.install)
===================================================================
--- community-i686/gitlab-runner.install (rev 0)
+++ community-i686/gitlab-runner.install 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1,8 @@
+post_install() {
+ systemd-sysusers gitlab-runner.conf
+ systemd-tmpfiles --create gitlab-runner.conf
+ echo "Register the runner as root using"
+ echo "# gitlab-ci-multi-runner register"
+ echo "Configure the runner in /etc/gitlab-runner/config.toml"
+ echo "Use gitlab-runner.service to control the runner"
+}
Deleted: community-i686/gitlab-runner.service
===================================================================
--- community-i686/gitlab-runner.service 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-i686/gitlab-runner.service 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1,17 +0,0 @@
-[Unit]
-Description=GitLab Runner
-After=syslog.target network.target
-ConditionFileIsExecutable=/usr/bin/gitlab-ci-multi-runner
-
-[Service]
-StartLimitInterval=5
-StartLimitBurst=10
-ExecStart=/usr/bin/gitlab-ci-multi-runner "run" "--working-directory" "/var/lib/gitlab-runner" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--user" "gitlab-runner"
-Restart=always
-RestartSec=120
-StandardOutput=syslog
-StandardError=syslog
-SyslogIdentifier=gitlab-runner
-
-[Install]
-WantedBy=multi-user.target
Copied: gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.service (from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.service)
===================================================================
--- community-i686/gitlab-runner.service (rev 0)
+++ community-i686/gitlab-runner.service 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1,17 @@
+[Unit]
+Description=GitLab Runner
+After=syslog.target network.target
+ConditionFileIsExecutable=/usr/bin/gitlab-ci-multi-runner
+
+[Service]
+StartLimitInterval=5
+StartLimitBurst=10
+ExecStart=/usr/bin/gitlab-ci-multi-runner "run" "--working-directory" "/var/lib/gitlab-runner" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--user" "gitlab-runner"
+Restart=always
+RestartSec=120
+StandardOutput=syslog
+StandardError=syslog
+SyslogIdentifier=gitlab-runner
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/gitlab-runner.sysusers
===================================================================
--- community-i686/gitlab-runner.sysusers 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-i686/gitlab-runner.sysusers 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1 +0,0 @@
-u gitlab-runner 107 "GitLab Runner" /var/lib/gitlab-runner
Copied: gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.sysusers (from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.sysusers)
===================================================================
--- community-i686/gitlab-runner.sysusers (rev 0)
+++ community-i686/gitlab-runner.sysusers 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1 @@
+u gitlab-runner 107 "GitLab Runner" /var/lib/gitlab-runner
Deleted: community-i686/gitlab-runner.tmpfiles
===================================================================
--- community-i686/gitlab-runner.tmpfiles 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-i686/gitlab-runner.tmpfiles 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1 +0,0 @@
-d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
Copied: gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.tmpfiles (from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.tmpfiles)
===================================================================
--- community-i686/gitlab-runner.tmpfiles (rev 0)
+++ community-i686/gitlab-runner.tmpfiles 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1 @@
+d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-x86_64/PKGBUILD 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1,72 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
-
-pkgname=gitlab-ci-multi-runner
-pkgver=1.7.0
-pkgrel=2
-pkgdesc="The official GitLab CI runner written in Go"
-arch=('i686' 'x86_64')
-url='https://gitlab.com/gitlab-org/gitlab-ci-multi-runner'
-license=('GPL3')
-depends=('ca-certificates' 'curl' 'git' 'glibc' 'tar')
-makedepends=('git' 'go' 'git' 'go-bindata' 'mercurial')
-install='gitlab-runner.install'
-backup=('etc/gitlab-runner/config.toml')
-noextract=('prebuilt-x86_64.tar.xz'
- 'prebuilt-arm.tar.xz')
-
-# Note: This should be built using git because the runner gets its version information from there and I
-# haven't found the place to patch that yet.
-source=("git+https://gitlab.com/gitlab-org/gitlab-ci-multi-runner.git#tag=v${pkgver}"
- "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/master/docker/prebuilt-x86_64.tar.xz"
- "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/master/docker/prebuilt-arm.tar.xz"
- "gitlab-runner.install"
- "gitlab-runner.service"
- "gitlab-runner.sysusers"
- "gitlab-runner.tmpfiles"
- "config.toml")
-sha256sums=('SKIP'
- '2c0d97469a124956d7f71601848dadd0df644e2bd8e8555d0deb4e7f47c7be52'
- 'fc5ad1eb24104e453ff4412fbf4bd304e0d04ffeb7ce3f4d0440e6328ddf474f'
- 'd8b75e676727989115ab11d6a74281de61daed64a72dcc21d98814e845cdcf91'
- '843cabc4e1cfbf0a81365abae0c3d6ac388c00074017f9c286a7d5545828d1fa'
- '0d7621aec132ce44d7dadbe6c5f43b330af5c1dddfe06c958336a297e70c5bba'
- '8b17ed458da6926ea0d28aa4cb307b42b047bda9dfa4a96ee48e1c02051efb13'
- 'b1f7d9a6a0148884528584909729cce817253759650da61d641e2225845f9330')
-
-prepare() {
- mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
- ln -sf "${srcdir}/gitlab-ci-multi-runner" "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
- cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- export GOPATH="${srcdir}"
- make deps
-
- ln -sf "${srcdir}/prebuilt-x86_64.tar.xz" prebuilt-x86_64.tar.xz
- ln -sf "${srcdir}/prebuilt-x86_64.tar.xz" prebuilt-arm.tar.xz
-}
-
-build() {
- cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- GOPATH="${srcdir}" go-bindata \
- -pkg docker \
- -nocompress \
- -nomemcopy \
- -prefix out/docker/ \
- -o executors/docker/bindata.go \
- prebuilt-x86_64.tar.xz \
- prebuilt-arm.tar.xz
-
- GOPATH="${srcdir}" go build
-}
-
-package() {
- cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- install -Dm644 "${srcdir}/config.toml" "${pkgdir}/etc/gitlab-runner/config.toml"
- install -Dm644 "${srcdir}/gitlab-runner.service" "${pkgdir}/usr/lib/systemd/system/gitlab-runner.service"
- install -Dm644 "${srcdir}/gitlab-runner.sysusers" "${pkgdir}/usr/lib/sysusers.d/gitlab-runner.conf"
- install -Dm644 "${srcdir}/gitlab-runner.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/gitlab-runner.conf"
- install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-}
Copied: gitlab-ci-multi-runner/repos/community-x86_64/PKGBUILD (from rev 193734, gitlab-ci-multi-runner/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1,72 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+pkgname=gitlab-ci-multi-runner
+pkgver=1.7.1
+pkgrel=1
+pkgdesc="The official GitLab CI runner written in Go"
+arch=('i686' 'x86_64')
+url='https://gitlab.com/gitlab-org/gitlab-ci-multi-runner'
+license=('GPL3')
+depends=('ca-certificates' 'curl' 'git' 'glibc' 'tar')
+makedepends=('git' 'go' 'git' 'go-bindata' 'mercurial')
+install='gitlab-runner.install'
+backup=('etc/gitlab-runner/config.toml')
+noextract=('prebuilt-x86_64.tar.xz'
+ 'prebuilt-arm.tar.xz')
+
+# Note: This should be built using git because the runner gets its version information from there and I
+# haven't found the place to patch that yet.
+source=("git+https://gitlab.com/gitlab-org/gitlab-ci-multi-runner.git#tag=v${pkgver}"
+ "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/master/docker/prebuilt-x86_64.tar.xz"
+ "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/master/docker/prebuilt-arm.tar.xz"
+ "gitlab-runner.install"
+ "gitlab-runner.service"
+ "gitlab-runner.sysusers"
+ "gitlab-runner.tmpfiles"
+ "config.toml")
+sha256sums=('SKIP'
+ '265a49a8ecb5a4ca3fe51c66baca2a8e82608e37fbe487e261bfe72d83dc5902'
+ '951b4ee84fcab0c63e80d70fe78774a32eb96bff65266417d4f6e4aeb8fe7e64'
+ 'd8b75e676727989115ab11d6a74281de61daed64a72dcc21d98814e845cdcf91'
+ '843cabc4e1cfbf0a81365abae0c3d6ac388c00074017f9c286a7d5545828d1fa'
+ '0d7621aec132ce44d7dadbe6c5f43b330af5c1dddfe06c958336a297e70c5bba'
+ '8b17ed458da6926ea0d28aa4cb307b42b047bda9dfa4a96ee48e1c02051efb13'
+ 'b1f7d9a6a0148884528584909729cce817253759650da61d641e2225845f9330')
+
+prepare() {
+ mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
+ ln -sf "${srcdir}/gitlab-ci-multi-runner" "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+ cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+
+ export GOPATH="${srcdir}"
+ make deps
+
+ ln -sf "${srcdir}/prebuilt-x86_64.tar.xz" prebuilt-x86_64.tar.xz
+ ln -sf "${srcdir}/prebuilt-x86_64.tar.xz" prebuilt-arm.tar.xz
+}
+
+build() {
+ cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+
+ GOPATH="${srcdir}" go-bindata \
+ -pkg docker \
+ -nocompress \
+ -nomemcopy \
+ -prefix out/docker/ \
+ -o executors/docker/bindata.go \
+ prebuilt-x86_64.tar.xz \
+ prebuilt-arm.tar.xz
+
+ GOPATH="${srcdir}" go build
+}
+
+package() {
+ cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
+
+ install -Dm644 "${srcdir}/config.toml" "${pkgdir}/etc/gitlab-runner/config.toml"
+ install -Dm644 "${srcdir}/gitlab-runner.service" "${pkgdir}/usr/lib/systemd/system/gitlab-runner.service"
+ install -Dm644 "${srcdir}/gitlab-runner.sysusers" "${pkgdir}/usr/lib/sysusers.d/gitlab-runner.conf"
+ install -Dm644 "${srcdir}/gitlab-runner.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/gitlab-runner.conf"
+ install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+}
Deleted: community-x86_64/config.toml
===================================================================
--- community-x86_64/config.toml 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-x86_64/config.toml 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1 +0,0 @@
-concurrent = 4
Copied: gitlab-ci-multi-runner/repos/community-x86_64/config.toml (from rev 193734, gitlab-ci-multi-runner/trunk/config.toml)
===================================================================
--- community-x86_64/config.toml (rev 0)
+++ community-x86_64/config.toml 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1 @@
+concurrent = 4
Deleted: community-x86_64/gitlab-runner.install
===================================================================
--- community-x86_64/gitlab-runner.install 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-x86_64/gitlab-runner.install 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1,8 +0,0 @@
-post_install() {
- systemd-sysusers gitlab-runner.conf
- systemd-tmpfiles --create gitlab-runner.conf
- echo "Register the runner as root using"
- echo "# gitlab-ci-multi-runner register"
- echo "Configure the runner in /etc/gitlab-runner/config.toml"
- echo "Use gitlab-runner.service to control the runner"
-}
Copied: gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.install (from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.install)
===================================================================
--- community-x86_64/gitlab-runner.install (rev 0)
+++ community-x86_64/gitlab-runner.install 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1,8 @@
+post_install() {
+ systemd-sysusers gitlab-runner.conf
+ systemd-tmpfiles --create gitlab-runner.conf
+ echo "Register the runner as root using"
+ echo "# gitlab-ci-multi-runner register"
+ echo "Configure the runner in /etc/gitlab-runner/config.toml"
+ echo "Use gitlab-runner.service to control the runner"
+}
Deleted: community-x86_64/gitlab-runner.service
===================================================================
--- community-x86_64/gitlab-runner.service 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-x86_64/gitlab-runner.service 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1,17 +0,0 @@
-[Unit]
-Description=GitLab Runner
-After=syslog.target network.target
-ConditionFileIsExecutable=/usr/bin/gitlab-ci-multi-runner
-
-[Service]
-StartLimitInterval=5
-StartLimitBurst=10
-ExecStart=/usr/bin/gitlab-ci-multi-runner "run" "--working-directory" "/var/lib/gitlab-runner" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--user" "gitlab-runner"
-Restart=always
-RestartSec=120
-StandardOutput=syslog
-StandardError=syslog
-SyslogIdentifier=gitlab-runner
-
-[Install]
-WantedBy=multi-user.target
Copied: gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.service (from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.service)
===================================================================
--- community-x86_64/gitlab-runner.service (rev 0)
+++ community-x86_64/gitlab-runner.service 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1,17 @@
+[Unit]
+Description=GitLab Runner
+After=syslog.target network.target
+ConditionFileIsExecutable=/usr/bin/gitlab-ci-multi-runner
+
+[Service]
+StartLimitInterval=5
+StartLimitBurst=10
+ExecStart=/usr/bin/gitlab-ci-multi-runner "run" "--working-directory" "/var/lib/gitlab-runner" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--user" "gitlab-runner"
+Restart=always
+RestartSec=120
+StandardOutput=syslog
+StandardError=syslog
+SyslogIdentifier=gitlab-runner
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/gitlab-runner.sysusers
===================================================================
--- community-x86_64/gitlab-runner.sysusers 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-x86_64/gitlab-runner.sysusers 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1 +0,0 @@
-u gitlab-runner 107 "GitLab Runner" /var/lib/gitlab-runner
Copied: gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.sysusers (from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.sysusers)
===================================================================
--- community-x86_64/gitlab-runner.sysusers (rev 0)
+++ community-x86_64/gitlab-runner.sysusers 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1 @@
+u gitlab-runner 107 "GitLab Runner" /var/lib/gitlab-runner
Deleted: community-x86_64/gitlab-runner.tmpfiles
===================================================================
--- community-x86_64/gitlab-runner.tmpfiles 2016-10-26 18:42:40 UTC (rev 193734)
+++ community-x86_64/gitlab-runner.tmpfiles 2016-10-26 18:42:47 UTC (rev 193735)
@@ -1 +0,0 @@
-d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
Copied: gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.tmpfiles (from rev 193734, gitlab-ci-multi-runner/trunk/gitlab-runner.tmpfiles)
===================================================================
--- community-x86_64/gitlab-runner.tmpfiles (rev 0)
+++ community-x86_64/gitlab-runner.tmpfiles 2016-10-26 18:42:47 UTC (rev 193735)
@@ -0,0 +1 @@
+d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
More information about the arch-commits
mailing list