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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon May 2 16:43:15 UTC 2016


    Date: Monday, May 2, 2016 @ 18:43:15
  Author: svenstaro
Revision: 173426

archrelease: copy trunk to community-i686, community-x86_64

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

-------------------------------------------+
 community-i686/PKGBUILD                   |   33 ++++++++++++++++++++++++++++
 community-i686/gitlab-workhorse.service   |   20 ++++++++++++++++
 community-x86_64/PKGBUILD                 |   33 ++++++++++++++++++++++++++++
 community-x86_64/gitlab-workhorse.service |   20 ++++++++++++++++
 4 files changed, 106 insertions(+)

Copied: gitlab-workhorse/repos/community-i686/PKGBUILD (from rev 173425, gitlab-workhorse/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-05-02 16:43:15 UTC (rev 173426)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu>
+
+pkgname=gitlab-workhorse
+pkgver=0.7.2
+pkgrel=1
+pkgdesc="HTTP server to unload Git HTTP traffic from GitLab Rails app (Unicorn)"
+arch=('i686' 'x86_64')
+url="https://gitlab.com/gitlab-org/gitlab-workhorse"
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-workhorse/repository/archive.tar.gz?ref=${pkgver}"
+        "gitlab-workhorse.service")
+sha256sums=('d0572a901568ba5cf74776dc5cbd0ee140fdacd62c7140c9f5f7cba0dcc456e2'
+            '95fd491795ed837012e71d6c8bececb82b6790a94b96615d4ffb0b018b5b7ea4')
+
+build() {
+  cd "${pkgname}-${pkgver}-"*
+
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}-"*
+
+  install -Dm755 "gitlab-workhorse" "${pkgdir}/usr/bin/gitlab-workhorse"
+  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-i686/gitlab-workhorse.service (from rev 173425, gitlab-workhorse/trunk/gitlab-workhorse.service)
===================================================================
--- community-i686/gitlab-workhorse.service	                        (rev 0)
+++ community-i686/gitlab-workhorse.service	2016-05-02 16:43:15 UTC (rev 173426)
@@ -0,0 +1,20 @@
+[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=/usr/bin/gitlab-workhorse -authBackend http://127.0.0.1:8080 /var/lib/gitlab/repositories
+ExecStop=/usr/bin/kill -QUIT $MAINPID
+ExecReload=/usr/bin/kill -USR2 $MAINPID
+
+[Install]
+WantedBy=multi-user.target

Copied: gitlab-workhorse/repos/community-x86_64/PKGBUILD (from rev 173425, gitlab-workhorse/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-05-02 16:43:15 UTC (rev 173426)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Pavol (Lopo) Hluchy <lopo AT losys DOT eu>
+
+pkgname=gitlab-workhorse
+pkgver=0.7.2
+pkgrel=1
+pkgdesc="HTTP server to unload Git HTTP traffic from GitLab Rails app (Unicorn)"
+arch=('i686' 'x86_64')
+url="https://gitlab.com/gitlab-org/gitlab-workhorse"
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-workhorse/repository/archive.tar.gz?ref=${pkgver}"
+        "gitlab-workhorse.service")
+sha256sums=('d0572a901568ba5cf74776dc5cbd0ee140fdacd62c7140c9f5f7cba0dcc456e2'
+            '95fd491795ed837012e71d6c8bececb82b6790a94b96615d4ffb0b018b5b7ea4')
+
+build() {
+  cd "${pkgname}-${pkgver}-"*
+
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}-"*
+
+  install -Dm755 "gitlab-workhorse" "${pkgdir}/usr/bin/gitlab-workhorse"
+  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-x86_64/gitlab-workhorse.service (from rev 173425, gitlab-workhorse/trunk/gitlab-workhorse.service)
===================================================================
--- community-x86_64/gitlab-workhorse.service	                        (rev 0)
+++ community-x86_64/gitlab-workhorse.service	2016-05-02 16:43:15 UTC (rev 173426)
@@ -0,0 +1,20 @@
+[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=/usr/bin/gitlab-workhorse -authBackend http://127.0.0.1:8080 /var/lib/gitlab/repositories
+ExecStop=/usr/bin/kill -QUIT $MAINPID
+ExecReload=/usr/bin/kill -USR2 $MAINPID
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list