Date: Monday, April 23, 2018 @ 18:07:43 Author: svenstaro Revision: 317416
archrelease: copy trunk to community-x86_64 Added: gitlab-runner/repos/community-x86_64/PKGBUILD (from rev 317415, gitlab-runner/trunk/PKGBUILD) gitlab-runner/repos/community-x86_64/config.toml (from rev 317415, gitlab-runner/trunk/config.toml) gitlab-runner/repos/community-x86_64/gitlab-runner.install (from rev 317415, gitlab-runner/trunk/gitlab-runner.install) gitlab-runner/repos/community-x86_64/gitlab-runner.service (from rev 317415, gitlab-runner/trunk/gitlab-runner.service) gitlab-runner/repos/community-x86_64/gitlab-runner.sysusers (from rev 317415, gitlab-runner/trunk/gitlab-runner.sysusers) gitlab-runner/repos/community-x86_64/gitlab-runner.tmpfiles (from rev 317415, 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 | 120 +++++++++++++++++++++++------------------------ config.toml | 2 gitlab-runner.install | 12 ++-- gitlab-runner.service | 34 ++++++------- gitlab-runner.sysusers | 2 gitlab-runner.tmpfiles | 2 6 files changed, 86 insertions(+), 86 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-23 18:07:30 UTC (rev 317415) +++ PKGBUILD 2018-04-23 18:07:43 UTC (rev 317416) @@ -1,60 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com> - -pkgname=gitlab-runner -pkgver=10.6.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') -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") - -# 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-runner.git#tag=v${pkgver}" - "prebuilt-${pkgver}-x86_64.tar.xz::https://gitlab-runner-downloads.s3.amazonaws.com/v${pkgver}/docker/prebuilt-x86_64.tar.xz" - "prebuilt-${pkgver}-arm.tar.xz::https://gitlab-runner-downloads.s3.amazonaws.com/v${pkgver}/docker/prebuilt-arm.tar.xz" - "gitlab-runner.service" - "gitlab-runner.sysusers" - "gitlab-runner.tmpfiles" - "config.toml") -sha512sums=('SKIP' - '2ee7ac4264da68aae6f4e241bd5f525c8e92a8040ce8541389d0481a09251ac75317a94d9ab55713b6126e9be5716ae17278a7d65e891914ce189423ad37e475' - '23e08a559da9714ee7d26b4930540527092f4e94a95c461f35146c9bd27b6e231d53f046b5ea9997e1734923039ac4127c97e51d77f63bce3e6e07d90627a502' - '8a5a8b7654d3864722e784b2814c6278c17876f1c0c4fc0676fbcf6817ad2ba4be55501e67ce88c62b5b63ca886b01afc6feac98ba49842acd244abdd1a8296f' - '8aa7f08702e99053c696fcc2aaba83beb9e9cd6f31973d82862db9350ac46df3a095377625d31fe909677525290d2de922d7a97930ed235774cb8f0da8944d40' - '6751d9fa0b27172d1b419c4138f5ac15cbc7c9147653a7258cf1470216142c637210bb60608c7ed0974e0e4057e5ddeae32225df1bb36e7dd1f20fec71e33cc3' - 'f39c23fc06636f31c3fadb9a630c54527e8255098f18d275772cb30875d0a7463717101704070d432f2b69ab71f076a9538172a439bc307722dad2c7e260f752') - -prepare() { - mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/" - ln -sf "${srcdir}/gitlab-runner" "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner" - cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner" - - 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 317415, gitlab-runner/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-23 18:07:43 UTC (rev 317416) @@ -0,0 +1,60 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com> + +pkgname=gitlab-runner +pkgver=10.7.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') +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") + +# 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-runner.git#tag=v${pkgver}" + "prebuilt-${pkgver}-x86_64.tar.xz::https://gitlab-runner-downloads.s3.amazonaws.com/v${pkgver}/docker/prebuilt-x86_64.tar.xz" + "prebuilt-${pkgver}-arm.tar.xz::https://gitlab-runner-downloads.s3.amazonaws.com/v${pkgver}/docker/prebuilt-arm.tar.xz" + "gitlab-runner.service" + "gitlab-runner.sysusers" + "gitlab-runner.tmpfiles" + "config.toml") +sha512sums=('SKIP' + '5f10efe0bfd610bc62fd339940158b75b1b62bfc8b6f084324d13891bc68fec8f4707804db13ce5a42928cd590cff6ad606842eb05ca499bacb7a9a6417df210' + '1340bfc4b0b93c33decd4132ac372052f1f6b97072de153a105297cd3bd59087ac4815182b49b252b57fe2fc332dab90e6b8114c51d7cf955988388562f7f4af' + '8a5a8b7654d3864722e784b2814c6278c17876f1c0c4fc0676fbcf6817ad2ba4be55501e67ce88c62b5b63ca886b01afc6feac98ba49842acd244abdd1a8296f' + '8aa7f08702e99053c696fcc2aaba83beb9e9cd6f31973d82862db9350ac46df3a095377625d31fe909677525290d2de922d7a97930ed235774cb8f0da8944d40' + '6751d9fa0b27172d1b419c4138f5ac15cbc7c9147653a7258cf1470216142c637210bb60608c7ed0974e0e4057e5ddeae32225df1bb36e7dd1f20fec71e33cc3' + 'f39c23fc06636f31c3fadb9a630c54527e8255098f18d275772cb30875d0a7463717101704070d432f2b69ab71f076a9538172a439bc307722dad2c7e260f752') + +prepare() { + mkdir -p "${srcdir}/src/gitlab.com/gitlab-org/" + ln -sf "${srcdir}/gitlab-runner" "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner" + cd "${srcdir}/src/gitlab.com/gitlab-org/gitlab-runner" + + 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" +} Deleted: config.toml =================================================================== --- config.toml 2018-04-23 18:07:30 UTC (rev 317415) +++ config.toml 2018-04-23 18:07:43 UTC (rev 317416) @@ -1 +0,0 @@ -concurrent = 4 Copied: gitlab-runner/repos/community-x86_64/config.toml (from rev 317415, gitlab-runner/trunk/config.toml) =================================================================== --- config.toml (rev 0) +++ config.toml 2018-04-23 18:07:43 UTC (rev 317416) @@ -0,0 +1 @@ +concurrent = 4 Deleted: gitlab-runner.install =================================================================== --- gitlab-runner.install 2018-04-23 18:07:30 UTC (rev 317415) +++ gitlab-runner.install 2018-04-23 18:07:43 UTC (rev 317416) @@ -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 317415, gitlab-runner/trunk/gitlab-runner.install) =================================================================== --- gitlab-runner.install (rev 0) +++ gitlab-runner.install 2018-04-23 18:07:43 UTC (rev 317416) @@ -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 2018-04-23 18:07:30 UTC (rev 317415) +++ gitlab-runner.service 2018-04-23 18:07:43 UTC (rev 317416) @@ -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 317415, gitlab-runner/trunk/gitlab-runner.service) =================================================================== --- gitlab-runner.service (rev 0) +++ gitlab-runner.service 2018-04-23 18:07:43 UTC (rev 317416) @@ -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 2018-04-23 18:07:30 UTC (rev 317415) +++ gitlab-runner.sysusers 2018-04-23 18:07:43 UTC (rev 317416) @@ -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 317415, gitlab-runner/trunk/gitlab-runner.sysusers) =================================================================== --- gitlab-runner.sysusers (rev 0) +++ gitlab-runner.sysusers 2018-04-23 18:07:43 UTC (rev 317416) @@ -0,0 +1 @@ +u gitlab-runner 107 "GitLab Runner" /var/lib/gitlab-runner Deleted: gitlab-runner.tmpfiles =================================================================== --- gitlab-runner.tmpfiles 2018-04-23 18:07:30 UTC (rev 317415) +++ gitlab-runner.tmpfiles 2018-04-23 18:07:43 UTC (rev 317416) @@ -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 317415, gitlab-runner/trunk/gitlab-runner.tmpfiles) =================================================================== --- gitlab-runner.tmpfiles (rev 0) +++ gitlab-runner.tmpfiles 2018-04-23 18:07:43 UTC (rev 317416) @@ -0,0 +1 @@ +d /var/lib/gitlab-runner 0700 gitlab-runner gitlab-runner -