[arch-commits] Commit in gitlab-runner/repos/community-x86_64 (12 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Mar 21 07:00:03 UTC 2020
Date: Saturday, March 21, 2020 @ 07:00:02
Author: svenstaro
Revision: 602331
archrelease: copy trunk to community-x86_64
Added:
gitlab-runner/repos/community-x86_64/PKGBUILD
(from rev 602329, gitlab-runner/trunk/PKGBUILD)
gitlab-runner/repos/community-x86_64/config.toml
(from rev 602329, gitlab-runner/trunk/config.toml)
gitlab-runner/repos/community-x86_64/gitlab-runner.install
(from rev 602329, gitlab-runner/trunk/gitlab-runner.install)
gitlab-runner/repos/community-x86_64/gitlab-runner.service
(from rev 602329, gitlab-runner/trunk/gitlab-runner.service)
gitlab-runner/repos/community-x86_64/gitlab-runner.sysusers
(from rev 602329, gitlab-runner/trunk/gitlab-runner.sysusers)
gitlab-runner/repos/community-x86_64/gitlab-runner.tmpfiles
(from rev 602329, gitlab-runner/trunk/gitlab-runner.tmpfiles)
Deleted:
gitlab-runner/repos/community-x86_64/PKGBUILD
gitlab-runner/repos/community-x86_64/config.toml
gitlab-runner/repos/community-x86_64/gitlab-runner.install
gitlab-runner/repos/community-x86_64/gitlab-runner.service
gitlab-runner/repos/community-x86_64/gitlab-runner.sysusers
gitlab-runner/repos/community-x86_64/gitlab-runner.tmpfiles
------------------------+
PKGBUILD | 134 +++++++++++++++++++++++------------------------
config.toml | 2
gitlab-runner.install | 12 ++--
gitlab-runner.service | 34 +++++------
gitlab-runner.sysusers | 2
gitlab-runner.tmpfiles | 2
6 files changed, 93 insertions(+), 93 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-21 07:00:01 UTC (rev 602330)
+++ PKGBUILD 2020-03-21 07:00:02 UTC (rev 602331)
@@ -1,67 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
-
-pkgname=gitlab-runner
-pkgver=12.8.0
-pkgrel=2
-pkgdesc="The official GitLab CI runner written in Go"
-arch=('x86_64')
-url='https://gitlab.com/gitlab-org/gitlab-runner'
-license=('GPL3')
-depends=('ca-certificates' 'curl' 'git' 'glibc' 'tar')
-makedepends=('git' 'go-pie' 'git' 'mercurial' 'gox')
-install='gitlab-runner.install'
-replaces=('gitlab-ci-multi-runner')
-backup=('etc/gitlab-runner/config.toml')
-noextract=("prebuilt-${pkgver}-x86_64.tar.xz"
- "prebuilt-${pkgver}-arm.tar.xz")
-
-source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-runner/repository/archive?sha=v${pkgver}"
- "prebuilt-${pkgver}-x86_64.tar.xz::https://gitlab-runner-downloads.s3.amazonaws.com/v${pkgver}/helper-images/prebuilt-x86_64.tar.xz"
- "prebuilt-${pkgver}-arm.tar.xz::https://gitlab-runner-downloads.s3.amazonaws.com/v${pkgver}/helper-images/prebuilt-arm.tar.xz"
- "gitlab-runner.service"
- "gitlab-runner.sysusers"
- "gitlab-runner.tmpfiles"
- "config.toml")
-sha512sums=('cfd90945c3ea915fdafeb392acd257016e5e3a0dc3d9cd907487ef04c0e74486d01d25e378628ee5370b14e5c3fad2305c13047a85f3f77a2fcd9ed2a05bbf50'
- 'f9677ffa4670d65c4434eb0189582379f9c5d14e0c5d430bab5b502a5ce57d9fe51448104d37491dcc96dc5c7ac8a8517e842beb90ba4ea89b600fe94d2bc587'
- '9475bce80cb9900719e38d78f6d98a5ed0594cdee4fe933beaf9d4824ac34760ac7872b8c6261c54bb08aae302db003f9f8017e663f1e8dd49da0a6731913f92'
- '8a5a8b7654d3864722e784b2814c6278c17876f1c0c4fc0676fbcf6817ad2ba4be55501e67ce88c62b5b63ca886b01afc6feac98ba49842acd244abdd1a8296f'
- '8aa7f08702e99053c696fcc2aaba83beb9e9cd6f31973d82862db9350ac46df3a095377625d31fe909677525290d2de922d7a97930ed235774cb8f0da8944d40'
- '6751d9fa0b27172d1b419c4138f5ac15cbc7c9147653a7258cf1470216142c637210bb60608c7ed0974e0e4057e5ddeae32225df1bb36e7dd1f20fec71e33cc3'
- 'f39c23fc06636f31c3fadb9a630c54527e8255098f18d275772cb30875d0a7463717101704070d432f2b69ab71f076a9538172a439bc307722dad2c7e260f752')
-
-_srcdir="gitlab-runner-v${pkgver}-"
-
-prepare() {
- local revision=$(ls -d ${_srcdir}* | rev | cut -c 33-40 | rev)
-
- mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
- ln -sf "${srcdir}/${_srcdir}"* "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner"
- cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner"
-
- local version=$(cat VERSION)
-
- sed -i "s/export VERSION.*/export VERSION = $version/" Makefile
- sed -i "s/REVISION := .*/REVISION := $revision/" Makefile
-
- make version
-
- ln -sf "${srcdir}/prebuilt-${pkgver}-x86_64.tar.xz" prebuilt-x86_64.tar.xz
- ln -sf "${srcdir}/prebuilt-${pkgver}-arm.tar.xz" prebuilt-arm.tar.xz
-}
-
-build() {
- cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner"
- make BUILD_PLATFORMS='-osarch linux/amd64' build
-}
-
-package() {
- cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner"
-
- 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 out/binaries/gitlab-runner-linux-amd64 "${pkgdir}/usr/bin/gitlab-runner"
-}
Copied: gitlab-runner/repos/community-x86_64/PKGBUILD (from rev 602329, gitlab-runner/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-21 07:00:02 UTC (rev 602331)
@@ -0,0 +1,67 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+pkgname=gitlab-runner
+pkgver=12.9.0
+pkgrel=1
+pkgdesc="The official GitLab CI runner written in Go"
+arch=('x86_64')
+url='https://gitlab.com/gitlab-org/gitlab-runner'
+license=('GPL3')
+depends=('ca-certificates' 'curl' 'git' 'glibc' 'tar')
+makedepends=('git' 'go-pie' 'git' 'mercurial' 'gox')
+install=gitlab-runner.install
+replaces=('gitlab-ci-multi-runner')
+backup=('etc/gitlab-runner/config.toml')
+noextract=("prebuilt-${pkgver}-x86_64.tar.xz"
+ "prebuilt-${pkgver}-arm.tar.xz")
+
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-runner/repository/archive?sha=v${pkgver}"
+ "prebuilt-${pkgver}-x86_64.tar.xz::https://gitlab-runner-downloads.s3.amazonaws.com/v${pkgver}/helper-images/prebuilt-x86_64.tar.xz"
+ "prebuilt-${pkgver}-arm.tar.xz::https://gitlab-runner-downloads.s3.amazonaws.com/v${pkgver}/helper-images/prebuilt-arm.tar.xz"
+ "gitlab-runner.service"
+ "gitlab-runner.sysusers"
+ "gitlab-runner.tmpfiles"
+ "config.toml")
+sha512sums=('6c3df5c7b877a131c271aafaa87b5a0ef57a70e4bf57a0706979f91ef8d675a8da8ca05090a66981a9d4525959172837e76a3005d7d7b3853c9ef844f7064102'
+ '4a849878c38e405f69429b0bd16dd67116834378c16806539e208f9636b23de6a6c80b26c8c7f8e1a8fb8a67ae36f1e41d8b3d2b8724d3ace62b938b7f3dd11d'
+ 'cbc9f5c8787c2c66d0d4856c96506cd36318da6187633062bf004c5f4bd00814691c77868e3432ae31c434db2be50a34fbc095ad9c41afe422c5ecec4f543e4a'
+ '8a5a8b7654d3864722e784b2814c6278c17876f1c0c4fc0676fbcf6817ad2ba4be55501e67ce88c62b5b63ca886b01afc6feac98ba49842acd244abdd1a8296f'
+ '8aa7f08702e99053c696fcc2aaba83beb9e9cd6f31973d82862db9350ac46df3a095377625d31fe909677525290d2de922d7a97930ed235774cb8f0da8944d40'
+ '6751d9fa0b27172d1b419c4138f5ac15cbc7c9147653a7258cf1470216142c637210bb60608c7ed0974e0e4057e5ddeae32225df1bb36e7dd1f20fec71e33cc3'
+ 'f39c23fc06636f31c3fadb9a630c54527e8255098f18d275772cb30875d0a7463717101704070d432f2b69ab71f076a9538172a439bc307722dad2c7e260f752')
+
+_srcdir="gitlab-runner-v${pkgver}-"
+
+prepare() {
+ local revision=$(ls -d ${_srcdir}* | rev | cut -c 33-40 | rev)
+
+ mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/"
+ ln -sf "${srcdir}/${_srcdir}"* "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner"
+ cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner"
+
+ local version=$(cat VERSION)
+
+ sed -i "s/export VERSION.*/export VERSION = $version/" Makefile
+ sed -i "s/REVISION := .*/REVISION := $revision/" Makefile
+
+ make version
+
+ ln -sf "${srcdir}/prebuilt-${pkgver}-x86_64.tar.xz" prebuilt-x86_64.tar.xz
+ ln -sf "${srcdir}/prebuilt-${pkgver}-arm.tar.xz" prebuilt-arm.tar.xz
+}
+
+build() {
+ cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner"
+ make BUILD_PLATFORMS='-osarch linux/amd64' build_all
+}
+
+package() {
+ cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner"
+
+ 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 out/binaries/gitlab-runner-linux-amd64 "${pkgdir}/usr/bin/gitlab-runner"
+}
Deleted: config.toml
===================================================================
--- config.toml 2020-03-21 07:00:01 UTC (rev 602330)
+++ config.toml 2020-03-21 07:00:02 UTC (rev 602331)
@@ -1 +0,0 @@
-concurrent = 4
Copied: gitlab-runner/repos/community-x86_64/config.toml (from rev 602329, gitlab-runner/trunk/config.toml)
===================================================================
--- config.toml (rev 0)
+++ config.toml 2020-03-21 07:00:02 UTC (rev 602331)
@@ -0,0 +1 @@
+concurrent = 4
Deleted: gitlab-runner.install
===================================================================
--- gitlab-runner.install 2020-03-21 07:00:01 UTC (rev 602330)
+++ gitlab-runner.install 2020-03-21 07:00:02 UTC (rev 602331)
@@ -1,6 +0,0 @@
-post_install() {
- 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-runner/repos/community-x86_64/gitlab-runner.install (from rev 602329, gitlab-runner/trunk/gitlab-runner.install)
===================================================================
--- gitlab-runner.install (rev 0)
+++ gitlab-runner.install 2020-03-21 07:00:02 UTC (rev 602331)
@@ -0,0 +1,6 @@
+post_install() {
+ 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: gitlab-runner.service
===================================================================
--- gitlab-runner.service 2020-03-21 07:00:01 UTC (rev 602330)
+++ gitlab-runner.service 2020-03-21 07:00:02 UTC (rev 602331)
@@ -1,17 +0,0 @@
-[Unit]
-Description=GitLab Runner
-After=syslog.target network.target
-ConditionFileIsExecutable=/usr/bin/gitlab-runner
-
-[Service]
-StartLimitInterval=5
-StartLimitBurst=10
-ExecStart=/usr/bin/gitlab-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-runner/repos/community-x86_64/gitlab-runner.service (from rev 602329, gitlab-runner/trunk/gitlab-runner.service)
===================================================================
--- gitlab-runner.service (rev 0)
+++ gitlab-runner.service 2020-03-21 07:00:02 UTC (rev 602331)
@@ -0,0 +1,17 @@
+[Unit]
+Description=GitLab Runner
+After=syslog.target network.target
+ConditionFileIsExecutable=/usr/bin/gitlab-runner
+
+[Service]
+StartLimitInterval=5
+StartLimitBurst=10
+ExecStart=/usr/bin/gitlab-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: gitlab-runner.sysusers
===================================================================
--- gitlab-runner.sysusers 2020-03-21 07:00:01 UTC (rev 602330)
+++ gitlab-runner.sysusers 2020-03-21 07:00:02 UTC (rev 602331)
@@ -1 +0,0 @@
-u gitlab-runner 107 "GitLab Runner" /var/lib/gitlab-runner
Copied: gitlab-runner/repos/community-x86_64/gitlab-runner.sysusers (from rev 602329, gitlab-runner/trunk/gitlab-runner.sysusers)
===================================================================
--- gitlab-runner.sysusers (rev 0)
+++ gitlab-runner.sysusers 2020-03-21 07:00:02 UTC (rev 602331)
@@ -0,0 +1 @@
+u gitlab-runner 107 "GitLab Runner" /var/lib/gitlab-runner
Deleted: gitlab-runner.tmpfiles
===================================================================
--- gitlab-runner.tmpfiles 2020-03-21 07:00:01 UTC (rev 602330)
+++ gitlab-runner.tmpfiles 2020-03-21 07:00:02 UTC (rev 602331)
@@ -1 +0,0 @@
-d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
Copied: gitlab-runner/repos/community-x86_64/gitlab-runner.tmpfiles (from rev 602329, gitlab-runner/trunk/gitlab-runner.tmpfiles)
===================================================================
--- gitlab-runner.tmpfiles (rev 0)
+++ gitlab-runner.tmpfiles 2020-03-21 07:00:02 UTC (rev 602331)
@@ -0,0 +1 @@
+d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
More information about the arch-commits
mailing list