[arch-commits] Commit in gitlab-runner/repos/community-x86_64 (12 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Jun 6 22:19:27 UTC 2021
Date: Sunday, June 6, 2021 @ 22:19:27
Author: svenstaro
Revision: 956404
archrelease: copy trunk to community-x86_64
Added:
gitlab-runner/repos/community-x86_64/PKGBUILD
(from rev 956403, gitlab-runner/trunk/PKGBUILD)
gitlab-runner/repos/community-x86_64/config.toml
(from rev 956403, gitlab-runner/trunk/config.toml)
gitlab-runner/repos/community-x86_64/gitlab-runner.install
(from rev 956403, gitlab-runner/trunk/gitlab-runner.install)
gitlab-runner/repos/community-x86_64/gitlab-runner.service
(from rev 956403, gitlab-runner/trunk/gitlab-runner.service)
gitlab-runner/repos/community-x86_64/gitlab-runner.sysusers
(from rev 956403, gitlab-runner/trunk/gitlab-runner.sysusers)
gitlab-runner/repos/community-x86_64/gitlab-runner.tmpfiles
(from rev 956403, 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 | 136 +++++++++++++++++++++++------------------------
config.toml | 2
gitlab-runner.install | 12 ++--
gitlab-runner.service | 30 +++++-----
gitlab-runner.sysusers | 2
gitlab-runner.tmpfiles | 2
6 files changed, 92 insertions(+), 92 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-06 22:19:19 UTC (rev 956403)
+++ PKGBUILD 2021-06-06 22:19:27 UTC (rev 956404)
@@ -1,68 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
-
-pkgname=gitlab-runner
-pkgver=13.11.0
-_commit=7f7a4bb0
-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' '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=("git+https://gitlab.com/gitlab-org/gitlab-runner.git#tag=${_commit}"
- "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=('SKIP'
- '0d3076e3509cbc67e2855df4ce8f23c3dae6d5e2d367119f4692e69cf798a17ada7138483cff7bcc084cc4e41e02835e9e249ad3a57e6aba215f8d6727249df1'
- 'ca095ed94bd5740d54a19aac35db8b98558497216261b1e8b1fca3bed2a34df9583d4cc62727536bb01f4f0e1bbe1aeb24ba77d51ca2284b8fd89d19b510e603'
- 'c0af374b9986895aedcfaee6c67cfad68f0f7289f87e4611358adaff59a2f349f55764fe28b2b1f61f8bfeb61126d4f90d433c626fdf9b826a2de6217f86574f'
- '8aa7f08702e99053c696fcc2aaba83beb9e9cd6f31973d82862db9350ac46df3a095377625d31fe909677525290d2de922d7a97930ed235774cb8f0da8944d40'
- '6751d9fa0b27172d1b419c4138f5ac15cbc7c9147653a7258cf1470216142c637210bb60608c7ed0974e0e4057e5ddeae32225df1bb36e7dd1f20fec71e33cc3'
- '9718b94bd0ddb09095ffb8c1e60ca1e9649dabb1747e7fc95e58e404b2f9effdeb4cfd759f5b904443dc53a4e18c02003c38f85584713deb49f6a6d1007503de')
-
-prepare() {
- cd gitlab-runner
-
- local version=$(make version | grep "Current version:" | sed -n "s/.*: \(.*\)/\1/p")
- local revision=$(make version | grep "Current revision:" | sed -n "s/.*: \(.*\)/\1/p")
- local branch=$(make version | grep "Current branch:" | sed -n "s/.*: \(.*\)/\1/p")
-
- sed -i "s/var VERSION.*/var VERSION = \"$version\"/" common/version.go
- sed -i "s/var REVISION.*/var REVISION = \"$revision\"/" common/version.go
- sed -i "s/var BRANCH.*/var BRANCH = \"$branch\"/" common/version.go
-
- 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() {
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
-
- cd gitlab-runner
- go build -o gitlab-runner .
-}
-
-package() {
- cd 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 gitlab-runner "${pkgdir}/usr/bin/gitlab-runner"
-}
Copied: gitlab-runner/repos/community-x86_64/PKGBUILD (from rev 956403, gitlab-runner/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-06 22:19:27 UTC (rev 956404)
@@ -0,0 +1,68 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+pkgname=gitlab-runner
+pkgver=13.12.0
+_commit=7a6612da
+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' '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=("git+https://gitlab.com/gitlab-org/gitlab-runner.git#tag=${_commit}"
+ "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=('SKIP'
+ '93633f817618aae0fec23e4a8eae06864094a3d4368b87641836ab62a7edd58c310215d490e1e7b71c1eaaee821f6cf16bca5e6a73ae7b1ea1886b703c2afab1'
+ 'ef87982c29dd31878ce474b935ac099a9256248d7981a43ccf4e2bd81f89a92bf5f786af13fc23e425e25aa8acc7be1592b9622d5bb2d3761db29ad97323c016'
+ 'c0af374b9986895aedcfaee6c67cfad68f0f7289f87e4611358adaff59a2f349f55764fe28b2b1f61f8bfeb61126d4f90d433c626fdf9b826a2de6217f86574f'
+ '8aa7f08702e99053c696fcc2aaba83beb9e9cd6f31973d82862db9350ac46df3a095377625d31fe909677525290d2de922d7a97930ed235774cb8f0da8944d40'
+ '6751d9fa0b27172d1b419c4138f5ac15cbc7c9147653a7258cf1470216142c637210bb60608c7ed0974e0e4057e5ddeae32225df1bb36e7dd1f20fec71e33cc3'
+ '9718b94bd0ddb09095ffb8c1e60ca1e9649dabb1747e7fc95e58e404b2f9effdeb4cfd759f5b904443dc53a4e18c02003c38f85584713deb49f6a6d1007503de')
+
+prepare() {
+ cd gitlab-runner
+
+ local version=$(make version | grep "Current version:" | sed -n "s/.*: \(.*\)/\1/p")
+ local revision=$(make version | grep "Current revision:" | sed -n "s/.*: \(.*\)/\1/p")
+ local branch=$(make version | grep "Current branch:" | sed -n "s/.*: \(.*\)/\1/p")
+
+ sed -i "s/var VERSION.*/var VERSION = \"$version\"/" common/version.go
+ sed -i "s/var REVISION.*/var REVISION = \"$revision\"/" common/version.go
+ sed -i "s/var BRANCH.*/var BRANCH = \"$branch\"/" common/version.go
+
+ 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() {
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
+
+ cd gitlab-runner
+ go build -o gitlab-runner .
+}
+
+package() {
+ cd 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 gitlab-runner "${pkgdir}/usr/bin/gitlab-runner"
+}
Deleted: config.toml
===================================================================
--- config.toml 2021-06-06 22:19:19 UTC (rev 956403)
+++ config.toml 2021-06-06 22:19:27 UTC (rev 956404)
@@ -1 +0,0 @@
-concurrent = 1
Copied: gitlab-runner/repos/community-x86_64/config.toml (from rev 956403, gitlab-runner/trunk/config.toml)
===================================================================
--- config.toml (rev 0)
+++ config.toml 2021-06-06 22:19:27 UTC (rev 956404)
@@ -0,0 +1 @@
+concurrent = 1
Deleted: gitlab-runner.install
===================================================================
--- gitlab-runner.install 2021-06-06 22:19:19 UTC (rev 956403)
+++ gitlab-runner.install 2021-06-06 22:19:27 UTC (rev 956404)
@@ -1,6 +0,0 @@
-post_install() {
- echo "Register the runner as root using"
- echo "# gitlab-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 956403, gitlab-runner/trunk/gitlab-runner.install)
===================================================================
--- gitlab-runner.install (rev 0)
+++ gitlab-runner.install 2021-06-06 22:19:27 UTC (rev 956404)
@@ -0,0 +1,6 @@
+post_install() {
+ echo "Register the runner as root using"
+ echo "# gitlab-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 2021-06-06 22:19:19 UTC (rev 956403)
+++ gitlab-runner.service 2021-06-06 22:19:27 UTC (rev 956404)
@@ -1,15 +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
-SyslogIdentifier=gitlab-runner
-
-[Install]
-WantedBy=multi-user.target
Copied: gitlab-runner/repos/community-x86_64/gitlab-runner.service (from rev 956403, gitlab-runner/trunk/gitlab-runner.service)
===================================================================
--- gitlab-runner.service (rev 0)
+++ gitlab-runner.service 2021-06-06 22:19:27 UTC (rev 956404)
@@ -0,0 +1,15 @@
+[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
+SyslogIdentifier=gitlab-runner
+
+[Install]
+WantedBy=multi-user.target
Deleted: gitlab-runner.sysusers
===================================================================
--- gitlab-runner.sysusers 2021-06-06 22:19:19 UTC (rev 956403)
+++ gitlab-runner.sysusers 2021-06-06 22:19:27 UTC (rev 956404)
@@ -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 956403, gitlab-runner/trunk/gitlab-runner.sysusers)
===================================================================
--- gitlab-runner.sysusers (rev 0)
+++ gitlab-runner.sysusers 2021-06-06 22:19:27 UTC (rev 956404)
@@ -0,0 +1 @@
+u gitlab-runner 107 "GitLab Runner" /var/lib/gitlab-runner
Deleted: gitlab-runner.tmpfiles
===================================================================
--- gitlab-runner.tmpfiles 2021-06-06 22:19:19 UTC (rev 956403)
+++ gitlab-runner.tmpfiles 2021-06-06 22:19:27 UTC (rev 956404)
@@ -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 956403, gitlab-runner/trunk/gitlab-runner.tmpfiles)
===================================================================
--- gitlab-runner.tmpfiles (rev 0)
+++ gitlab-runner.tmpfiles 2021-06-06 22:19:27 UTC (rev 956404)
@@ -0,0 +1 @@
+d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -
More information about the arch-commits
mailing list