[arch-commits] Commit in gitlab-workhorse/repos (3 files)

Anatol Pomozov anatolik at archlinux.org
Fri Dec 27 20:12:11 UTC 2019


    Date: Friday, December 27, 2019 @ 20:12:10
  Author: anatolik
Revision: 543282

archrelease: copy trunk to community-testing-x86_64

Added:
  gitlab-workhorse/repos/community-testing-x86_64/
  gitlab-workhorse/repos/community-testing-x86_64/PKGBUILD
    (from rev 543281, gitlab-workhorse/trunk/PKGBUILD)
  gitlab-workhorse/repos/community-testing-x86_64/gitlab-workhorse.service
    (from rev 543281, gitlab-workhorse/trunk/gitlab-workhorse.service)

--------------------------+
 PKGBUILD                 |   35 +++++++++++++++++++++++++++++++++++
 gitlab-workhorse.service |   22 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)

Copied: gitlab-workhorse/repos/community-testing-x86_64/PKGBUILD (from rev 543281, gitlab-workhorse/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-12-27 20:12:10 UTC (rev 543282)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu>
+
+pkgname=gitlab-workhorse
+pkgver=8.18.0
+pkgrel=1
+pkgdesc="HTTP server to unload Git HTTP traffic from GitLab Rails app (Unicorn)"
+arch=('x86_64')
+url="https://gitlab.com/gitlab-org/gitlab-workhorse"
+license=('MIT')
+depends=('glibc' 'perl-image-exiftool')
+makedepends=('go-pie')
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-workhorse/repository/archive?sha=v${pkgver}"
+        "gitlab-workhorse.service")
+sha512sums=('2b70f5053711a279ef63c69e117d3038c553dc07aab0964c12e5bfd3a2e57de6e4ae18f00cbbd92899b3e45f53eeccc9c1c1ee7461da876e26d5b7b8a89da8ee'
+            'f45ea8f0dedaefc547fdf855d36cdc56e75e90c45ad6c7c848ff225995e57258cb727df0c3065300d1300f86d48f5d4912f854ddf4e38feda460c785634a61de')
+
+build() {
+  cd "${pkgname}-v${pkgver}-"*
+
+  make
+}
+
+package() {
+  cd "${pkgname}-v${pkgver}-"*
+
+  install -Dm755 "gitlab-workhorse" "${pkgdir}/usr/bin/gitlab-workhorse"
+  install -Dm755 "gitlab-zip-cat" "${pkgdir}/usr/bin/gitlab-zip-cat"
+  install -Dm755 "gitlab-zip-metadata" "${pkgdir}/usr/bin/gitlab-zip-metadata"
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm0644 "${srcdir}/gitlab-workhorse.service" "${pkgdir}/usr/lib/systemd/system/gitlab-workhorse.service"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gitlab-workhorse/repos/community-testing-x86_64/gitlab-workhorse.service (from rev 543281, gitlab-workhorse/trunk/gitlab-workhorse.service)
===================================================================
--- community-testing-x86_64/gitlab-workhorse.service	                        (rev 0)
+++ community-testing-x86_64/gitlab-workhorse.service	2019-12-27 20:12:10 UTC (rev 543282)
@@ -0,0 +1,22 @@
+[Unit]
+Description=Gitlab Workhorse
+Requires=gitlab-unicorn.service
+After=gitlab-unicorn.service
+
+[Service]
+User=gitlab
+Group=gitlab
+WorkingDirectory=/usr/share/webapps/gitlab
+SyslogIdentifier=gitlab-workhorse
+CapabilityBoundingSet=
+ProtectSystem=full
+ProtectHome=true
+NoNewPrivileges=true
+ExecStart=/bin/bash -c "source /etc/profile.d/perlbin.sh; exec /usr/bin/gitlab-workhorse -listenUmask 0 -listenNetwork unix -listenAddr /run/gitlab/gitlab-workhorse.socket -authBackend http://localhost:8080 -authSocket /var/lib/gitlab/sockets/gitlab.socket -documentRoot /usr/share/webapps/gitlab/public"
+ExecStop=/usr/bin/kill -QUIT $MAINPID
+ExecReload=/usr/bin/kill -USR2 $MAINPID
+Restart=on-failure
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list