[arch-commits] Commit in gitlab-ci-multi-runner/repos (24 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Oct 23 16:33:10 UTC 2016
Date: Sunday, October 23, 2016 @ 16:33:09
Author: svenstaro
Revision: 193084
archrelease: copy trunk to community-i686, community-x86_64
Added:
gitlab-ci-multi-runner/repos/community-i686/PKGBUILD
(from rev 193083, gitlab-ci-multi-runner/trunk/PKGBUILD)
gitlab-ci-multi-runner/repos/community-i686/config.toml
(from rev 193083, gitlab-ci-multi-runner/trunk/config.toml)
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.install
(from rev 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.install)
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.service
(from rev 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.service)
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.sysusers
(from rev 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.sysusers)
gitlab-ci-multi-runner/repos/community-i686/gitlab-runner.tmpfiles
(from rev 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.tmpfiles)
gitlab-ci-multi-runner/repos/community-x86_64/PKGBUILD
(from rev 193083, gitlab-ci-multi-runner/trunk/PKGBUILD)
gitlab-ci-multi-runner/repos/community-x86_64/config.toml
(from rev 193083, gitlab-ci-multi-runner/trunk/config.toml)
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.install
(from rev 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.install)
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.service
(from rev 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.service)
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.sysusers
(from rev 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.sysusers)
gitlab-ci-multi-runner/repos/community-x86_64/gitlab-runner.tmpfiles
(from rev 193083, 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 | 152 ++++++++++++++++++++++++++++++
/config.toml | 2
/gitlab-runner.install | 16 +++
/gitlab-runner.service | 34 ++++++
/gitlab-runner.sysusers | 2
/gitlab-runner.tmpfiles | 2
community-i686/PKGBUILD | 75 --------------
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 | 75 --------------
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, 208 insertions(+), 206 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-10-23 16:32:49 UTC (rev 193083)
+++ community-i686/PKGBUILD 2016-10-23 16:33:09 UTC (rev 193084)
@@ -1,75 +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.6.0
-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' 'godep' 'go-bindata' 'mercurial')
-install='gitlab-runner.install'
-backup=('etc/gitlab-runner/config.toml')
-noextract=('prebuilt-x86_64.tar.xz'
- 'prebuilt-arm.tar.xz')
-source=("${pkgname}-${pkgver}.tar.gz"::"https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=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=('219031680b386436ec7b7affc004c2388e6772bb8cce6d554c5b564918bce720'
- '2c0d97469a124956d7f71601848dadd0df644e2bd8e8555d0deb4e7f47c7be52'
- 'fc5ad1eb24104e453ff4412fbf4bd304e0d04ffeb7ce3f4d0440e6328ddf474f'
- 'd8b75e676727989115ab11d6a74281de61daed64a72dcc21d98814e845cdcf91'
- '843cabc4e1cfbf0a81365abae0c3d6ac388c00074017f9c286a7d5545828d1fa'
- '0d7621aec132ce44d7dadbe6c5f43b330af5c1dddfe06c958336a297e70c5bba'
- '8b17ed458da6926ea0d28aa4cb307b42b047bda9dfa4a96ee48e1c02051efb13'
- 'b1f7d9a6a0148884528584909729cce817253759650da61d641e2225845f9330')
-
-prepare() {
- _srcdir=$(ls "${srcdir}" | grep -E "${pkgname}-v${pkgver}-[0-9a-f]{40}")
-
- mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
-
- ln -sf "${srcdir}/${_srcdir}" "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- GOPATH="${srcdir}" godep restore
-
- 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() {
- _rev=$(ls "${srcdir}" | grep -Po "${pkgname}-v${pkgver}-\K([0-9a-f]{7})")
-
- 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 \
- -ldflags "-X main.NAME=${pkgname} -X main.VERSION=${pkgver} -X main.REVISION=${_rev}"
-}
-
-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 193083, gitlab-ci-multi-runner/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-23 16:33:09 UTC (rev 193084)
@@ -0,0 +1,76 @@
+# 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=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' 'godep' 'go-bindata' 'mercurial')
+install='gitlab-runner.install'
+backup=('etc/gitlab-runner/config.toml')
+noextract=('prebuilt-x86_64.tar.xz'
+ 'prebuilt-arm.tar.xz')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=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=('ffcc18bfc54d4e2846bbfb21e72798c90ca5af214ac606ea07fbbeec24bb155f'
+ '2c0d97469a124956d7f71601848dadd0df644e2bd8e8555d0deb4e7f47c7be52'
+ 'fc5ad1eb24104e453ff4412fbf4bd304e0d04ffeb7ce3f4d0440e6328ddf474f'
+ 'd8b75e676727989115ab11d6a74281de61daed64a72dcc21d98814e845cdcf91'
+ '843cabc4e1cfbf0a81365abae0c3d6ac388c00074017f9c286a7d5545828d1fa'
+ '0d7621aec132ce44d7dadbe6c5f43b330af5c1dddfe06c958336a297e70c5bba'
+ '8b17ed458da6926ea0d28aa4cb307b42b047bda9dfa4a96ee48e1c02051efb13'
+ 'b1f7d9a6a0148884528584909729cce817253759650da61d641e2225845f9330')
+
+prepare() {
+ _srcdir=$(ls "${srcdir}" | grep -E "${pkgname}-v${pkgver}-[0-9a-f]{40}")
+
+ mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
+
+ ln -sf "${srcdir}/${_srcdir}" "${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() {
+ _rev=$(ls "${srcdir}" | grep -Po "${pkgname}-v${pkgver}-\K([0-9a-f]{7})")
+
+ 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 \
+ -ldflags "-X main.NAME=${pkgname} -X main.VERSION=${pkgver} -X main.REVISION=${_rev}"
+}
+
+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-23 16:32:49 UTC (rev 193083)
+++ community-i686/config.toml 2016-10-23 16:33:09 UTC (rev 193084)
@@ -1 +0,0 @@
-concurrent = 4
Copied: gitlab-ci-multi-runner/repos/community-i686/config.toml (from rev 193083, gitlab-ci-multi-runner/trunk/config.toml)
===================================================================
--- community-i686/config.toml (rev 0)
+++ community-i686/config.toml 2016-10-23 16:33:09 UTC (rev 193084)
@@ -0,0 +1 @@
+concurrent = 4
Deleted: community-i686/gitlab-runner.install
===================================================================
--- community-i686/gitlab-runner.install 2016-10-23 16:32:49 UTC (rev 193083)
+++ community-i686/gitlab-runner.install 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.install)
===================================================================
--- community-i686/gitlab-runner.install (rev 0)
+++ community-i686/gitlab-runner.install 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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-23 16:32:49 UTC (rev 193083)
+++ community-i686/gitlab-runner.service 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.service)
===================================================================
--- community-i686/gitlab-runner.service (rev 0)
+++ community-i686/gitlab-runner.service 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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-23 16:32:49 UTC (rev 193083)
+++ community-i686/gitlab-runner.sysusers 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.sysusers)
===================================================================
--- community-i686/gitlab-runner.sysusers (rev 0)
+++ community-i686/gitlab-runner.sysusers 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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-23 16:32:49 UTC (rev 193083)
+++ community-i686/gitlab-runner.tmpfiles 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.tmpfiles)
===================================================================
--- community-i686/gitlab-runner.tmpfiles (rev 0)
+++ community-i686/gitlab-runner.tmpfiles 2016-10-23 16:33:09 UTC (rev 193084)
@@ -0,0 +1 @@
+d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-10-23 16:32:49 UTC (rev 193083)
+++ community-x86_64/PKGBUILD 2016-10-23 16:33:09 UTC (rev 193084)
@@ -1,75 +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.6.0
-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' 'godep' 'go-bindata' 'mercurial')
-install='gitlab-runner.install'
-backup=('etc/gitlab-runner/config.toml')
-noextract=('prebuilt-x86_64.tar.xz'
- 'prebuilt-arm.tar.xz')
-source=("${pkgname}-${pkgver}.tar.gz"::"https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=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=('219031680b386436ec7b7affc004c2388e6772bb8cce6d554c5b564918bce720'
- '2c0d97469a124956d7f71601848dadd0df644e2bd8e8555d0deb4e7f47c7be52'
- 'fc5ad1eb24104e453ff4412fbf4bd304e0d04ffeb7ce3f4d0440e6328ddf474f'
- 'd8b75e676727989115ab11d6a74281de61daed64a72dcc21d98814e845cdcf91'
- '843cabc4e1cfbf0a81365abae0c3d6ac388c00074017f9c286a7d5545828d1fa'
- '0d7621aec132ce44d7dadbe6c5f43b330af5c1dddfe06c958336a297e70c5bba'
- '8b17ed458da6926ea0d28aa4cb307b42b047bda9dfa4a96ee48e1c02051efb13'
- 'b1f7d9a6a0148884528584909729cce817253759650da61d641e2225845f9330')
-
-prepare() {
- _srcdir=$(ls "${srcdir}" | grep -E "${pkgname}-v${pkgver}-[0-9a-f]{40}")
-
- mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
-
- ln -sf "${srcdir}/${_srcdir}" "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- cd "${srcdir}/src/gitlab.com/gitlab-org/${pkgname}"
-
- GOPATH="${srcdir}" godep restore
-
- 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() {
- _rev=$(ls "${srcdir}" | grep -Po "${pkgname}-v${pkgver}-\K([0-9a-f]{7})")
-
- 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 \
- -ldflags "-X main.NAME=${pkgname} -X main.VERSION=${pkgver} -X main.REVISION=${_rev}"
-}
-
-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 193083, gitlab-ci-multi-runner/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-23 16:33:09 UTC (rev 193084)
@@ -0,0 +1,76 @@
+# 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=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' 'godep' 'go-bindata' 'mercurial')
+install='gitlab-runner.install'
+backup=('etc/gitlab-runner/config.toml')
+noextract=('prebuilt-x86_64.tar.xz'
+ 'prebuilt-arm.tar.xz')
+source=("${pkgname}-${pkgver}.tar.gz"::"https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=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=('ffcc18bfc54d4e2846bbfb21e72798c90ca5af214ac606ea07fbbeec24bb155f'
+ '2c0d97469a124956d7f71601848dadd0df644e2bd8e8555d0deb4e7f47c7be52'
+ 'fc5ad1eb24104e453ff4412fbf4bd304e0d04ffeb7ce3f4d0440e6328ddf474f'
+ 'd8b75e676727989115ab11d6a74281de61daed64a72dcc21d98814e845cdcf91'
+ '843cabc4e1cfbf0a81365abae0c3d6ac388c00074017f9c286a7d5545828d1fa'
+ '0d7621aec132ce44d7dadbe6c5f43b330af5c1dddfe06c958336a297e70c5bba'
+ '8b17ed458da6926ea0d28aa4cb307b42b047bda9dfa4a96ee48e1c02051efb13'
+ 'b1f7d9a6a0148884528584909729cce817253759650da61d641e2225845f9330')
+
+prepare() {
+ _srcdir=$(ls "${srcdir}" | grep -E "${pkgname}-v${pkgver}-[0-9a-f]{40}")
+
+ mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
+
+ ln -sf "${srcdir}/${_srcdir}" "${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() {
+ _rev=$(ls "${srcdir}" | grep -Po "${pkgname}-v${pkgver}-\K([0-9a-f]{7})")
+
+ 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 \
+ -ldflags "-X main.NAME=${pkgname} -X main.VERSION=${pkgver} -X main.REVISION=${_rev}"
+}
+
+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-23 16:32:49 UTC (rev 193083)
+++ community-x86_64/config.toml 2016-10-23 16:33:09 UTC (rev 193084)
@@ -1 +0,0 @@
-concurrent = 4
Copied: gitlab-ci-multi-runner/repos/community-x86_64/config.toml (from rev 193083, gitlab-ci-multi-runner/trunk/config.toml)
===================================================================
--- community-x86_64/config.toml (rev 0)
+++ community-x86_64/config.toml 2016-10-23 16:33:09 UTC (rev 193084)
@@ -0,0 +1 @@
+concurrent = 4
Deleted: community-x86_64/gitlab-runner.install
===================================================================
--- community-x86_64/gitlab-runner.install 2016-10-23 16:32:49 UTC (rev 193083)
+++ community-x86_64/gitlab-runner.install 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.install)
===================================================================
--- community-x86_64/gitlab-runner.install (rev 0)
+++ community-x86_64/gitlab-runner.install 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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-23 16:32:49 UTC (rev 193083)
+++ community-x86_64/gitlab-runner.service 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.service)
===================================================================
--- community-x86_64/gitlab-runner.service (rev 0)
+++ community-x86_64/gitlab-runner.service 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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-23 16:32:49 UTC (rev 193083)
+++ community-x86_64/gitlab-runner.sysusers 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.sysusers)
===================================================================
--- community-x86_64/gitlab-runner.sysusers (rev 0)
+++ community-x86_64/gitlab-runner.sysusers 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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-23 16:32:49 UTC (rev 193083)
+++ community-x86_64/gitlab-runner.tmpfiles 2016-10-23 16:33:09 UTC (rev 193084)
@@ -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 193083, gitlab-ci-multi-runner/trunk/gitlab-runner.tmpfiles)
===================================================================
--- community-x86_64/gitlab-runner.tmpfiles (rev 0)
+++ community-x86_64/gitlab-runner.tmpfiles 2016-10-23 16:33:09 UTC (rev 193084)
@@ -0,0 +1 @@
+d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
More information about the arch-commits
mailing list